Lines Matching full:notify
9 #include <zephyr/sys/notify.h>
11 int sys_notify_validate(struct sys_notify *notify) in sys_notify_validate() argument
15 if (notify == NULL) { in sys_notify_validate()
20 switch (sys_notify_get_method(notify)) { in sys_notify_validate()
24 if (notify->method.callback == NULL) { in sys_notify_validate()
30 if (notify->method.signal == NULL) { in sys_notify_validate()
42 notify->result = 0; in sys_notify_validate()
48 sys_notify_generic_callback sys_notify_finalize(struct sys_notify *notify, in sys_notify_finalize() argument
53 uint32_t method = sys_notify_get_method(notify); in sys_notify_finalize()
58 notify->result = res; in sys_notify_finalize()
63 rv = notify->method.callback; in sys_notify_finalize()
66 sig = notify->method.signal; in sys_notify_finalize()
77 notify->flags = SYS_NOTIFY_METHOD_COMPLETED; in sys_notify_finalize()