Searched refs:mrba (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/can/ |
D | can_mcux_mcan.c | 88 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()
|
D | can_nrf.c | 28 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), \
|
D | can_sam.c | 106 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()
|
D | can_stm32h7_fdcan.c | 35 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), \
|
D | can_numaker.c | 34 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), \
|
D | can_mcan.c | 1276 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/ |
D | can_mcan.h | 1586 int can_mcan_configure_mram(const struct device *dev, uintptr_t mrba, uintptr_t mram);
|