Searched refs:mapped_size (Results 1 – 2 of 2) sorted by relevance
92 int mapped_size, ret; in pcie_ep_xfer_data_memcpy() local96 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 …]
52 uint32_t mapped_size; in iproc_pcie_map_addr() local107 mapped_size = pcie_ob_size - offset; in iproc_pcie_map_addr()108 ret = ((mapped_size >= size) ? size : mapped_size); in iproc_pcie_map_addr()