Lines Matching defs:handle
47 static void dma_cache_maint(struct device *dev, dma_addr_t handle,
52 cflush.offset = xen_offset_in_page(handle);
54 handle &= XEN_PAGE_MASK;
57 cflush.a.dev_bus_addr = dma_to_phys(dev, handle);
67 handle += cflush.length;
79 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
83 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
86 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
90 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
92 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_CLEAN);