Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/greybus/
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A 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()
/OK3568_Linux_fs/kernel/drivers/phy/broadcom/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/
H A 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()
H A Di2400m.h646 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsuspend.h498 #define pm_notifier(fn, pri) { \ macro
537 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) macro
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/
H A Drtk_bt.h144 struct notifier_block pm_notifier; member
H A Drtk_bt.c1289 data = container_of(notifier, struct btusb_data, pm_notifier);
1579 data->pm_notifier.notifier_call = rtkbt_pm_notify;
1580 register_pm_notifier(&data->pm_notifier);
1607 unregister_pm_notifier(&data->pm_notifier);
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A 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()
/OK3568_Linux_fs/kernel/kernel/
H A Dhung_task.c315 pm_notifier(hungtask_pm_notify, 0); in hung_task_init()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/
H A Dorinoco.h167 struct notifier_block pm_notifier; member
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_priv.h178 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_priv.h178 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_priv.h178 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/kernel/Documentation/driver-api/pm/
H A Dnotifiers.rst73 need to unregister the notifier, you can also use the :c:func:`pm_notifier()`
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_priv.h204 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_priv.h202 struct notifier_block pm_notifier; member
/OK3568_Linux_fs/kernel/arch/x86/power/
H A Dcpu.c419 pm_notifier(bsp_pm_callback, -INT_MAX); in bsp_pm_check_init()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dpm-cps.c733 pm_notifier(cps_pm_power_notifier, 0); in cps_pm_init()
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.c160 struct notifier_block pm_notifier; member
3674 data = container_of(notifier, struct btusb_data, pm_notifier); in bt_pm_notify()
4254 data->pm_notifier.notifier_call = bt_pm_notify; in btusb_probe()
4256 register_pm_notifier(&data->pm_notifier); in btusb_probe()
4316 unregister_pm_notifier(&data->pm_notifier); in btusb_disconnect()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_regs.h987 struct notifier_block pm_notifier; member

12