Searched refs:notifier (Results 1 – 6 of 6) sorted by relevance
91 void pm_notifier_register(struct pm_notifier *notifier);104 int pm_notifier_unregister(struct pm_notifier *notifier);158 static inline void pm_notifier_register(struct pm_notifier *notifier) in pm_notifier_register() argument160 ARG_UNUSED(notifier); in pm_notifier_register()163 static inline int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument165 ARG_UNUSED(notifier); in pm_notifier_unregister()
145 struct pm_notifier *notifier; in pm_state_notify() local150 SYS_SLIST_FOR_EACH_CONTAINER(&pm_notifiers, notifier, _node) { in pm_state_notify()152 callback = notifier->state_entry; in pm_state_notify()154 callback = notifier->state_exit; in pm_state_notify()287 void pm_notifier_register(struct pm_notifier *notifier) in pm_notifier_register() argument291 sys_slist_append(&pm_notifiers, ¬ifier->_node); in pm_notifier_register()295 int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument301 if (sys_slist_find_and_remove(&pm_notifiers, &(notifier->_node))) { in pm_notifier_unregister()
259 static struct pm_notifier notifier = { variable273 pm_notifier_register(¬ifier); in test_pwr_mgmt_multithread()327 pm_notifier_unregister(¬ifier); in test_pwr_mgmt_multithread()339 pm_notifier_register(¬ifier); in test_pwr_mgmt_singlethread()377 pm_notifier_unregister(¬ifier); in test_pwr_mgmt_singlethread()
101 static struct pm_notifier notifier = { variable228 pm_notifier_register(¬ifier); in test_pwr_mgmt_multithread()271 pm_notifier_unregister(¬ifier); in test_pwr_mgmt_multithread()286 pm_notifier_register(¬ifier); in test_pwr_mgmt_singlethread()313 pm_notifier_unregister(¬ifier); in test_pwr_mgmt_singlethread()
312 static struct pm_notifier notifier = { variable334 pm_notifier_register(¬ifier); in ZTEST()347 pm_notifier_unregister(¬ifier); in ZTEST()369 pm_notifier_register(¬ifier); in ZTEST()388 pm_notifier_unregister(¬ifier); in ZTEST()449 pm_notifier_unregister(¬ifier); in power_management_1cpu_teardown()
52 Event notifier will be able to provide information to an event,