Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/pcie/endpoint/
Dpcie_ep_common.c59 static int pcie_ep_mapped_copy(uint64_t mapped_addr, uintptr_t local_addr, in pcie_ep_mapped_copy() argument
67 if ((!IS_ENABLED(CONFIG_64BIT)) && (mapped_addr >> 32)) { in pcie_ep_mapped_copy()
72 memcpy(UINT_TO_POINTER(mapped_addr), in pcie_ep_mapped_copy()
76 UINT_TO_POINTER(mapped_addr), size); in pcie_ep_mapped_copy()
91 uint64_t mapped_addr; in pcie_ep_xfer_data_memcpy() local
96 mapped_size = pcie_ep_map_addr(dev, pcie_addr, &mapped_addr, in pcie_ep_xfer_data_memcpy()
103 ret = pcie_ep_mapped_copy(mapped_addr, (uintptr_t)local_addr, in pcie_ep_xfer_data_memcpy()
113 sys_read8(mapped_addr); in pcie_ep_xfer_data_memcpy()
132 pcie_ep_unmap_addr(dev, mapped_addr); /* unmap previous Host buffer */ in pcie_ep_xfer_data_memcpy()
137 &mapped_addr, unmapped_size, in pcie_ep_xfer_data_memcpy()
[all …]
Dpcie_ep_iproc.c46 uint64_t *mapped_addr, uint32_t size, in iproc_pcie_map_addr() argument
106 *mapped_addr = pcie_ob_base + offset; in iproc_pcie_map_addr()
116 uint64_t mapped_addr) in iproc_pcie_unmap_addr() argument
123 if (mapped_addr >> 32) { in iproc_pcie_unmap_addr()
180 uint64_t mapped_addr, in iproc_pcie_pl330_dma_xfer() argument
204 dma_block_cfg.dest_address = mapped_addr; in iproc_pcie_pl330_dma_xfer()
207 dma_block_cfg.source_address = mapped_addr; in iproc_pcie_pl330_dma_xfer()
/Zephyr-Core-3.5.0/include/zephyr/drivers/pcie/endpoint/
Dpcie_ep.h65 uint64_t *mapped_addr, uint32_t size,
67 void (*unmap_addr)(const struct device *dev, uint64_t mapped_addr);
74 int (*dma_xfer)(const struct device *dev, uint64_t mapped_addr,
146 uint64_t *mapped_addr, uint32_t size, in pcie_ep_map_addr() argument
152 return api->map_addr(dev, pcie_addr, mapped_addr, size, ob_mem_type); in pcie_ep_map_addr()
167 uint64_t mapped_addr) in pcie_ep_unmap_addr() argument
172 api->unmap_addr(dev, mapped_addr); in pcie_ep_unmap_addr()
247 uint64_t mapped_addr, in pcie_ep_dma_xfer() argument
255 return api->dma_xfer(dev, mapped_addr, local_addr, size, dir); in pcie_ep_dma_xfer()
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_npcx_fiu_nor.c34 uintptr_t mapped_addr; member
250 memcpy(data, (void *)(config->mapped_addr + addr), size); in flash_npcx_nor_read()
600 .mapped_addr = DT_INST_PROP(n, mapped_addr), \