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()
425 twl6030_irq->pm_nb.notifier_call = twl6030_irq_pm_notifier; in twl6030_init_irq()
448 register_pm_notifier(&twl6030_irq->pm_nb); in twl6030_init_irq()
459 unregister_pm_notifier(&twl6030_irq->pm_nb); in twl6030_exit_irq()
/drivers/acpi/
Dbattery.c120 struct notifier_block pm_nb; member
1095 pm_nb); in battery_notify()
1220 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1221 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1243 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dacpi_video.c164 struct notifier_block pm_nb; member
1592 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1754 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1755 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1756 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1786 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
/drivers/platform/x86/
Dsamsung-laptop.c354 struct notifier_block pm_nb; member
1538 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1765 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()
1766 register_pm_notifier(&samsung->pm_nb); in samsung_init()
1795 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c897 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
898 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
944 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1354 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h484 struct notifier_block pm_nb; member