Home
last modified time | relevance | path

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

/kernel/dma/
Ddirect.h87 phys_addr_t phys = page_to_phys(page) + offset; in dma_direct_map_page() local
88 dma_addr_t dma_addr = phys_to_dma(dev, phys); in dma_direct_map_page()
91 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
95 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_page()
104 arch_sync_dma_for_device(phys, size, dir); in dma_direct_map_page()
111 phys_addr_t phys = dma_to_phys(dev, addr); in dma_direct_unmap_page() local
116 if (unlikely(is_swiotlb_buffer(dev, phys))) in dma_direct_unmap_page()
117 swiotlb_tbl_unmap_single(dev, phys, size, dir, in dma_direct_unmap_page()
Dpool.c245 phys_addr_t phys; in __dma_alloc_from_pool() local
251 phys = gen_pool_virt_to_phys(pool, addr); in __dma_alloc_from_pool()
252 if (phys_addr_ok && !phys_addr_ok(dev, phys, size)) { in __dma_alloc_from_pool()
262 return pfn_to_page(__phys_to_pfn(phys)); in __dma_alloc_from_pool()
Ddirect.c26 phys_addr_t phys) in phys_to_dma_direct() argument
29 return phys_to_dma_unencrypted(dev, phys); in phys_to_dma_direct()
30 return phys_to_dma(dev, phys); in phys_to_dma_direct()
41 phys_addr_t phys = (phys_addr_t)(max_pfn - 1) << PAGE_SHIFT; in dma_direct_get_required_mask() local
42 u64 max_dma = phys_to_dma_direct(dev, phys); in dma_direct_get_required_mask()
69 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() argument
71 dma_addr_t dma_addr = phys_to_dma_direct(dev, phys); in dma_coherent_ok()
/kernel/
Dup.c58 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu() argument
65 if (phys) in smp_call_on_cpu()
68 if (phys) in smp_call_on_cpu()
Dsmp.c1220 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu() argument
1226 .cpu = phys ? cpu : -1, in smp_call_on_cpu()
/kernel/trace/
Dtrace_entries.h261 __field_desc( resource_size_t, rw, phys )
270 (unsigned long)__entry->phys, __entry->value, __entry->pc,
280 __field_desc( resource_size_t, map, phys )
288 (unsigned long)__entry->phys, __entry->virt, __entry->len,
Dtrace_mmiotrace.c183 (unsigned long long)rw->phys, in mmio_print_rw()
190 (unsigned long long)rw->phys, in mmio_print_rw()
198 (unsigned long long)rw->phys, in mmio_print_rw()
228 (unsigned long long)m->phys, m->virt, m->len, in mmio_print_map()
/kernel/debug/kdb/
Dkdb_main.c1532 int num, int repeat, int phys) in kdb_md_line() argument
1543 if (phys) in kdb_md_line()
1549 if (phys) { in kdb_md_line()
1607 int phys = 0; in kdb_md() local
1645 phys = valid = 1; in kdb_md()
1760 if (phys) { in kdb_md()
1769 num, repeat, phys); in kdb_md()