Lines Matching refs:event
160 struct can_shell_tx_event event; in can_shell_tx_msgq_triggered_work_handler() local
162 while (k_msgq_get(&can_shell_tx_msgq, &event, K_NO_WAIT) == 0) { in can_shell_tx_msgq_triggered_work_handler()
163 if (event.error == 0) { in can_shell_tx_msgq_triggered_work_handler()
165 event.frame_no); in can_shell_tx_msgq_triggered_work_handler()
168 event.frame_no, event.error); in can_shell_tx_msgq_triggered_work_handler()
177 struct can_shell_tx_event event; in can_shell_tx_callback() local
182 event.frame_no = POINTER_TO_UINT(user_data); in can_shell_tx_callback()
183 event.error = error; in can_shell_tx_callback()
185 err = k_msgq_put(&can_shell_tx_msgq, &event, K_NO_WAIT); in can_shell_tx_callback()
194 struct can_shell_rx_event event; in can_shell_rx_callback() local
199 event.frame = *frame; in can_shell_rx_callback()
200 event.dev = dev; in can_shell_rx_callback()
202 err = k_msgq_put(&can_shell_rx_msgq, &event, K_NO_WAIT); in can_shell_rx_callback()
229 struct can_shell_rx_event event; in can_shell_rx_msgq_triggered_work_handler() local
231 while (k_msgq_get(&can_shell_rx_msgq, &event, K_NO_WAIT) == 0) { in can_shell_rx_msgq_triggered_work_handler()
232 can_shell_print_frame(can_shell_rx_msgq_sh, event.dev, &event.frame); in can_shell_rx_msgq_triggered_work_handler()