Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/can/
Dcan_mcan.c865 uint32_t put_idx = -1; in can_mcan_send() local
936 put_idx = i; in can_mcan_send()
941 tx_hdr.mm = put_idx; in can_mcan_send()
949 err = can_mcan_write_mram(dev, config->mram_offsets[CAN_MCAN_MRAM_CFG_TX_BUFFER] + put_idx * in can_mcan_send()
960 put_idx * sizeof(struct can_mcan_tx_buffer) + in can_mcan_send()
969 __ASSERT_NO_MSG(put_idx < cbs->num_tx); in can_mcan_send()
970 cbs->tx[put_idx].function = callback; in can_mcan_send()
971 cbs->tx[put_idx].user_data = user_data; in can_mcan_send()
973 err = can_mcan_write_reg(dev, CAN_MCAN_TXBAR, BIT(put_idx)); in can_mcan_send()
975 cbs->tx[put_idx].function = NULL; in can_mcan_send()