• Home
  • Raw
  • Download

Lines Matching refs:addr

148 	dma_addr_t addr;  in dma_map_page_attrs()  local
157 addr = dma_direct_map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
159 addr = ops->map_page(dev, page, offset, size, dir, attrs); in dma_map_page_attrs()
161 debug_dma_map_page(dev, page, offset, size, dir, addr, attrs); in dma_map_page_attrs()
163 return addr; in dma_map_page_attrs()
167 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs() argument
174 arch_dma_unmap_page_direct(dev, addr + size)) in dma_unmap_page_attrs()
175 dma_direct_unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
177 ops->unmap_page(dev, addr, size, dir, attrs); in dma_unmap_page_attrs()
178 debug_dma_unmap_page(dev, addr, size, dir); in dma_unmap_page_attrs()
299 dma_addr_t addr = DMA_MAPPING_ERROR; in dma_map_resource() local
307 addr = dma_direct_map_resource(dev, phys_addr, size, dir, attrs); in dma_map_resource()
309 addr = ops->map_resource(dev, phys_addr, size, dir, attrs); in dma_map_resource()
311 debug_dma_map_resource(dev, phys_addr, size, dir, addr, attrs); in dma_map_resource()
312 return addr; in dma_map_resource()
316 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_resource() argument
323 ops->unmap_resource(dev, addr, size, dir, attrs); in dma_unmap_resource()
324 debug_dma_unmap_resource(dev, addr, size, dir); in dma_unmap_resource()
328 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_cpu() argument
335 dma_direct_sync_single_for_cpu(dev, addr, size, dir); in dma_sync_single_for_cpu()
337 ops->sync_single_for_cpu(dev, addr, size, dir); in dma_sync_single_for_cpu()
338 debug_dma_sync_single_for_cpu(dev, addr, size, dir); in dma_sync_single_for_cpu()
342 void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, in dma_sync_single_for_device() argument
349 dma_direct_sync_single_for_device(dev, addr, size, dir); in dma_sync_single_for_device()
351 ops->sync_single_for_device(dev, addr, size, dir); in dma_sync_single_for_device()
352 debug_dma_sync_single_for_device(dev, addr, size, dir); in dma_sync_single_for_device()