Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c54 #define ALLOC_IDX_TO_RXMB_IDX(x) (x) macro
200 xfer.mbIdx = ALLOC_IDX_TO_RXMB_IDX(alloc); in mcux_flexcan_mb_start()
205 FLEXCAN_SetFDRxMbConfig(config->base, ALLOC_IDX_TO_RXMB_IDX(alloc), in mcux_flexcan_mb_start()
211 FLEXCAN_SetRxMbConfig(config->base, ALLOC_IDX_TO_RXMB_IDX(alloc), in mcux_flexcan_mb_start()
231 ALLOC_IDX_TO_RXMB_IDX(alloc)); in mcux_flexcan_mb_stop()
232 FLEXCAN_SetFDRxMbConfig(config->base, ALLOC_IDX_TO_RXMB_IDX(alloc), in mcux_flexcan_mb_stop()
237 ALLOC_IDX_TO_RXMB_IDX(alloc)); in mcux_flexcan_mb_stop()
238 FLEXCAN_SetRxMbConfig(config->base, ALLOC_IDX_TO_RXMB_IDX(alloc), in mcux_flexcan_mb_stop()
806 config->base->RXIMR[ALLOC_IDX_TO_RXMB_IDX(alloc)] = mask; in mcux_flexcan_add_rx_filter()
Dcan_nxp_s32_canxl.c28 #define ALLOC_IDX_TO_RXMB_IDX(x) (x) macro
31 #define ALLOC_IDX_TO_RXMB_IDX(x) (x + CONFIG_CAN_NXP_S32_MAX_TX) macro
450 int mb_indx = ALLOC_IDX_TO_RXMB_IDX(filter_id); in can_nxp_s32_remove_rx_filter()
521 mb_indx = ALLOC_IDX_TO_RXMB_IDX(alloc); in can_nxp_s32_add_rx_filter()