Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 8 of 8) sorted by relevance

/kernel/dma/
Ddirect.c39 phys_addr_t phys) in phys_to_dma_direct() argument
42 return __phys_to_dma(dev, phys); in phys_to_dma_direct()
43 return phys_to_dma(dev, phys); in phys_to_dma_direct()
79 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() argument
81 return phys_to_dma_direct(dev, phys) + size - 1 <= in dma_coherent_ok()
302 phys_addr_t phys = dma_to_phys(dev, addr); in dma_direct_unmap_page() local
307 if (unlikely(is_swiotlb_buffer(phys))) in dma_direct_unmap_page()
308 swiotlb_tbl_unmap_single(dev, phys, size, size, dir, attrs); in dma_direct_unmap_page()
336 phys_addr_t phys = page_to_phys(page) + offset; in dma_direct_map_page() local
337 dma_addr_t dma_addr = phys_to_dma(dev, phys); in dma_direct_map_page()
[all …]
Dswiotlb.c662 bool swiotlb_map(struct device *dev, phys_addr_t *phys, dma_addr_t *dma_addr, in swiotlb_map() argument
669 "Cannot do DMA to address %pa\n", phys); in swiotlb_map()
674 *phys = swiotlb_tbl_map_single(dev, __phys_to_dma(dev, io_tlb_start), in swiotlb_map()
675 *phys, size, size, dir, attrs); in swiotlb_map()
676 if (*phys == (phys_addr_t)DMA_MAPPING_ERROR) in swiotlb_map()
680 *dma_addr = __phys_to_dma(dev, *phys); in swiotlb_map()
682 swiotlb_tbl_unmap_single(dev, *phys, size, size, dir, in swiotlb_map()
Dremap.c196 phys_addr_t phys = gen_pool_virt_to_phys(atomic_pool, val); in dma_alloc_from_pool() local
198 *ret_page = pfn_to_page(__phys_to_pfn(phys)); in dma_alloc_from_pool()
255 phys_addr_t phys = dma_to_phys(dev, dma_handle); in arch_dma_free() local
256 struct page *page = pfn_to_page(__phys_to_pfn(phys)); in arch_dma_free()
/kernel/
Dup.c95 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu() argument
102 if (phys) in smp_call_on_cpu()
105 if (phys) in smp_call_on_cpu()
Dsmp.c800 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu() argument
806 .cpu = phys ? cpu : -1, in smp_call_on_cpu()
/kernel/trace/
Dtrace_entries.h283 __field_desc( resource_size_t, rw, phys )
292 (unsigned long)__entry->phys, __entry->value, __entry->pc,
304 __field_desc( resource_size_t, map, phys )
312 (unsigned long)__entry->phys, __entry->virt, __entry->len,
Dtrace_mmiotrace.c185 (unsigned long long)rw->phys, in mmio_print_rw()
192 (unsigned long long)rw->phys, in mmio_print_rw()
200 (unsigned long long)rw->phys, in mmio_print_rw()
230 (unsigned long long)m->phys, m->virt, m->len, in mmio_print_map()
/kernel/debug/kdb/
Dkdb_main.c1489 int num, int repeat, int phys) in kdb_md_line() argument
1500 if (phys) in kdb_md_line()
1506 if (phys) { in kdb_md_line()
1564 int phys = 0; in kdb_md() local
1602 phys = valid = 1; in kdb_md()
1717 if (phys) { in kdb_md()
1726 num, repeat, phys); in kdb_md()