Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/pm/
Dpm.h93 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() argument
186 ARG_UNUSED(notifier); in pm_notifier_register()
189 static inline int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument
191 ARG_UNUSED(notifier); in pm_notifier_unregister()
/Zephyr-Core-3.7.0/subsys/pm/
Dpm.c52 struct pm_notifier *notifier; in pm_state_notify() local
57 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() argument
209 sys_slist_append(&pm_notifiers, &notifier->_node); in pm_notifier_register()
213 int pm_notifier_unregister(struct pm_notifier *notifier) in pm_notifier_unregister() argument
219 if (sys_slist_find_and_remove(&pm_notifiers, &(notifier->_node))) { in pm_notifier_unregister()
/Zephyr-Core-3.7.0/samples/boards/mec15xxevb_assy6853/power_management/src/
Dpower_mgmt.c259 static struct pm_notifier notifier = { variable
273 pm_notifier_register(&notifier); in test_pwr_mgmt_multithread()
327 pm_notifier_unregister(&notifier); in test_pwr_mgmt_multithread()
339 pm_notifier_register(&notifier); in test_pwr_mgmt_singlethread()
377 pm_notifier_unregister(&notifier); in test_pwr_mgmt_singlethread()
/Zephyr-Core-3.7.0/tests/subsys/pm/power_mgmt_soc/src/
Dpower_mgmt.c101 static struct pm_notifier notifier = { variable
228 pm_notifier_register(&notifier); in test_pwr_mgmt_multithread()
271 pm_notifier_unregister(&notifier); in test_pwr_mgmt_multithread()
286 pm_notifier_register(&notifier); in test_pwr_mgmt_singlethread()
313 pm_notifier_unregister(&notifier); in test_pwr_mgmt_singlethread()
/Zephyr-Core-3.7.0/tests/subsys/pm/power_mgmt/src/
Dmain.c336 static struct pm_notifier notifier = { variable
358 pm_notifier_register(&notifier); in ZTEST()
371 pm_notifier_unregister(&notifier); in ZTEST()
393 pm_notifier_register(&notifier); in ZTEST()
412 pm_notifier_unregister(&notifier); in ZTEST()
509 pm_notifier_unregister(&notifier); in power_management_1cpu_teardown()
/Zephyr-Core-3.7.0/subsys/net/ip/
DKconfig.mgmt94 Event notifier will be able to provide information to an event,