Home
last modified time | relevance | path

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

/linux/drivers/acpi/
H A Dbattery.c107 struct notifier_block pm_nb; member
1207 pm_nb); in battery_notify()
1426 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_probe()
1427 return register_pm_notifier(&battery->pm_nb); in acpi_battery_probe()
1434 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
/linux/drivers/platform/x86/
H 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()
/linux/drivers/gpu/drm/vmwgfx/
H 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()
/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.c2655 pm_nb); in ath11k_core_pm_notify()
2673 ab->pm_nb.notifier_call = ath11k_core_pm_notify; in ath11k_core_pm_notifier_register()
2674 return register_pm_notifier(&ab->pm_nb); in ath11k_core_pm_notifier_register()
2681 ret = unregister_pm_notifier(&ab->pm_nb); in ath11k_core_pm_notifier_unregister()