Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/watchdog/
Dwatchdog_core.c199 wdd = container_of(nb, struct watchdog_device, pm_nb); in watchdog_pm_notifier()
328 wdd->pm_nb.notifier_call = watchdog_pm_notifier; in __watchdog_register_device()
330 ret = register_pm_notifier(&wdd->pm_nb); in __watchdog_register_device()
/linux-6.6.21/include/linux/mfd/mt6397/
Dcore.h64 struct notifier_block pm_nb; member
/linux-6.6.21/drivers/acpi/
Dbattery.c101 struct notifier_block pm_nb; member
1070 pm_nb); in battery_notify()
1211 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()
1212 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1225 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_add()
1248 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
Dacpi_video.c170 struct notifier_block pm_nb; member
1670 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()
1830 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()
1831 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()
1832 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()
1862 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
/linux-6.6.21/include/linux/
Dwatchdog.h110 struct notifier_block pm_nb; member
/linux-6.6.21/drivers/platform/x86/
Dsamsung-laptop.c350 struct notifier_block pm_nb; member
1462 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()
1610 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()
1611 register_pm_notifier(&samsung->pm_nb); in samsung_init()
1638 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c1148 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()
1149 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()
1191 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()
1459 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
Dvmwgfx_drv.h602 struct notifier_block pm_nb; member