Searched refs:phys_addr (Results 1 – 4 of 4) sorted by relevance
/kernel/dma/ |
D | coherent.c | 38 static struct dma_coherent_mem *dma_init_coherent_memory(phys_addr_t phys_addr, in dma_init_coherent_memory() argument 48 mem_base = memremap(phys_addr, size, MEMREMAP_WC); in dma_init_coherent_memory() 61 dma_mem->pfn_base = PFN_DOWN(phys_addr); in dma_init_coherent_memory() 73 &phys_addr, size / SZ_1M); in dma_init_coherent_memory() 117 int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, in dma_declare_coherent_memory() argument 123 mem = dma_init_coherent_memory(phys_addr, device_addr, size, false); in dma_declare_coherent_memory() 311 int dma_init_global_coherent(phys_addr_t phys_addr, size_t size) in dma_init_global_coherent() argument 315 mem = dma_init_coherent_memory(phys_addr, phys_addr, size, true); in dma_init_global_coherent()
|
D | debug.c | 390 static unsigned long long phys_addr(struct dma_debug_entry *entry) in phys_addr() function 417 phys_addr(entry), entry->pfn, in debug_dma_dump_mappings() 793 phys_addr(entry), entry->pfn, in dump_show() 996 (phys_addr(ref) != phys_addr(entry))) { in check_unmap() 1003 phys_addr(entry), in check_unmap() 1004 phys_addr(ref)); in check_unmap()
|
D | mapping.c | 295 dma_addr_t dma_map_resource(struct device *dev, phys_addr_t phys_addr, in dma_map_resource() argument 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()
|
/kernel/events/ |
D | core.c | 1872 size += sizeof(data->phys_addr); in __perf_event_header_size() 7253 perf_output_put(handle, data->phys_addr); in perf_output_sample() 7288 u64 phys_addr = 0; in perf_virt_to_phys() local 7297 phys_addr = (u64)virt_to_phys((void *)(uintptr_t)virt); in perf_virt_to_phys() 7311 phys_addr = page_to_phys(p) + virt % PAGE_SIZE; in perf_virt_to_phys() 7318 return phys_addr; in perf_virt_to_phys() 7572 data->phys_addr = perf_virt_to_phys(data->addr); in perf_prepare_sample()
|