Lines Matching refs:offset
19 * This implementation supports a per-device offset that can be applied if
21 * can set archdata.dma_data to an unsigned long holding the offset. By
22 * default the offset is PCI_DRAM_OFFSET.
24 static inline void __dma_sync_page(unsigned long paddr, unsigned long offset,
29 flush_dcache_range(paddr + offset, paddr + offset + size);
32 invalidate_dcache_range(paddr + offset, paddr + offset + size);
92 __dma_sync_page(page_to_phys(sg_page(sg)), sg->offset,
112 unsigned long offset,
117 __dma_sync_page(page_to_phys(page), offset, size, direction);
118 return page_to_phys(page) + offset + get_dma_direct_offset(dev);