Lines Matching full:notify
93 int rc = sys_notify_fetch_result(&cp->notify, &result); in cli_result()
113 onoff_notify_fn notify; member
121 tsp->notify = NULL; in reset_transit_state()
126 onoff_notify_fn notify, in run_transit() argument
131 tsp->notify = notify; in run_transit()
134 TC_PRINT("%s notify %d\n", tsp->tag, tsp->retval); in run_transit()
135 notify(srv, tsp->retval); in run_transit()
139 static void notify(struct transit_state *tsp) in notify() function
141 TC_PRINT("%s settle %d %p\n", tsp->tag, tsp->retval, tsp->notify); in notify()
142 tsp->notify(tsp->srv, tsp->retval); in notify()
143 tsp->notify = NULL; in notify()
181 TC_PRINT("ISR NOTIFY %s %d\n", tsp->tag, k_is_in_isr()); in isr_notify()
182 notify(tsp); in isr_notify()
219 sys_notify_init_callback(&onoff_cli.notify, callback); in reset_cli()
361 onoff_cli.notify.flags |= BIT(ONOFF_CLIENT_EXTENSION_POS); in ZTEST()
366 onoff_cli.notify.flags &= ~BIT(ONOFF_CLIENT_EXTENSION_POS); in ZTEST()
448 notify(&start_state); in ZTEST()
467 notify(&stop_state); in ZTEST()
569 sys_notify_init_spinwait(&cli2.notify); in ZTEST()
577 notify(&start_state); in ZTEST()
598 sys_notify_init_spinwait(&cli0.notify); in ZTEST()
690 notify(&stop_state); in ZTEST()
731 notify(&start_state); in ZTEST()
770 notify(&stop_state); in ZTEST()
844 sys_notify_init_spinwait(&cli2.notify); in ZTEST()
862 notify(&reset_state); in ZTEST()
892 sys_notify_init_spinwait(&cli2.notify); in ZTEST()
944 notify(&start_state); in ZTEST()
999 notify(&stop_state); in ZTEST()
1026 notify(&start_state); in ZTEST()