Searched refs:pm_nb (Results 1 – 8 of 8) sorted by relevance
111 struct notifier_block pm_nb; member124 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()
136 container_of(notifier, struct mt6397_chip, pm_nb); in mt6397_irq_pm_notifier()193 chip->pm_nb.notifier_call = mt6397_irq_pm_notifier; in mt6397_irq_init()212 register_pm_notifier(&chip->pm_nb); in mt6397_irq_init()
59 struct notifier_block pm_nb; member
111 struct notifier_block pm_nb; member1058 pm_nb); in battery_notify()1242 battery->pm_nb.notifier_call = battery_notify; in acpi_battery_add()1243 register_pm_notifier(&battery->pm_nb); in acpi_battery_add()1265 unregister_pm_notifier(&battery->pm_nb); in acpi_battery_remove()
177 struct notifier_block pm_nb; member1734 video = container_of(nb, struct acpi_video_bus, pm_nb); in acpi_video_resume()1897 video->pm_nb.notifier_call = acpi_video_resume; in acpi_video_bus_register_backlight()1898 video->pm_nb.priority = 0; in acpi_video_bus_register_backlight()1899 return register_pm_notifier(&video->pm_nb); in acpi_video_bus_register_backlight()1929 error = unregister_pm_notifier(&video->pm_nb); in acpi_video_bus_unregister_backlight()
350 struct notifier_block pm_nb; member1479 samsung = container_of(nb, struct samsung_laptop, pm_nb); in samsung_pm_notification()1704 samsung->pm_nb.notifier_call = samsung_pm_notification; in samsung_init()1705 register_pm_notifier(&samsung->pm_nb); in samsung_init()1732 unregister_pm_notifier(&samsung->pm_nb); in samsung_exit()
981 dev_priv->pm_nb.notifier_call = vmwgfx_pm_notifier; in vmw_driver_load()982 register_pm_notifier(&dev_priv->pm_nb); in vmw_driver_load()1026 unregister_pm_notifier(&dev_priv->pm_nb); in vmw_driver_unload()1296 container_of(nb, struct vmw_private, pm_nb); in vmwgfx_pm_notifier()
607 struct notifier_block pm_nb; member