Lines Matching refs:start
402 phys_addr_t start, phys_addr_t end)
408 start -= iova_offset(iovad, start);
409 num_pages = iova_align(iovad, end - start) >> iova_shift(iovad);
416 msi_page->phys = start;
417 msi_page->iova = start;
420 start += iovad->granule;
432 return res_a->res->start > res_b->res->start;
441 phys_addr_t start = 0, end;
447 lo = iova_pfn(iovad, window->res->start - window->offset);
455 end = window->res->start - window->offset;
457 if (end > start) {
458 lo = iova_pfn(iovad, start);
461 } else if (end < start) {
465 &start, &end);
469 start = window->res->end - window->offset + 1;
504 lo = iova_pfn(iovad, region->start);
505 hi = iova_pfn(iovad, region->start + region->length - 1);
509 ret = cookie_init_hw_msi_region(cookie, region->start,
510 region->start + region->length);
1043 * If both the physical buffer start address and size are
1111 * segment's start address to avoid concatenating across one.
1159 /* Otherwise start the next output segment */
1315 * - If mask size < IOVA size, then the IOVA range must start
1364 dma_addr_t end = 0, start;
1378 * contiguous IOVA allocation, the start and end points
1390 start = sg_dma_address(tmp);
1408 __iommu_dma_unmap(dev, start, end - start);