Lines Matching refs:mapped_addr

59 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()
153 ret = pcie_ep_mapped_copy(mapped_addr, in pcie_ep_xfer_data_memcpy()
158 sys_read8(mapped_addr); in pcie_ep_xfer_data_memcpy()
161 pcie_ep_unmap_addr(dev, mapped_addr); in pcie_ep_xfer_data_memcpy()
175 uint64_t mapped_addr; in pcie_ep_xfer_data_dma() local
181 mapped_size = pcie_ep_map_addr(dev, pcie_addr, &mapped_addr, in pcie_ep_xfer_data_dma()
188 ret = pcie_ep_dma_xfer(dev, mapped_addr, (uintptr_t)local_addr, in pcie_ep_xfer_data_dma()
197 if (IS_ENABLED(CONFIG_64BIT) || !(mapped_addr >> 32)) { in pcie_ep_xfer_data_dma()
198 sys_read8(mapped_addr); in pcie_ep_xfer_data_dma()
202 pcie_ep_unmap_addr(dev, mapped_addr); in pcie_ep_xfer_data_dma()
209 (mapped_addr >> 32)) { in pcie_ep_xfer_data_dma()
230 &mapped_addr, unmapped_size, in pcie_ep_xfer_data_dma()
246 ret = pcie_ep_dma_xfer(dev, mapped_addr, in pcie_ep_xfer_data_dma()
256 if (IS_ENABLED(CONFIG_64BIT) || !(mapped_addr >> 32)) { in pcie_ep_xfer_data_dma()
257 sys_read8(mapped_addr); in pcie_ep_xfer_data_dma()
261 pcie_ep_unmap_addr(dev, mapped_addr); in pcie_ep_xfer_data_dma()
268 (mapped_addr >> 32)) { in pcie_ep_xfer_data_dma()
277 pcie_ep_unmap_addr(dev, mapped_addr); in pcie_ep_xfer_data_dma()