/linux/include/linux/ |
A D | memblock.h | 114 int memblock_add(phys_addr_t base, phys_addr_t size); 115 int memblock_remove(phys_addr_t base, phys_addr_t size); 117 int memblock_reserve(phys_addr_t base, phys_addr_t size); 123 phys_addr_t base, phys_addr_t size); 401 phys_addr_t memblock_phys_alloc_range(phys_addr_t size, phys_addr_t align, 402 phys_addr_t start, phys_addr_t end); 404 phys_addr_t align, phys_addr_t start, 406 phys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); 416 phys_addr_t min_addr, phys_addr_t max_addr, 419 phys_addr_t min_addr, phys_addr_t max_addr, [all …]
|
A D | cma.h | 26 extern phys_addr_t cma_get_base(const struct cma *cma); 30 extern int __init cma_declare_contiguous_nid(phys_addr_t base, 31 phys_addr_t size, phys_addr_t limit, 32 phys_addr_t alignment, unsigned int order_per_bit, 35 static inline int __init cma_declare_contiguous(phys_addr_t base, in cma_declare_contiguous() 36 phys_addr_t size, phys_addr_t limit, in cma_declare_contiguous() 37 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous() 43 extern int cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
|
A D | mbus.h | 60 int mvebu_mbus_get_io_win_info(phys_addr_t phyaddr, u32 *size, u8 *target, 71 static inline int mvebu_mbus_get_io_win_info(phys_addr_t phyaddr, u32 *size, in mvebu_mbus_get_io_win_info() 89 int mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr); 92 phys_addr_t base, size_t size, 93 phys_addr_t remap); 95 phys_addr_t base, size_t size); 96 int mvebu_mbus_del_window(phys_addr_t base, size_t size); 97 int mvebu_mbus_init(const char *soc, phys_addr_t mbus_phys_base, 98 size_t mbus_size, phys_addr_t sdram_phys_base, 102 static inline int mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, in mvebu_mbus_get_dram_win_info()
|
A D | swiotlb.h | 46 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, phys_addr_t phys, 52 phys_addr_t tlb_addr, 57 void swiotlb_sync_single_for_device(struct device *dev, phys_addr_t tlb_addr, 59 void swiotlb_sync_single_for_cpu(struct device *dev, phys_addr_t tlb_addr, 61 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys, 93 phys_addr_t start; 94 phys_addr_t end; 104 phys_addr_t orig_addr; 111 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() 132 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer()
|
A D | dma-map-ops.h | 111 void dma_contiguous_reserve(phys_addr_t addr_limit); 112 int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, 113 phys_addr_t limit, struct cma **res_cma, bool fixed); 128 static inline void dma_contiguous_reserve(phys_addr_t limit) in dma_contiguous_reserve() 131 static inline int dma_contiguous_reserve_area(phys_addr_t size, in dma_contiguous_reserve_area() 132 phys_addr_t base, phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area() 176 phys_addr_t phys_addr, dma_addr_t device_addr, size_t size) in dma_declare_coherent_memory() 243 bool (*phys_addr_ok)(struct device *, phys_addr_t, size_t)); 290 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, 300 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, [all …]
|
A D | dma-direct.h | 21 phys_addr_t cpu_start; 28 phys_addr_t paddr) in translate_phys_to_dma() 40 static inline phys_addr_t translate_dma_to_phys(struct device *dev, in translate_dma_to_phys() 47 return (phys_addr_t)dma_addr + m->offset; in translate_dma_to_phys() 49 return (phys_addr_t)-1; in translate_dma_to_phys() 59 phys_addr_t paddr) in phys_to_dma_unencrypted() 72 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 77 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() 79 phys_addr_t paddr; in dma_to_phys() 124 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr,
|
A D | kmemleak.h | 32 extern void kmemleak_alloc_phys(phys_addr_t phys, size_t size, int min_count, 34 extern void kmemleak_free_part_phys(phys_addr_t phys, size_t size) __ref; 35 extern void kmemleak_not_leak_phys(phys_addr_t phys) __ref; 36 extern void kmemleak_ignore_phys(phys_addr_t phys) __ref; 109 static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, in kmemleak_alloc_phys() 113 static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) in kmemleak_free_part_phys() 116 static inline void kmemleak_not_leak_phys(phys_addr_t phys) in kmemleak_not_leak_phys() 119 static inline void kmemleak_ignore_phys(phys_addr_t phys) in kmemleak_ignore_phys()
|
/linux/mm/ |
A D | memblock.c | 166 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size) in memblock_cap_size() 181 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region() 284 phys_addr_t align, phys_addr_t start, in memblock_find_in_range_node() 319 phys_addr_t end, phys_addr_t size, in memblock_find_in_range() 568 phys_addr_t base, phys_addr_t size, in memblock_add_range() 715 phys_addr_t base, phys_addr_t size, in memblock_isolate_range() 775 phys_addr_t base, phys_addr_t size) in memblock_remove_range() 1470 phys_addr_t size, phys_addr_t align, in memblock_alloc_internal() 1520 phys_addr_t size, phys_addr_t align, in memblock_alloc_exact_nid_raw() 1552 phys_addr_t size, phys_addr_t align, in memblock_alloc_try_nid_raw() [all …]
|
A D | memtest.c | 28 static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad, phys_addr_t end_bad) in reserve_bad_mem() 35 static void __init memtest(u64 pattern, phys_addr_t start_phys, phys_addr_t size) in memtest() 38 phys_addr_t start_bad, last_bad; in memtest() 39 phys_addr_t start_phys_aligned; in memtest() 66 static void __init do_one_pass(u64 pattern, phys_addr_t start, phys_addr_t end) in do_one_pass() 69 phys_addr_t this_start, this_end; in do_one_pass() 100 void __init early_memtest(phys_addr_t start, phys_addr_t end) in early_memtest()
|
/linux/arch/arm/include/asm/ |
A D | outercache.h | 40 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range() 51 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range() 62 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range() 108 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range() 110 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range() 112 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range()
|
A D | memory.h | 250 phys_addr_t t; in __virt_to_phys_nodebug() 252 if (sizeof(phys_addr_t) == 4) { in __virt_to_phys_nodebug() 260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() 281 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug() 284 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() 298 extern phys_addr_t __virt_to_phys(unsigned long x); 299 extern phys_addr_t __phys_addr_symbol(unsigned long x); 318 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() 328 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) 345 static inline unsigned long phys_to_idmap(phys_addr_t addr) in phys_to_idmap() [all …]
|
/linux/include/linux/clk/ |
A D | mmp.h | 7 extern void pxa168_clk_init(phys_addr_t mpmu_phys, 8 phys_addr_t apmu_phys, 9 phys_addr_t apbc_phys); 10 extern void pxa910_clk_init(phys_addr_t mpmu_phys, 11 phys_addr_t apmu_phys, 12 phys_addr_t apbc_phys, 13 phys_addr_t apbcp_phys); 14 extern void mmp2_clk_init(phys_addr_t mpmu_phys, 15 phys_addr_t apmu_phys, 16 phys_addr_t apbc_phys);
|
/linux/drivers/staging/media/atomisp/pci/mmu/ |
A D | isp_mmu.c | 86 phys_addr_t phys) in isp_pgaddr_to_pte_valid() 100 phys_addr_t page; in alloc_page_table() 106 return (phys_addr_t)NULL_PAGE; in alloc_page_table() 146 phys_addr_t new_phys) in mmu_remap_error() 246 phys_addr_t phys) in mmu_l1_map() 248 phys_addr_t l2_pt; in mmu_l1_map() 321 phys_addr_t l1_pt; in mmu_map() 404 phys_addr_t l2_pt; in mmu_l1_unmap() 452 phys_addr_t l1_pt; in mmu_unmap() 487 phys_addr_t phys, unsigned int pgnr) in isp_mmu_map() [all …]
|
/linux/arch/mips/cavium-octeon/ |
A D | dma-octeon.c | 31 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); 32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); 35 static dma_addr_t octeon_hole_phys_to_dma(phys_addr_t paddr) in octeon_hole_phys_to_dma() 43 static phys_addr_t octeon_hole_dma_to_phys(dma_addr_t daddr) in octeon_hole_dma_to_phys() 116 phys_addr_t paddr) in octeon_small_phys_to_dma() 130 static phys_addr_t octeon_small_dma_to_phys(struct device *dev, in octeon_small_dma_to_phys() 171 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 180 phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys() 193 phys_addr_t start, end; in plat_swiotlb_setup() 194 phys_addr_t max_addr; in plat_swiotlb_setup() [all …]
|
/linux/arch/powerpc/mm/ |
A D | mmu_decl.h | 92 extern void setbat(int index, unsigned long virt, phys_addr_t phys, 104 extern phys_addr_t __initial_memory_limit_addr; 105 extern phys_addr_t total_memory; 106 extern phys_addr_t total_lowmem; 107 extern phys_addr_t memstart_addr; 108 extern phys_addr_t lowmem_end_addr; 131 phys_addr_t phys); 144 void kaslr_early_init(void *dt_ptr, phys_addr_t size); 147 static inline void kaslr_early_init(void *dt_ptr, phys_addr_t size) {} in kaslr_early_init() 164 phys_addr_t v_block_mapped(unsigned long va); [all …]
|
/linux/kernel/dma/ |
A D | contiguous.c | 72 static const phys_addr_t size_bytes __initconst = 73 (phys_addr_t)CMA_SIZE_MBYTES * SZ_1M; 74 static phys_addr_t size_cmdline __initdata = -1; 75 static phys_addr_t base_cmdline __initdata; 76 static phys_addr_t limit_cmdline __initdata; 102 static phys_addr_t pernuma_size_bytes __initdata; 169 phys_addr_t selected_size = 0; in dma_contiguous_reserve() 170 phys_addr_t selected_base = 0; in dma_contiguous_reserve() 171 phys_addr_t selected_limit = limit; in dma_contiguous_reserve() 227 int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, in dma_contiguous_reserve_area() [all …]
|
/linux/arch/riscv/mm/ |
A D | init.c | 40 phys_addr_t phys_ram_base __ro_after_init; 57 pte_t *(*get_pte_virt)(phys_addr_t pa); 58 phys_addr_t (*alloc_pte)(uintptr_t va); 60 pmd_t *(*get_pmd_virt)(phys_addr_t pa); 61 phys_addr_t (*alloc_pmd)(uintptr_t va); 167 phys_addr_t phys_ram_end; in setup_bootmem() 313 uintptr_t va, phys_addr_t pa, in create_pte_mapping() 379 phys_addr_t pte_phys; in create_pmd_mapping() 422 phys_addr_t next_phys; in create_pgd_mapping() 444 static uintptr_t __init best_map_size(phys_addr_t base, phys_addr_t size) in best_map_size() [all …]
|
/linux/arch/arm/mm/ |
A D | pmsa-v7.c | 20 phys_addr_t base; 21 phys_addr_t size; 146 static bool __init try_split_region(phys_addr_t base, phys_addr_t size, struct region *region) in try_split_region() 149 phys_addr_t abase = base & ~(size - 1); in try_split_region() 151 phys_addr_t p2size = 1 << __fls(asize); in try_split_region() 152 phys_addr_t bdiff, sdiff; in try_split_region() 189 static int __init allocate_region(phys_addr_t base, phys_addr_t size, in allocate_region() 193 phys_addr_t diff = size; in allocate_region() 234 phys_addr_t mem_start; in pmsav7_adjust_lowmem_bounds() 235 phys_addr_t mem_end; in pmsav7_adjust_lowmem_bounds() [all …]
|
/linux/include/linux/soc/qcom/ |
A D | mdt_loader.h | 19 phys_addr_t mem_phys, size_t mem_size, 20 phys_addr_t *reloc_base); 24 phys_addr_t mem_phys, size_t mem_size, 25 phys_addr_t *reloc_base); 37 void *mem_region, phys_addr_t mem_phys, in qcom_mdt_load() 38 size_t mem_size, phys_addr_t *reloc_base) in qcom_mdt_load() 46 void *mem_region, phys_addr_t mem_phys, in qcom_mdt_load_no_init() 48 phys_addr_t *reloc_base) in qcom_mdt_load_no_init()
|
/linux/arch/arc/mm/ |
A D | cache.c | 34 void (*__dma_cache_wback_inv)(phys_addr_t start, unsigned long sz); 35 void (*__dma_cache_inv)(phys_addr_t start, unsigned long sz); 36 void (*__dma_cache_wback)(phys_addr_t start, unsigned long sz); 552 phys_addr_t paddr, vaddr; 597 phys_addr_t end; in slc_op_rgn() 778 phys_addr_t paddr = (unsigned long)page_address(page); in flush_dcache_page() 837 void dma_cache_inv(phys_addr_t start, unsigned long sz) in dma_cache_inv() 843 void dma_cache_wback(phys_addr_t start, unsigned long sz) in dma_cache_wback() 961 phys_addr_t paddr = pfn << PAGE_SHIFT; in flush_cache_page() 982 __flush_dcache_page((phys_addr_t)page_address(page), in flush_anon_page() [all …]
|
/linux/arch/mips/alchemy/devboards/ |
A D | platform.h | 7 int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, 8 phys_addr_t pcmcia_attr_len, 9 phys_addr_t pcmcia_mem_start, 10 phys_addr_t pcmcia_mem_end, 11 phys_addr_t pcmcia_io_start, 12 phys_addr_t pcmcia_io_end,
|
/linux/drivers/xen/ |
A D | swiotlb-xen.c | 48 static inline phys_addr_t xen_phys_to_bus(struct device *dev, phys_addr_t paddr) in xen_phys_to_bus() 51 phys_addr_t baddr = (phys_addr_t)bfn << XEN_PAGE_SHIFT; in xen_phys_to_bus() 63 phys_addr_t baddr) in xen_bus_to_phys() 66 phys_addr_t paddr = (xen_pfn << XEN_PAGE_SHIFT) | in xen_bus_to_phys() 96 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; in is_xen_swiotlb_buffer() 113 phys_addr_t p = virt_to_phys(buf); in xen_swiotlb_fixup() 269 phys_addr_t phys; in xen_swiotlb_alloc_coherent() 323 phys_addr_t phys; in xen_swiotlb_free_coherent() 384 if (map == (phys_addr_t)DMA_MAPPING_ERROR) in xen_swiotlb_map_page() 440 phys_addr_t paddr = xen_dma_to_phys(dev, dma_addr); in xen_swiotlb_sync_single_for_cpu() [all …]
|
/linux/arch/powerpc/mm/nohash/ |
A D | fsl_book3e.c | 60 phys_addr_t phys; 72 phys_addr_t v_block_mapped(unsigned long va) in v_block_mapped() 84 unsigned long p_block_mapped(phys_addr_t pa) in p_block_mapped() 145 phys_addr_t phys) in calc_cam_sz() 233 phys_addr_t phys = memstart_addr; in map_mem_in_cams() 273 ram = min((phys_addr_t)__max_low_memory, (phys_addr_t)total_lowmem); in adjust_total_lowmem() 307 void setup_initial_memory_limit(phys_addr_t first_memblock_base, in setup_initial_memory_limit() 308 phys_addr_t first_memblock_size) in setup_initial_memory_limit() 310 phys_addr_t limit = first_memblock_base + first_memblock_size; in setup_initial_memory_limit() 318 notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start) in relocate_init() [all …]
|
/linux/drivers/net/wwan/iosm/ |
A D | iosm_ipc_protocol.h | 62 phys_addr_t device_info_addr; 63 phys_addr_t head_array; 64 phys_addr_t tail_array; 65 phys_addr_t msg_head; 66 phys_addr_t msg_tail; 67 phys_addr_t msg_ring_addr; 125 phys_addr_t phy_ap_shm;
|
/linux/arch/arm64/include/asm/ |
A D | kexec.h | 103 phys_addr_t dtb_mem; 104 phys_addr_t kern_reloc; 105 phys_addr_t el2_vectors; 106 phys_addr_t ttbr0; 107 phys_addr_t ttbr1; 108 phys_addr_t zero_page;
|