Lines Matching refs:subsys_desc
1992 static int cnss_subsys_powerup(const struct subsys_desc *subsys_desc) in cnss_subsys_powerup() argument
1997 if (!subsys_desc->dev) { in cnss_subsys_powerup()
2002 plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_powerup()
2019 static int cnss_subsys_shutdown(const struct subsys_desc *subsys_desc, in cnss_subsys_shutdown() argument
2024 if (!subsys_desc->dev) { in cnss_subsys_shutdown()
2029 plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_shutdown()
2060 static void cnss_subsys_crash_shutdown(const struct subsys_desc *subsys_desc) in cnss_subsys_crash_shutdown() argument
2062 struct cnss_plat_data *plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_crash_shutdown()
2073 const struct subsys_desc *subsys_desc) in cnss_subsys_ramdump() argument
2075 struct cnss_plat_data *plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_ramdump()
2942 subsys_info->subsys_desc.name = plat_priv->device_name; in cnss_register_subsys()
2943 subsys_info->subsys_desc.owner = THIS_MODULE; in cnss_register_subsys()
2944 subsys_info->subsys_desc.powerup = cnss_subsys_powerup; in cnss_register_subsys()
2945 subsys_info->subsys_desc.shutdown = cnss_subsys_shutdown; in cnss_register_subsys()
2946 subsys_info->subsys_desc.ramdump = cnss_subsys_ramdump; in cnss_register_subsys()
2947 subsys_info->subsys_desc.crash_shutdown = cnss_subsys_crash_shutdown; in cnss_register_subsys()
2948 subsys_info->subsys_desc.dev = &plat_priv->plat_dev->dev; in cnss_register_subsys()
2950 subsys_info->subsys_device = subsys_register(&subsys_info->subsys_desc); in cnss_register_subsys()
2958 subsystem_get(subsys_info->subsys_desc.name); in cnss_register_subsys()
2990 return create_ramdump_device(subsys_info->subsys_desc.name, in cnss_create_ramdump_device()
2991 subsys_info->subsys_desc.dev); in cnss_create_ramdump_device()