Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcan.c925 uint32_t put_idx = -1; in can_mcan_send() local
995 put_idx = i; in can_mcan_send()
1000 tx_hdr.mm = put_idx; in can_mcan_send()
1008 err = can_mcan_write_mram(dev, config->mram_offsets[CAN_MCAN_MRAM_CFG_TX_BUFFER] + put_idx * in can_mcan_send()
1019 put_idx * sizeof(struct can_mcan_tx_buffer) + in can_mcan_send()
1028 __ASSERT_NO_MSG(put_idx < cbs->num_tx); in can_mcan_send()
1029 cbs->tx[put_idx].function = callback; in can_mcan_send()
1030 cbs->tx[put_idx].user_data = user_data; in can_mcan_send()
1032 err = can_mcan_write_reg(dev, CAN_MCAN_TXBAR, BIT(put_idx)); in can_mcan_send()
1034 cbs->tx[put_idx].function = NULL; in can_mcan_send()