Searched refs:notifier (Results 1 – 6 of 6) sorted by relevance
93 void pm_notifier_register(struct pm_notifier *notifier);106 int pm_notifier_unregister(struct pm_notifier *notifier);184 static inline void pm_notifier_register(struct pm_notifier *notifier) in pm_notifier_register() argument186 ARG_UNUSED(notifier); in pm_notifier_register()189 static inline int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument191 ARG_UNUSED(notifier); in pm_notifier_unregister()
52 struct pm_notifier *notifier; in pm_state_notify() local57 SYS_SLIST_FOR_EACH_CONTAINER(&pm_notifiers, notifier, _node) { in pm_state_notify()59 callback = notifier->state_entry; in pm_state_notify()61 callback = notifier->state_exit; in pm_state_notify()205 void pm_notifier_register(struct pm_notifier *notifier) in pm_notifier_register() argument209 sys_slist_append(&pm_notifiers, ¬ifier->_node); in pm_notifier_register()213 int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument219 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()
336 static struct pm_notifier notifier = { variable358 pm_notifier_register(¬ifier); in ZTEST()371 pm_notifier_unregister(¬ifier); in ZTEST()393 pm_notifier_register(¬ifier); in ZTEST()412 pm_notifier_unregister(¬ifier); in ZTEST()509 pm_notifier_unregister(¬ifier); in power_management_1cpu_teardown()
94 Event notifier will be able to provide information to an event,