/linux-6.6.21/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()
|
/linux-6.6.21/sound/soc/ |
D | soc-jack.c | 262 container_of(nb, struct snd_soc_jack_gpio, pm_notifier); in snd_soc_jack_pm_notifier() 286 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()
|
/linux-6.6.21/drivers/staging/greybus/ |
D | arche-platform.c | 68 struct notifier_block pm_notifier; member 396 pm_notifier); in arche_platform_pm_notifier() 524 arche_pdata->pm_notifier.notifier_call = arche_platform_pm_notifier; in arche_platform_probe() 525 ret = register_pm_notifier(&arche_pdata->pm_notifier); in arche_platform_probe() 567 unregister_pm_notifier(&arche_pdata->pm_notifier); in arche_platform_remove()
|
/linux-6.6.21/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() 533 priv->pm_notifier.notifier_call = brcm_pm_notifier; in brcm_usb_phy_probe() 534 register_pm_notifier(&priv->pm_notifier); in brcm_usb_phy_probe() 579 unregister_pm_notifier(&priv->pm_notifier); in brcm_usb_phy_remove()
|
/linux-6.6.21/drivers/net/wireguard/ |
D | device.c | 95 static struct notifier_block pm_notifier = { .notifier_call = wg_pm_notification }; variable 445 ret = register_pm_notifier(&pm_notifier); in wg_device_init() 468 unregister_pm_notifier(&pm_notifier); in wg_device_init() 477 unregister_pm_notifier(&pm_notifier); in wg_device_uninit()
|
/linux-6.6.21/drivers/power/supply/ |
D | ds2760_battery.c | 116 struct notifier_block pm_notifier; member 644 container_of(notifier, struct ds2760_device_info, pm_notifier); in ds2760_pm_notifier() 759 di->pm_notifier.notifier_call = ds2760_pm_notifier; in w1_ds2760_add_slave() 760 register_pm_notifier(&di->pm_notifier); in w1_ds2760_add_slave() 776 unregister_pm_notifier(&di->pm_notifier); in w1_ds2760_remove_slave()
|
/linux-6.6.21/include/linux/ |
D | suspend.h | 504 #define pm_notifier(fn, pri) { \ macro 549 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) macro
|
D | kvm_host.h | 808 struct notifier_block pm_notifier; member
|
/linux-6.6.21/include/sound/ |
D | soc-jack.h | 74 struct notifier_block pm_notifier; member
|
/linux-6.6.21/drivers/platform/x86/intel/telemetry/ |
D | 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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/kernel/ |
D | hung_task.c | 394 pm_notifier(hungtask_pm_notify, 0); in hung_task_init()
|
D | cpu.c | 2069 pm_notifier(cpu_hotplug_pm_callback, 0); in cpu_hotplug_pm_sync_init()
|
/linux-6.6.21/Documentation/driver-api/pm/ |
D | notifiers.rst | 73 need to unregister the notifier, you can also use the :c:func:`pm_notifier()`
|
/linux-6.6.21/arch/x86/power/ |
D | cpu.c | 367 pm_notifier(bsp_pm_callback, -INT_MAX); in bsp_pm_check_init()
|
/linux-6.6.21/drivers/char/ |
D | random.c | 835 static struct notifier_block pm_notifier = { .notifier_call = random_pm_notification }; variable 903 WARN_ON(register_pm_notifier(&pm_notifier)); in random_init()
|
/linux-6.6.21/arch/mips/kernel/ |
D | pm-cps.c | 733 pm_notifier(cps_pm_power_notifier, 0); in cps_pm_init()
|
/linux-6.6.21/virt/kvm/ |
D | kvm_main.c | 951 struct kvm *kvm = container_of(bl, struct kvm, pm_notifier); in kvm_pm_notifier_call() 958 kvm->pm_notifier.notifier_call = kvm_pm_notifier_call; in kvm_init_pm_notifier() 960 kvm->pm_notifier.priority = INT_MAX; in kvm_init_pm_notifier() 961 register_pm_notifier(&kvm->pm_notifier); in kvm_init_pm_notifier() 966 unregister_pm_notifier(&kvm->pm_notifier); in kvm_destroy_pm_notifier()
|
/linux-6.6.21/drivers/net/usb/ |
D | r8152.c | 883 struct notifier_block pm_notifier; member 6883 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); in rtl_notifier() 6947 tp->pm_notifier.notifier_call = rtl_notifier; in rtl8152_open() 6948 register_pm_notifier(&tp->pm_notifier); in rtl8152_open() 6967 unregister_pm_notifier(&tp->pm_notifier); in rtl8152_close()
|
/linux-6.6.21/kernel/rcu/ |
D | tree.c | 5064 pm_notifier(rcu_pm_notify, 0); in rcu_init()
|