Lines Matching refs:tx_idx
335 uint32_t tx_idx; in can_mcan_stop() local
361 for (tx_idx = 0U; tx_idx < cbs->num_tx; tx_idx++) { in can_mcan_stop()
362 tx_cb = cbs->tx[tx_idx].function; in can_mcan_stop()
365 cbs->tx[tx_idx].function = NULL; in can_mcan_stop()
366 tx_cb(dev, -ENETDOWN, cbs->tx[tx_idx].user_data); in can_mcan_stop()
460 uint32_t tx_idx; in can_mcan_state_change_handler() local
483 for (tx_idx = 0U; tx_idx < cbs->num_tx; tx_idx++) { in can_mcan_state_change_handler()
484 tx_cb = cbs->tx[tx_idx].function; in can_mcan_state_change_handler()
487 cbs->tx[tx_idx].function = NULL; in can_mcan_state_change_handler()
488 tx_cb(dev, -ENETUNREACH, cbs->tx[tx_idx].user_data); in can_mcan_state_change_handler()
523 uint32_t tx_idx; in can_mcan_tx_event_handler() local
544 tx_idx = tx_event.mm; in can_mcan_tx_event_handler()
552 __ASSERT_NO_MSG(tx_idx < cbs->num_tx); in can_mcan_tx_event_handler()
553 tx_cb = cbs->tx[tx_idx].function; in can_mcan_tx_event_handler()
554 user_data = cbs->tx[tx_idx].user_data; in can_mcan_tx_event_handler()
555 cbs->tx[tx_idx].function = NULL; in can_mcan_tx_event_handler()