Searched refs:paddr (Results 1 – 4 of 4) sorted by relevance
/kernel/dma/ |
D | direct.h | 57 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_device() local 59 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_device() 60 swiotlb_sync_single_for_device(dev, paddr, size, dir); in dma_direct_sync_single_for_device() 63 arch_sync_dma_for_device(paddr, size, dir); in dma_direct_sync_single_for_device() 69 phys_addr_t paddr = dma_to_phys(dev, addr); in dma_direct_sync_single_for_cpu() local 72 arch_sync_dma_for_cpu(paddr, size, dir); in dma_direct_sync_single_for_cpu() 76 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_single_for_cpu() 77 swiotlb_sync_single_for_cpu(dev, paddr, size, dir); in dma_direct_sync_single_for_cpu() 80 arch_dma_mark_clean(paddr, size); in dma_direct_sync_single_for_cpu()
|
D | direct.c | 386 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device() local 388 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_device() 389 swiotlb_sync_single_for_device(dev, paddr, sg->length, in dma_direct_sync_sg_for_device() 393 arch_sync_dma_for_device(paddr, sg->length, in dma_direct_sync_sg_for_device() 409 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu() local 412 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu() 414 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_cpu() 415 swiotlb_sync_single_for_cpu(dev, paddr, sg->length, in dma_direct_sync_sg_for_cpu() 419 arch_dma_mark_clean(paddr, sg->length); in dma_direct_sync_sg_for_cpu() 459 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, in dma_direct_map_resource() argument [all …]
|
D | swiotlb.c | 680 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t paddr, size_t size, in swiotlb_map() argument 686 trace_swiotlb_bounced(dev, phys_to_dma(dev, paddr), size, in swiotlb_map() 689 swiotlb_addr = swiotlb_tbl_map_single(dev, paddr, size, size, 0, dir, in swiotlb_map()
|
/kernel/trace/ |
D | trace_events_inject.c | 178 char **paddr; in trace_alloc_entry() local 180 paddr = (char **)(entry + field->offset); in trace_alloc_entry() 181 *paddr = ""; in trace_alloc_entry() 234 char **paddr; in parse_entry() local 236 paddr = (char **)(entry + field->offset); in parse_entry() 237 *paddr = INJECT_STRING; in parse_entry()
|