Lines Matching defs:end
179 static int cookie_init_hw_msi_region(struct iommu_dma_cookie *cookie, phys_addr_t start, phys_addr_t end)
186 num_pages = iova_align(iovad, end - start) >> iova_shift(iovad);
209 phys_addr_t start = 0, end;
218 hi = iova_pfn(iovad, window->res->end - window->offset);
225 end = window->res->start - window->offset;
227 if (end > start) {
229 hi = iova_pfn(iovad, end);
231 } else if (end < start) {
233 dev_err(&dev->dev, "Failed to reserve IOVA [%pa-%pa]\n", &start, &end);
237 start = window->res->end - window->offset + 1;
239 if (window->node.next == &bridge->dma_ranges && end != ~(phys_addr_t)0) {
240 end = ~(phys_addr_t)0;
993 dma_addr_t start, end;
1013 end = sg_dma_address(sg) + sg_dma_len(sg);
1014 iommu_dma_unmap_ext(dev, start, end - start);