Home
last modified time | relevance | path

Searched refs:pm_nb (Results 1 – 6 of 6) sorted by relevance

/drivers/mfd/
Dtwl6030-irq.c124 struct notifier_block pm_nb; member
137 pm_nb); in twl6030_irq_pm_notifier()
438 twl6030_irq->pm_nb.notifier_call = twl6030_irq_pm_notifier; in twl6030_init_irq()
461 register_pm_notifier(&twl6030_irq->pm_nb); in twl6030_init_irq()
472 unregister_pm_notifier(&twl6030_irq->pm_nb); in twl6030_exit_irq()
/drivers/acpi/
Dbattery.c122 struct notifier_block pm_nb; member
1094 pm_nb); in battery_notify()
1213 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1214 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1236 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dvideo.c166 struct notifier_block pm_nb; member
1593 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1724 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1725 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1726 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1756 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
/drivers/platform/x86/
Dsamsung-laptop.c344 struct notifier_block pm_nb; member
1439 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1669 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()
1670 register_pm_notifier(&samsung->pm_nb); in samsung_init()
1697 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c833 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
834 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
880 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1250 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h494 struct notifier_block pm_nb; member