Home
last modified time | relevance | path

Searched refs:phys_addr_t (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-4.19.296/include/linux/
Dmemblock.h45 phys_addr_t base;
46 phys_addr_t size;
64 phys_addr_t total_size;
79 phys_addr_t current_limit;
102 phys_addr_t memblock_find_in_range_node(phys_addr_t size, phys_addr_t align,
103 phys_addr_t start, phys_addr_t end,
105 phys_addr_t memblock_find_in_range(phys_addr_t start, phys_addr_t end,
106 phys_addr_t size, phys_addr_t align);
108 int memblock_add_node(phys_addr_t base, phys_addr_t size, int nid);
109 int memblock_add(phys_addr_t base, phys_addr_t size);
[all …]
Dbootmem.h172 #define BOOTMEM_ALLOC_ANYWHERE (~(phys_addr_t)0)
175 void *memblock_virt_alloc_try_nid_raw(phys_addr_t size, phys_addr_t align,
176 phys_addr_t min_addr,
177 phys_addr_t max_addr, int nid);
178 void *memblock_virt_alloc_try_nid_nopanic(phys_addr_t size,
179 phys_addr_t align, phys_addr_t min_addr,
180 phys_addr_t max_addr, int nid);
181 void *memblock_virt_alloc_try_nid(phys_addr_t size, phys_addr_t align,
182 phys_addr_t min_addr, phys_addr_t max_addr, int nid);
183 void __memblock_free_early(phys_addr_t base, phys_addr_t size);
[all …]
Ddma-contiguous.h83 void dma_contiguous_reserve(phys_addr_t addr_limit);
85 int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base,
86 phys_addr_t limit, struct cma **res_cma,
102 static inline int dma_declare_contiguous(struct device *dev, phys_addr_t size, in dma_declare_contiguous()
103 phys_addr_t base, phys_addr_t limit) in dma_declare_contiguous()
130 static inline void dma_contiguous_reserve(phys_addr_t limit) { } in dma_contiguous_reserve()
132 static inline int dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, in dma_contiguous_reserve_area()
133 phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area()
140 int dma_declare_contiguous(struct device *dev, phys_addr_t size, in dma_declare_contiguous()
141 phys_addr_t base, phys_addr_t limit) in dma_declare_contiguous()
Dof_reserved_mem.h15 phys_addr_t base;
16 phys_addr_t size;
38 int early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
39 phys_addr_t align,
40 phys_addr_t start,
41 phys_addr_t end,
43 phys_addr_t *res_base);
47 phys_addr_t base, phys_addr_t size);
59 const char *uname, phys_addr_t base, phys_addr_t size) { } in fdt_reserved_mem_save_node()
Dmbus.h60 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()
Dcma.h23 extern phys_addr_t cma_get_base(const struct cma *cma);
27 extern int __init cma_declare_contiguous(phys_addr_t base,
28 phys_addr_t size, phys_addr_t limit,
29 phys_addr_t alignment, unsigned int order_per_bit,
31 extern int cma_init_reserved_mem(phys_addr_t base, phys_addr_t size,
Dqcom_scm.h52 extern int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr,
53 phys_addr_t size);
56 extern int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,
65 extern int qcom_scm_io_readl(phys_addr_t addr, unsigned int *val);
66 extern int qcom_scm_io_writel(phys_addr_t addr, unsigned int val);
88 static inline int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, in qcom_scm_pas_mem_setup()
89 phys_addr_t size) { return -ENODEV; } in qcom_scm_pas_mem_setup()
93 static inline int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, in qcom_scm_assign_mem()
104 static inline int qcom_scm_io_readl(phys_addr_t addr, unsigned int *val) { return -ENODEV; } in qcom_scm_io_readl()
105 static inline int qcom_scm_io_writel(phys_addr_t addr, unsigned int val) { return -ENODEV; } in qcom_scm_io_writel()
Ddma-direct.h11 static inline dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr) in __phys_to_dma()
18 static inline phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t dev_addr) in __dma_to_phys()
20 phys_addr_t paddr = (phys_addr_t)dev_addr; in __dma_to_phys()
22 return paddr + ((phys_addr_t)dev->dma_pfn_offset << PAGE_SHIFT); in __dma_to_phys()
40 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
45 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys()
Dkmemleak.h44 extern void kmemleak_alloc_phys(phys_addr_t phys, size_t size, int min_count,
46 extern void kmemleak_free_part_phys(phys_addr_t phys, size_t size) __ref;
47 extern void kmemleak_not_leak_phys(phys_addr_t phys) __ref;
48 extern void kmemleak_ignore_phys(phys_addr_t phys) __ref;
121 static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, in kmemleak_alloc_phys()
125 static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) in kmemleak_free_part_phys()
128 static inline void kmemleak_not_leak_phys(phys_addr_t phys) in kmemleak_not_leak_phys()
131 static inline void kmemleak_ignore_phys(phys_addr_t phys) in kmemleak_ignore_phys()
Dswiotlb.h50 #define SWIOTLB_MAP_ERROR (~(phys_addr_t)0x0)
52 extern phys_addr_t swiotlb_tbl_map_single(struct device *hwdev,
54 phys_addr_t phys, size_t size,
59 phys_addr_t tlb_addr,
64 phys_addr_t tlb_addr,
124 extern int is_swiotlb_buffer(phys_addr_t paddr);
Dpci-epc.h51 phys_addr_t addr, u64 pci_addr, size_t size);
53 phys_addr_t addr);
75 phys_addr_t phys_base;
152 phys_addr_t phys_addr,
155 phys_addr_t phys_addr);
167 int __pci_epc_mem_init(struct pci_epc *epc, phys_addr_t phys_addr, size_t size,
171 phys_addr_t *phys_addr, size_t size);
172 void pci_epc_mem_free_addr(struct pci_epc *epc, phys_addr_t phys_addr,
Ddma-noncoherent.h28 void arch_sync_dma_for_device(struct device *dev, phys_addr_t paddr,
32 phys_addr_t paddr, size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
38 void arch_sync_dma_for_cpu(struct device *dev, phys_addr_t paddr,
42 phys_addr_t paddr, size_t size, enum dma_data_direction dir) in arch_sync_dma_for_cpu()
Dtee_drv.h191 phys_addr_t paddr;
248 phys_addr_t paddr,
269 phys_addr_t paddr;
374 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa);
383 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va);
402 int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
Diommu.h152 phys_addr_t start;
199 phys_addr_t paddr, size_t size, int prot);
206 phys_addr_t (*iova_to_phys)(struct iommu_domain *domain, dma_addr_t iova);
224 phys_addr_t paddr, u64 size, int prot);
297 phys_addr_t paddr, size_t size, int prot);
304 extern phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova);
312 iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot,
350 phys_addr_t offset, u64 size,
451 phys_addr_t paddr, size_t size, int prot) in iommu_map()
489 u32 wnd_nr, phys_addr_t paddr, in iommu_domain_window_enable()
[all …]
Dpstore_ram.h46 phys_addr_t paddr;
66 struct persistent_ram_zone *persistent_ram_new(phys_addr_t start, size_t size,
94 phys_addr_t mem_address;
/linux-4.19.296/include/linux/clk/
Dmmp.h7 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-4.19.296/drivers/of/
Dof_reserved_mem.c30 int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size, in early_init_dt_alloc_reserved_memory_arch()
31 phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap, in early_init_dt_alloc_reserved_memory_arch()
32 phys_addr_t *res_base) in early_init_dt_alloc_reserved_memory_arch()
34 phys_addr_t base; in early_init_dt_alloc_reserved_memory_arch()
58 int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size, in early_init_dt_alloc_reserved_memory_arch()
59 phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap, in early_init_dt_alloc_reserved_memory_arch()
60 phys_addr_t *res_base) in early_init_dt_alloc_reserved_memory_arch()
72 phys_addr_t base, phys_addr_t size) in fdt_reserved_mem_save_node()
95 const char *uname, phys_addr_t *res_base, phys_addr_t *res_size) in __reserved_mem_alloc_size()
98 phys_addr_t start = 0, end = 0; in __reserved_mem_alloc_size()
[all …]
/linux-4.19.296/virt/kvm/arm/
Dmmu.c44 static phys_addr_t hyp_idmap_vector;
70 static void kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa) in kvm_tlb_flush_vmid_ipa()
109 static void stage2_dissolve_pmd(struct kvm *kvm, phys_addr_t addr, pmd_t *pmd) in stage2_dissolve_pmd()
151 static void clear_stage2_pgd_entry(struct kvm *kvm, pgd_t *pgd, phys_addr_t addr) in clear_stage2_pgd_entry()
160 static void clear_stage2_pud_entry(struct kvm *kvm, pud_t *pud, phys_addr_t addr) in clear_stage2_pud_entry()
170 static void clear_stage2_pmd_entry(struct kvm *kvm, pmd_t *pmd, phys_addr_t addr) in clear_stage2_pmd_entry()
234 phys_addr_t addr, phys_addr_t end) in unmap_stage2_ptes()
236 phys_addr_t start_addr = addr; in unmap_stage2_ptes()
260 phys_addr_t addr, phys_addr_t end) in unmap_stage2_pmds()
262 phys_addr_t next, start_addr = addr; in unmap_stage2_pmds()
[all …]
/linux-4.19.296/include/linux/fsl/bestcomm/
Dsram.h25 phys_addr_t base_phys;
39 extern void* bcom_sram_alloc(int size, int align, phys_addr_t *phys);
42 static inline phys_addr_t bcom_sram_va2pa(void *va) { in bcom_sram_va2pa()
47 static inline void *bcom_sram_pa2va(phys_addr_t pa) { in bcom_sram_pa2va()
Dgen_bd.h26 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo,
37 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo,
49 phys_addr_t fifo, int maxbufsize);
51 phys_addr_t fifo);
/linux-4.19.296/include/linux/soc/qcom/
Dmdt_loader.h17 phys_addr_t mem_phys, size_t mem_size,
18 phys_addr_t *reloc_base);
22 phys_addr_t mem_phys, size_t mem_size,
23 phys_addr_t *reloc_base);
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_intel.h125 phys_addr_t bar0_addr;
126 phys_addr_t bar2_addr64;
127 phys_addr_t bar4_addr64;
128 phys_addr_t bar4_addr32;
129 phys_addr_t bar5_addr32;
173 phys_addr_t peer_addr;
/linux-4.19.296/drivers/xen/
Dswiotlb-xen.c71 static inline dma_addr_t xen_phys_to_bus(phys_addr_t paddr) in xen_phys_to_bus()
81 static inline phys_addr_t xen_bus_to_phys(dma_addr_t baddr) in xen_bus_to_phys()
85 phys_addr_t paddr = dma; in xen_bus_to_phys()
115 static inline int range_straddles_page_boundary(phys_addr_t p, size_t size) in range_straddles_page_boundary()
131 phys_addr_t paddr = XEN_PFN_PHYS(xen_pfn); in is_xen_swiotlb_buffer()
152 phys_addr_t p = virt_to_phys(buf); in xen_swiotlb_fixup()
295 phys_addr_t phys; in xen_swiotlb_alloc_coherent()
347 phys_addr_t phys; in xen_swiotlb_free_coherent()
379 phys_addr_t map, phys = page_to_phys(page) + offset; in xen_swiotlb_map_page()
437 phys_addr_t paddr = xen_bus_to_phys(dev_addr); in xen_unmap_single()
[all …]
/linux-4.19.296/lib/
Dioremap.c62 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
80 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
134 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range()
160 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/linux-4.19.296/include/xen/arm/
Dpage.h19 phys_addr_t maddr;
24 phys_addr_t paddr;
109 phys_addr_t phys,

12345678