Home
last modified time | relevance | path

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

/drivers/mfd/
A Dtwl6030-irq.c111 struct notifier_block pm_nb; member
124 pm_nb); in twl6030_irq_pm_notifier()
335 twl6030_irq->pm_nb.notifier_call = twl6030_irq_pm_notifier; in twl6030_init_irq()
357 register_pm_notifier(&twl6030_irq->pm_nb); in twl6030_init_irq()
368 unregister_pm_notifier(&twl6030_irq->pm_nb); in twl6030_exit_irq()
A Dmt6397-irq.c140 container_of(notifier, struct mt6397_chip, pm_nb); in mt6397_irq_pm_notifier()
218 chip->pm_nb.notifier_call = mt6397_irq_pm_notifier; in mt6397_irq_init()
235 register_pm_notifier(&chip->pm_nb); in mt6397_irq_init()
/drivers/watchdog/
A Dwatchdog_core.c199 wdd = container_of(nb, struct watchdog_device, pm_nb); in watchdog_pm_notifier()
329 wdd->pm_nb.notifier_call = watchdog_pm_notifier; in ___watchdog_register_device()
331 ret = register_pm_notifier(&wdd->pm_nb); in ___watchdog_register_device()
/drivers/acpi/
A Dbattery.c99 struct notifier_block pm_nb; member
1100 pm_nb); in battery_notify()
1247 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1248 result = register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1263 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1283 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
A Dacpi_video.c171 struct notifier_block pm_nb; member
1677 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1837 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1838 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1839 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1869 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
/drivers/platform/x86/
A Dsamsung-laptop.c351 struct notifier_block pm_nb; member
1567 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1719 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()
1720 register_pm_notifier(&samsung->pm_nb); in samsung_init()
1747 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_drv.c1121 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
1122 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
1162 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1429 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
A Dvmwgfx_drv.h551 struct notifier_block pm_nb; member
/drivers/net/wireless/ath/ath11k/
A Dcore.c2531 pm_nb); in ath11k_core_pm_notify()
2549 ab->pm_nb.notifier_call = ath11k_core_pm_notify; in ath11k_core_pm_notifier_register()
2550 return register_pm_notifier(&ab->pm_nb); in ath11k_core_pm_notifier_register()
2557 ret = unregister_pm_notifier(&ab->pm_nb); in ath11k_core_pm_notifier_unregister()
A Dcore.h1074 struct notifier_block pm_nb; member
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_device.c4816 adev->pm_nb.notifier_call = amdgpu_device_pm_notifier; in amdgpu_device_init()
4817 r = register_pm_notifier(&adev->pm_nb); in amdgpu_device_init()
4885 unregister_pm_notifier(&adev->pm_nb); in amdgpu_device_fini_hw()
5045 struct amdgpu_device *adev = container_of(nb, struct amdgpu_device, pm_nb); in amdgpu_device_pm_notifier()
A Damdgpu.h961 struct notifier_block pm_nb; member

Completed in 60 milliseconds