Searched refs:pm_nb (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | twl6030-irq.c | 111 struct notifier_block pm_nb; member 124 pm_nb); in twl6030_irq_pm_notifier() 410 twl6030_irq->pm_nb.notifier_call = twl6030_irq_pm_notifier; in twl6030_init_irq() 433 register_pm_notifier(&twl6030_irq->pm_nb); in twl6030_init_irq() 444 unregister_pm_notifier(&twl6030_irq->pm_nb); in twl6030_exit_irq()
|
| H A D | mt6397-irq.c | 136 container_of(notifier, struct mt6397_chip, pm_nb); in mt6397_irq_pm_notifier() 193 chip->pm_nb.notifier_call = mt6397_irq_pm_notifier; in mt6397_irq_init() 212 register_pm_notifier(&chip->pm_nb); in mt6397_irq_init()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_IDLETIMER.c | 49 struct notifier_block pm_nb; member 230 struct idletimer_tg, pm_nb); in idletimer_resume() 345 info->timer->pm_nb.notifier_call = idletimer_resume; in idletimer_tg_create() 346 ret = register_pm_notifier(&info->timer->pm_nb); in idletimer_tg_create() 414 info->timer->pm_nb.notifier_call = idletimer_resume; in idletimer_tg_create_v1() 415 ret = register_pm_notifier(&info->timer->pm_nb); in idletimer_tg_create_v1() 668 unregister_pm_notifier(&info->timer->pm_nb); in idletimer_tg_destroy() 698 unregister_pm_notifier(&info->timer->pm_nb); in idletimer_tg_destroy_v1()
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/mt6397/ |
| H A D | core.h | 59 struct notifier_block pm_nb; member
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | battery.c | 111 struct notifier_block pm_nb; member 1058 pm_nb); in battery_notify() 1242 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add() 1243 register_pm_notifier(&battery->pm_nb); in acpi_battery_add() 1265 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
|
| H A D | acpi_video.c | 177 struct notifier_block pm_nb; member 1734 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume() 1897 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight() 1898 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight() 1899 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight() 1929 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | samsung-laptop.c | 350 struct notifier_block pm_nb; member 1479 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification() 1704 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init() 1705 register_pm_notifier(&samsung->pm_nb); in samsung_init() 1732 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | sgm41542_charger.c | 230 struct notifier_block pm_nb; member 1228 struct sgm4154x_device *sgm = container_of(nb, struct sgm4154x_device, pm_nb); in sgm4154x_suspend_notifier() 1322 sgm->pm_nb.notifier_call = sgm4154x_suspend_notifier; in sgm4154x_probe() 1323 register_pm_notifier(&sgm->pm_nb); in sgm4154x_probe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_drv.c | 981 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load() 982 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load() 1026 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload() 1296 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
|
| H A D | vmwgfx_drv.h | 607 struct notifier_block pm_nb; member
|