Home
last modified time | relevance | path

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

/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_canfd/
Dr_canfd.c604 uint32_t txmb = buffer + (interlaced_channel * BSP_FEATURE_CANFD_TXMB_CHANNEL_OFFSET); in R_CANFD_Write() local
607 FSP_ERROR_RETURN(0U == p_ctrl->p_reg->CFDTMSTS_b[txmb].TMTRM, FSP_ERR_CAN_TRANSMIT_NOT_READY); in R_CANFD_Write()
610 …p_ctrl->p_reg->CFDTM[txmb].ID = p_frame->id | ((uint32_t) p_frame->type << R_CANFD_CFDTM_ID_TMRTR_… in R_CANFD_Write()
615 p_ctrl->p_reg->CFDTM[txmb].PTR = (uint32_t) r_canfd_bytes_to_dlc(p_frame->data_length_code) << in R_CANFD_Write()
619 p_ctrl->p_reg->CFDTM[txmb].FDCTR = p_frame->options & 7U; in R_CANFD_Write()
623 …p_ctrl->p_reg->CFDTM[txmb].PTR = (uint32_t) p_frame->data_length_code << R_CANFD_CFDTM_PTR_TMDLC_P… in R_CANFD_Write()
628 uint8_t * p_dest = (uint8_t *) p_ctrl->p_reg->CFDTM[txmb].DF; in R_CANFD_Write()
636 p_ctrl->p_reg->CFDTMC[txmb] = 1; in R_CANFD_Write()
1258 uint32_t txmb; in canfd_channel_tx_isr() local
1274 uint32_t txmb; in canfd_channel_tx_isr()
[all …]
/hal_renesas-latest/drivers/ra/fsp/src/r_canfd/
Dr_canfd.c1337 uint32_t txmb; in canfd_channel_tx_isr() local
1369 txmb = __CLZ(__RBIT(*p_cfdtm_sts)); in canfd_channel_tx_isr()
1370 txmb = (txmb < 8) ? txmb : __CLZ(__RBIT(*(p_cfdtm_sts + 1))) + CANFD_PRV_TXMB_OFFSET; in canfd_channel_tx_isr()
1373 … p_ctrl->p_reg->CFDTMSTS_b[txmb + (CANFD_PRV_TXMB_CHANNEL_OFFSET * interlaced_channel)].TMTRF = 0; in canfd_channel_tx_isr()
1383 txmb = __CLZ(__RBIT(*p_cfdtm_sts & cfdtm_mask)); in canfd_channel_tx_isr()
1385 txmb = 0; in canfd_channel_tx_isr()
1389 p_ctrl->p_reg->CFDCFSTS[txmb] &= ~R_CANFD_CFDCFSTS_CFTXIF_Msk; in canfd_channel_tx_isr()
1392 txmb += CANFD_TX_BUFFER_FIFO_COMMON_0; in canfd_channel_tx_isr()
1396 args.buffer = txmb; in canfd_channel_tx_isr()