Lines Matching defs:handle
45 static void dma_cache_maint(struct device *dev, dma_addr_t handle,
50 cflush.offset = xen_offset_in_page(handle);
52 handle &= XEN_PAGE_MASK;
55 cflush.a.dev_bus_addr = dma_to_phys(dev, handle);
65 handle += cflush.length;
77 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
81 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
84 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
88 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
90 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_CLEAN);