Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcux_mcan.c88 const uintptr_t mrba = mcux_config->mram & MCUX_MCAN_MRBA_BA; in mcux_mcan_init() local
117 err = can_mcan_write_reg(dev, MCUX_MCAN_MRBA, (uint32_t)mrba); in mcux_mcan_init()
122 err = can_mcan_configure_mram(dev, mrba, mcux_config->mram); in mcux_mcan_init()
Dcan_nrf.c28 uint32_t mrba; member
161 ret = can_mcan_configure_mram(dev, config->mrba, config->mram); in can_nrf_init()
187 .mrba = CAN_MCAN_DT_INST_MRBA(n), \
Dcan_sam.c106 uint32_t mrba = sam_cfg->mram & 0xFFFF0000; in can_sam_init() local
109 sys_write32((sys_read32(sam_cfg->dma_base) & 0x0000FFFF) | mrba, sam_cfg->dma_base); in can_sam_init()
111 ret = can_mcan_configure_mram(dev, mrba, sam_cfg->mram); in can_sam_init()
Dcan_stm32h7_fdcan.c35 mem_addr_t mrba; member
182 ret = can_mcan_configure_mram(dev, stm32h7_cfg->mrba, stm32h7_cfg->mram); in can_stm32h7_init()
257 .mrba = CAN_MCAN_DT_INST_MRBA(n), \
Dcan_numaker.c34 mem_addr_t mrba; member
115 rc = can_mcan_configure_mram(dev, config->mrba, config->mram); in can_numaker_init_unlocked()
267 .mrba = CAN_MCAN_DT_INST_MRBA(inst), \
Dcan_mcan.c1276 int can_mcan_configure_mram(const struct device *dev, uintptr_t mrba, uintptr_t mram) in can_mcan_configure_mram() argument
1297 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_STD_FILTER]; in can_mcan_configure_mram()
1305 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_EXT_FILTER]; in can_mcan_configure_mram()
1313 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_RX_FIFO0]; in can_mcan_configure_mram()
1321 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_RX_FIFO1]; in can_mcan_configure_mram()
1329 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_RX_BUFFER]; in can_mcan_configure_mram()
1336 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_TX_EVENT_FIFO]; in can_mcan_configure_mram()
1344 addr = mram - mrba + config->mram_offsets[CAN_MCAN_MRAM_CFG_TX_BUFFER]; in can_mcan_configure_mram()
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_mcan.h1586 int can_mcan_configure_mram(const struct device *dev, uintptr_t mrba, uintptr_t mram);