/kernel/linux/linux-5.10/drivers/greybus/ |
D | svc_watchdog.c | 19 struct notifier_block pm_notifier; member 28 container_of(notifier, struct gb_svc_watchdog, pm_notifier); in svc_watchdog_pm_notifier() 124 watchdog->pm_notifier.notifier_call = svc_watchdog_pm_notifier; in gb_svc_watchdog_create() 125 retval = register_pm_notifier(&watchdog->pm_notifier); in gb_svc_watchdog_create() 135 unregister_pm_notifier(&watchdog->pm_notifier); in gb_svc_watchdog_create() 154 unregister_pm_notifier(&watchdog->pm_notifier); in gb_svc_watchdog_destroy()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-jack.c | 263 container_of(nb, struct snd_soc_jack_gpio, pm_notifier); in snd_soc_jack_pm_notifier() 287 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios() 390 gpios[i].pm_notifier.notifier_call = snd_soc_jack_pm_notifier; in snd_soc_jack_add_gpios() 391 register_pm_notifier(&gpios[i].pm_notifier); in snd_soc_jack_add_gpios()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | arche-platform.c | 67 struct notifier_block pm_notifier; member 397 pm_notifier); in arche_platform_pm_notifier() 525 arche_pdata->pm_notifier.notifier_call = arche_platform_pm_notifier; in arche_platform_probe() 526 ret = register_pm_notifier(&arche_pdata->pm_notifier); in arche_platform_probe() 568 unregister_pm_notifier(&arche_pdata->pm_notifier); in arche_platform_remove()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | device.c | 95 static struct notifier_block pm_notifier = { .notifier_call = wg_pm_notification }; variable 429 ret = register_pm_notifier(&pm_notifier); in wg_device_init() 448 unregister_pm_notifier(&pm_notifier); in wg_device_init() 458 unregister_pm_notifier(&pm_notifier); in wg_device_uninit()
|
/kernel/linux/linux-5.10/drivers/phy/broadcom/ |
D | phy-brcm-usb.c | 73 struct notifier_block pm_notifier; member 86 container_of(notifier, struct brcm_usb_phy_data, pm_notifier); in brcm_pm_notifier() 517 priv->pm_notifier.notifier_call = brcm_pm_notifier; in brcm_usb_phy_probe() 518 register_pm_notifier(&priv->pm_notifier); in brcm_usb_phy_probe() 563 unregister_pm_notifier(&priv->pm_notifier); in brcm_usb_phy_remove()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | ds2760_battery.c | 116 struct notifier_block pm_notifier; member 652 container_of(notifier, struct ds2760_device_info, pm_notifier); in ds2760_pm_notifier() 767 di->pm_notifier.notifier_call = ds2760_pm_notifier; in w1_ds2760_add_slave() 768 register_pm_notifier(&di->pm_notifier); in w1_ds2760_add_slave() 784 unregister_pm_notifier(&di->pm_notifier); in w1_ds2760_remove_slave()
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | driver.c | 454 container_of(notifier, struct i2400m, pm_notifier); in i2400m_pm_notifier() 879 i2400m->pm_notifier.notifier_call = i2400m_pm_notifier; in i2400m_setup() 880 register_pm_notifier(&i2400m->pm_notifier); in i2400m_setup() 922 unregister_pm_notifier(&i2400m->pm_notifier); in i2400m_setup() 958 unregister_pm_notifier(&i2400m->pm_notifier); in i2400m_release()
|
D | i2400m.h | 646 struct notifier_block pm_notifier; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | suspend.h | 491 #define pm_notifier(fn, pri) { \ macro 529 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) macro
|
/kernel/linux/linux-5.10/kernel/ |
D | hung_task.c | 336 pm_notifier(hungtask_pm_notify, 0); in hung_task_init()
|
D | cpu.c | 1560 pm_notifier(cpu_hotplug_pm_callback, 0); in cpu_hotplug_pm_sync_init()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_telemetry_debugfs.c | 900 static struct notifier_block pm_notifier = { variable 928 register_pm_notifier(&pm_notifier); in telemetry_debugfs_init() 952 unregister_pm_notifier(&pm_notifier); in telemetry_debugfs_exit()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | orinoco.h | 167 struct notifier_block pm_notifier; member
|
D | main.c | 1962 pm_notifier); in orinoco_pm_notifier() 1995 priv->pm_notifier.notifier_call = orinoco_pm_notifier; in orinoco_register_pm_notifier() 1996 register_pm_notifier(&priv->pm_notifier); in orinoco_register_pm_notifier() 2001 unregister_pm_notifier(&priv->pm_notifier); in orinoco_unregister_pm_notifier()
|
/kernel/linux/linux-5.10/Documentation/driver-api/pm/ |
D | notifiers.rst | 73 need to unregister the notifier, you can also use the :c:func:`pm_notifier()`
|
/kernel/linux/linux-5.10/arch/x86/power/ |
D | cpu.c | 406 pm_notifier(bsp_pm_callback, -INT_MAX); in bsp_pm_check_init()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | pm-cps.c | 733 pm_notifier(cps_pm_power_notifier, 0); in cps_pm_init()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | r8152.c | 802 struct notifier_block pm_notifier; member 5184 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); in rtl_notifier() 5248 tp->pm_notifier.notifier_call = rtl_notifier; in rtl8152_open() 5249 register_pm_notifier(&tp->pm_notifier); in rtl8152_open() 5268 unregister_pm_notifier(&tp->pm_notifier); in rtl8152_close()
|
/kernel/linux/linux-5.10/include/sound/ |
D | soc.h | 682 struct notifier_block pm_notifier; member
|
/kernel/linux/linux-5.10/kernel/rcu/ |
D | tree.c | 4570 pm_notifier(rcu_pm_notify, 0); in rcu_init()
|