Home
last modified time | relevance | path

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

/drivers/acpi/
Dbattery.c118 struct notifier_block pm_nb; member
1051 pm_nb); in battery_notify()
1101 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1102 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1121 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dvideo.c160 struct notifier_block pm_nb; member
1682 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1810 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_add()
1811 video->pm_nb.priority = 0; in acpi_video_bus_add()
1812 error = register_pm_notifier(&video->pm_nb); in acpi_video_bus_add()
1823 unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_add()
1848 unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_remove()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c643 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
644 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
689 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
985 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h336 struct notifier_block pm_nb; member