Home
last modified time | relevance | path

Searched refs:paddr (Results 1 – 4 of 4) sorted by relevance

/kernel/dma/
Ddirect.h58 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_device() local
60 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_device()
61 swiotlb_sync_single_for_device(dev, paddr, size, dir); in dma_direct_sync_single_for_device()
64 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device()
70 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_cpu() local
73 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu()
77 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_cpu()
78 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu()
81 arch_dma_mark_clean(paddr, size); in dma_direct_sync_single_for_cpu()
Ddirect.c421 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device() local
423 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_device()
424 swiotlb_sync_single_for_device(dev, paddr, sg->length, in dma_direct_sync_sg_for_device()
428 arch_sync_dma_for_device(paddr, sg->length, in dma_direct_sync_sg_for_device()
444 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu() local
447 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu()
449 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_cpu()
450 swiotlb_sync_single_for_cpu(dev, paddr, sg->length, in dma_direct_sync_sg_for_cpu()
454 arch_dma_mark_clean(paddr, sg->length); in dma_direct_sync_sg_for_cpu()
525 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, in dma_direct_map_resource() argument
[all …]
Dswiotlb.c247 phys_addr_t paddr = mem->start + swiotlb_unencrypted_base; in swiotlb_mem_remap() local
249 vaddr = memremap(paddr, bytes, MEMREMAP_WB); in swiotlb_mem_remap()
252 &paddr, bytes); in swiotlb_mem_remap()
907 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t paddr, size_t size, in swiotlb_map() argument
913 trace_swiotlb_bounced(dev, phys_to_dma(dev, paddr), size); in swiotlb_map()
915 swiotlb_addr = swiotlb_tbl_map_single(dev, paddr, size, size, 0, dir, in swiotlb_map()
/kernel/trace/
Dtrace_events_inject.c182 char **paddr; in trace_alloc_entry() local
184 paddr = (char **)(entry + field->offset); in trace_alloc_entry()
185 *paddr = ""; in trace_alloc_entry()
241 char **paddr; in parse_entry() local
243 paddr = (char **)(entry + field->offset); in parse_entry()
244 *paddr = INJECT_STRING; in parse_entry()