Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mfd/
Dtwl6030-irq.c111 struct notifier_block pm_nb; member
124 pm_nb); in twl6030_irq_pm_notifier()
410 twl6030_irq->pm_nb.notifier_call = twl6030_irq_pm_notifier; in twl6030_init_irq()
433 register_pm_notifier(&twl6030_irq->pm_nb); in twl6030_init_irq()
444 unregister_pm_notifier(&twl6030_irq->pm_nb); in twl6030_exit_irq()
Dmt6397-irq.c133 container_of(notifier, struct mt6397_chip, pm_nb); in mt6397_irq_pm_notifier()
195 chip->pm_nb.notifier_call = mt6397_irq_pm_notifier; in mt6397_irq_init()
214 register_pm_notifier(&chip->pm_nb); in mt6397_irq_init()
/linux-6.12.1/drivers/watchdog/
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()
/linux-6.12.1/include/linux/mfd/mt6397/
Dcore.h64 struct notifier_block pm_nb; member
/linux-6.12.1/drivers/acpi/
Dbattery.c99 struct notifier_block pm_nb; member
1099 pm_nb); in battery_notify()
1240 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1241 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1254 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1277 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dacpi_video.c170 struct notifier_block pm_nb; member
1664 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1824 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1825 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1826 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1856 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
/linux-6.12.1/include/linux/
Dwatchdog.h110 struct notifier_block pm_nb; member
/linux-6.12.1/drivers/platform/x86/
Dsamsung-laptop.c349 struct notifier_block pm_nb; member
1461 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1609 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()
1610 register_pm_notifier(&samsung->pm_nb); in samsung_init()
1637 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c1146 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
1147 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
1189 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1461 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h576 struct notifier_block pm_nb; member