Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pcie/endpoint/
Dpcie_ep_common.c92 int mapped_size, ret; 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()
99 if (mapped_size < 0) { in pcie_ep_xfer_data_memcpy()
100 return mapped_size; in pcie_ep_xfer_data_memcpy()
104 mapped_size, dir); in pcie_ep_xfer_data_memcpy()
117 if (mapped_size == size) { in pcie_ep_xfer_data_memcpy()
133 xfer_size = mapped_size; /* save already transferred data size */ in pcie_ep_xfer_data_memcpy()
135 unmapped_size = size - mapped_size; in pcie_ep_xfer_data_memcpy()
136 mapped_size = pcie_ep_map_addr(dev, pcie_addr + xfer_size, in pcie_ep_xfer_data_memcpy()
140 if (mapped_size < 0) { in pcie_ep_xfer_data_memcpy()
[all …]
Dpcie_ep_iproc.c52 uint32_t mapped_size; in iproc_pcie_map_addr() local
107 mapped_size = pcie_ob_size - offset; in iproc_pcie_map_addr()
108 ret = ((mapped_size >= size) ? size : mapped_size); in iproc_pcie_map_addr()