Home
last modified time | relevance | path

Searched refs:pm_notifier (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/greybus/
Dsvc_watchdog.c19 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/
Dsoc-jack.c263 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/
Darche-platform.c67 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/
Ddevice.c95 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/
Dphy-brcm-usb.c73 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/
Dds2760_battery.c116 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/
Ddriver.c454 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()
Di2400m.h646 struct notifier_block pm_notifier; member
/kernel/linux/linux-5.10/include/linux/
Dsuspend.h491 #define pm_notifier(fn, pri) { \ macro
529 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) macro
/kernel/linux/linux-5.10/kernel/
Dhung_task.c336 pm_notifier(hungtask_pm_notify, 0); in hung_task_init()
Dcpu.c1560 pm_notifier(cpu_hotplug_pm_callback, 0); in cpu_hotplug_pm_sync_init()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_telemetry_debugfs.c900 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/
Dorinoco.h167 struct notifier_block pm_notifier; member
Dmain.c1962 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/
Dnotifiers.rst73 need to unregister the notifier, you can also use the :c:func:`pm_notifier()`
/kernel/linux/linux-5.10/arch/x86/power/
Dcpu.c406 pm_notifier(bsp_pm_callback, -INT_MAX); in bsp_pm_check_init()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dpm-cps.c733 pm_notifier(cps_pm_power_notifier, 0); in cps_pm_init()
/kernel/linux/linux-5.10/drivers/net/usb/
Dr8152.c802 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/
Dsoc.h682 struct notifier_block pm_notifier; member
/kernel/linux/linux-5.10/kernel/rcu/
Dtree.c4570 pm_notifier(rcu_pm_notify, 0); in rcu_init()