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.c126 struct notifier_block pm_nb; member
1127 pm_nb); in battery_notify()
1252 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1253 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1275 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dacpi_video.c190 struct notifier_block pm_nb; member
1717 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1880 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1881 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1882 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1912 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.c922 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
923 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
969 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1389 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h496 struct notifier_block pm_nb; member