Home
last modified time | relevance | path

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

12345678910

/linux-3.4.99/include/linux/
Dmemblock.h23 phys_addr_t base;
24 phys_addr_t size;
33 phys_addr_t total_size; /* size of all regions */
38 phys_addr_t current_limit;
49 phys_addr_t memblock_find_in_range_node(phys_addr_t start, phys_addr_t end,
50 phys_addr_t size, phys_addr_t align, int nid);
51 phys_addr_t memblock_find_in_range(phys_addr_t start, phys_addr_t end,
52 phys_addr_t size, phys_addr_t align);
53 phys_addr_t get_allocated_memblock_reserved_regions_info(phys_addr_t *addr);
55 int memblock_add_node(phys_addr_t base, phys_addr_t size, int nid);
[all …]
Diommu.h70 phys_addr_t paddr, size_t size, int prot);
73 phys_addr_t (*iova_to_phys)(struct iommu_domain *domain,
90 phys_addr_t paddr, size_t size, int prot);
93 extern phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain,
170 phys_addr_t paddr, int gfp_order, int prot) in iommu_map()
181 static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, in iommu_iova_to_phys()
Dgenalloc.h47 phys_addr_t phys_addr; /* physical starting address of memory chunk */
54 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);
55 extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t,
/linux-3.4.99/mm/
Dmemblock.c55 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size) in memblock_cap_size()
57 return *size = min(*size, (phys_addr_t)ULLONG_MAX - base); in memblock_cap_size()
63 static unsigned long __init_memblock memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1, in memblock_addrs_overlap()
64 phys_addr_t base2, phys_addr_t size2) in memblock_addrs_overlap()
70 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region()
75 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region()
76 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region()
97 phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t start, in memblock_find_in_range_node()
98 phys_addr_t end, phys_addr_t size, in memblock_find_in_range_node()
99 phys_addr_t align, int nid) in memblock_find_in_range_node()
[all …]
/linux-3.4.99/arch/arm/include/asm/
Doutercache.h44 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range()
49 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range()
54 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range()
86 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range()
88 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range()
90 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range()
Dmemblock.h9 phys_addr_t arm_memblock_steal(phys_addr_t size, phys_addr_t align);
/linux-3.4.99/arch/mips/powertv/
Dmemory.c68 phys_addr_t start;
69 phys_addr_t size;
92 phys_addr_t phys;
93 phys_addr_t alias;
94 phys_addr_t size;
162 static phys_addr_t get_memsize(void) in get_memsize()
165 phys_addr_t memsize = 0; in get_memsize()
212 static __init phys_addr_t register_low_ram(phys_addr_t p, phys_addr_t n) in register_low_ram()
214 phys_addr_t s; in register_low_ram()
216 phys_addr_t orig_n; in register_low_ram()
[all …]
Dioremap.c40 #define IOR_PHYS_GRAIN ((phys_addr_t) 1 << IOR_LSBITS)
69 static void setup_dma_to_phys(dma_addr_t dma, phys_addr_t delta, dma_addr_t s) in setup_dma_to_phys()
72 phys_addr_t first, last; in setup_dma_to_phys()
96 static void setup_phys_to_dma(phys_addr_t phys, dma_addr_t delta, phys_addr_t s) in setup_phys_to_dma()
99 phys_addr_t first, last; in setup_phys_to_dma()
123 void ioremap_add_map(phys_addr_t phys, phys_addr_t dma, phys_addr_t size) in ioremap_add_map()
/linux-3.4.99/arch/mips/alchemy/devboards/
Dplatform.h6 int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start,
7 phys_addr_t pcmcia_attr_len,
8 phys_addr_t pcmcia_mem_start,
9 phys_addr_t pcmcia_mem_end,
10 phys_addr_t pcmcia_io_start,
11 phys_addr_t pcmcia_io_end,
/linux-3.4.99/arch/powerpc/mm/
Dinit_32.c60 phys_addr_t total_memory;
61 phys_addr_t total_lowmem;
63 phys_addr_t memstart_addr = (phys_addr_t)~0ull;
65 phys_addr_t kernstart_addr;
74 phys_addr_t lowmem_end_addr;
208 void setup_initial_memory_limit(phys_addr_t first_memblock_base, in setup_initial_memory_limit()
209 phys_addr_t first_memblock_size) in setup_initial_memory_limit()
Dmmu_decl.h97 extern int map_page(unsigned long va, phys_addr_t pa, int flags);
98 extern void setbat(int index, unsigned long virt, phys_addr_t phys,
118 extern phys_addr_t __initial_memory_limit_addr;
119 extern phys_addr_t total_memory;
120 extern phys_addr_t total_lowmem;
121 extern phys_addr_t memstart_addr;
122 extern phys_addr_t lowmem_end_addr;
146 phys_addr_t phys);
Dfsl_booke_mmu.c66 phys_addr_t phys;
79 phys_addr_t v_mapped_by_tlbcam(unsigned long va) in v_mapped_by_tlbcam()
91 unsigned long p_mapped_by_tlbcam(phys_addr_t pa) in p_mapped_by_tlbcam()
109 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, in settlbcam()
150 phys_addr_t phys) in calc_cam_sz()
178 phys_addr_t phys = memstart_addr; in map_mem_in_cams()
223 ram = min((phys_addr_t)__max_low_memory, (phys_addr_t)total_lowmem); in adjust_total_lowmem()
236 void setup_initial_memory_limit(phys_addr_t first_memblock_base, in setup_initial_memory_limit()
237 phys_addr_t first_memblock_size) in setup_initial_memory_limit()
239 phys_addr_t limit = first_memblock_base + first_memblock_size; in setup_initial_memory_limit()
Dpgtable_32.c55 extern phys_addr_t v_mapped_by_bats(unsigned long va);
56 extern unsigned long p_mapped_by_bats(phys_addr_t pa);
57 void setbat(int index, unsigned long virt, phys_addr_t phys,
67 extern phys_addr_t v_mapped_by_tlbcam(unsigned long va);
68 extern unsigned long p_mapped_by_tlbcam(phys_addr_t pa);
129 ioremap(phys_addr_t addr, unsigned long size) in ioremap()
137 ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc()
145 ioremap_prot(phys_addr_t addr, unsigned long size, unsigned long flags) in ioremap_prot()
167 __ioremap(phys_addr_t addr, unsigned long size, unsigned long flags) in __ioremap()
173 __ioremap_caller(phys_addr_t addr, unsigned long size, unsigned long flags, in __ioremap_caller()
[all …]
Dpgtable_64.c155 void __iomem * __ioremap_at(phys_addr_t pa, void *ea, unsigned long size, in __ioremap_at()
197 void __iomem * __ioremap_caller(phys_addr_t addr, unsigned long size, in __ioremap_caller()
200 phys_addr_t paligned; in __ioremap_caller()
242 void __iomem * __ioremap(phys_addr_t addr, unsigned long size, in __ioremap()
248 void __iomem * ioremap(phys_addr_t addr, unsigned long size) in ioremap()
258 void __iomem * ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc()
268 void __iomem * ioremap_prot(phys_addr_t addr, unsigned long size, in ioremap_prot()
/linux-3.4.99/arch/mips/include/asm/mach-powertv/
Dioremap.h21 #define IOR_PHYS_BITS (IOR_BPC * sizeof(phys_addr_t))
40 #define IOR_NUM_PHYS_TO_DMA ((phys_addr_t) 1 << IOR_PHYS_MSBITS)
80 static inline dma_addr_t _phys_to_dma_offset_raw(phys_addr_t phys) in _phys_to_dma_offset_raw()
95 static inline dma_addr_t phys_to_dma(phys_addr_t phys) in phys_to_dma()
100 static inline phys_addr_t dma_to_phys(dma_addr_t dma) in dma_to_phys()
105 extern void ioremap_add_map(dma_addr_t phys, phys_addr_t alias,
125 phys_addr_t start_offset; in plat_ioremap()
140 phys_addr_t last; in plat_ioremap()
/linux-3.4.99/arch/mips/cavium-octeon/
Ddma-octeon.c31 static dma_addr_t octeon_hole_phys_to_dma(phys_addr_t paddr) in octeon_hole_phys_to_dma()
39 static phys_addr_t octeon_hole_dma_to_phys(dma_addr_t daddr) in octeon_hole_dma_to_phys()
47 static dma_addr_t octeon_gen1_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen1_phys_to_dma()
54 static phys_addr_t octeon_gen1_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen1_dma_to_phys()
64 static dma_addr_t octeon_gen2_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen2_phys_to_dma()
69 static phys_addr_t octeon_gen2_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen2_dma_to_phys()
74 static dma_addr_t octeon_big_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_big_phys_to_dma()
86 static phys_addr_t octeon_big_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_big_dma_to_phys()
97 phys_addr_t paddr) in octeon_small_phys_to_dma()
111 static phys_addr_t octeon_small_dma_to_phys(struct device *dev, in octeon_small_dma_to_phys()
[all …]
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dutil.h25 return (struct mwifiex_rxinfo *)(skb->cb + sizeof(phys_addr_t)); in MWIFIEX_SKB_RXCB()
30 return (struct mwifiex_txinfo *)(skb->cb + sizeof(phys_addr_t)); in MWIFIEX_SKB_TXCB()
33 static inline phys_addr_t *MWIFIEX_SKB_PACB(struct sk_buff *skb) in MWIFIEX_SKB_PACB()
35 return (phys_addr_t *)skb->cb; in MWIFIEX_SKB_PACB()
/linux-3.4.99/arch/tile/include/asm/
Dpage.h140 #define __pa_to_highbits(pa) ((phys_addr_t)(pa) >> NR_PA_HIGHBIT_SHIFT)
262 static inline phys_addr_t virt_to_phys(const volatile void *kaddr) in virt_to_phys()
265 return ((phys_addr_t)pfn << PAGE_SHIFT) + in virt_to_phys()
269 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt()
293 static inline phys_addr_t virt_to_phys(const volatile void *kaddr) in virt_to_phys()
295 return (phys_addr_t)((unsigned long)kaddr - PAGE_OFFSET); in virt_to_phys()
298 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt()
310 #define __va(paddr) phys_to_virt((phys_addr_t)(paddr))
322 #define page_to_pa(page) ((phys_addr_t)(page_to_pfn(page)) << PAGE_SHIFT)
/linux-3.4.99/arch/sh/include/asm/
Dmmu.h61 int pmb_bolt_mapping(unsigned long virt, phys_addr_t phys,
63 void __iomem *pmb_remap_caller(phys_addr_t phys, unsigned long size,
70 pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, in pmb_bolt_mapping()
77 pmb_remap_caller(phys_addr_t phys, unsigned long size, in pmb_remap_caller()
99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
Dio.h264 void __iomem *__ioremap_caller(phys_addr_t offset, unsigned long size,
269 __ioremap(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap()
275 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit()
278 phys_addr_t last_addr = offset + size - 1; in __ioremap_29bit()
310 __ioremap_mode(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_mode()
330 static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size) in ioremap()
336 ioremap_cache(phys_addr_t offset, unsigned long size) in ioremap_cache()
343 ioremap_prot(phys_addr_t offset, unsigned long size, unsigned long flags) in ioremap_prot()
350 extern void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
355 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
/linux-3.4.99/arch/powerpc/sysdev/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-3.4.99/lib/
Dswiotlb.c86 static phys_addr_t *io_tlb_orig_addr;
128 phys_addr_t pstart, pend; in swiotlb_print_info()
159 io_tlb_orig_addr = alloc_bootmem_pages(PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_init_with_tbl()
260 io_tlb_orig_addr = (phys_addr_t *) in swiotlb_late_init_with_default_size()
263 sizeof(phys_addr_t))); in swiotlb_late_init_with_default_size()
267 memset(io_tlb_orig_addr, 0, io_tlb_nslabs * sizeof(phys_addr_t)); in swiotlb_late_init_with_default_size()
285 get_order(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_late_init_with_default_size()
309 get_order(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free()
318 PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free()
327 static int is_swiotlb_buffer(phys_addr_t paddr) in is_swiotlb_buffer()
[all …]
/linux-3.4.99/arch/openrisc/include/asm/
Dio.h34 extern void __iomem *__ioremap(phys_addr_t offset, unsigned long size,
37 static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size) in ioremap()
43 static inline void __iomem *ioremap_nocache(phys_addr_t offset, in ioremap_nocache()
/linux-3.4.99/drivers/xen/
Dswiotlb-xen.c57 static dma_addr_t xen_phys_to_bus(phys_addr_t paddr) in xen_phys_to_bus()
62 static phys_addr_t xen_bus_to_phys(dma_addr_t baddr) in xen_bus_to_phys()
90 static int range_straddles_page_boundary(phys_addr_t p, size_t size) in range_straddles_page_boundary()
106 phys_addr_t paddr; in is_xen_swiotlb_buffer()
214 phys_addr_t phys; in xen_swiotlb_alloc_coherent()
260 phys_addr_t phys; in xen_swiotlb_free_coherent()
292 phys_addr_t phys = page_to_phys(page) + offset; in xen_swiotlb_map_page()
337 phys_addr_t paddr = xen_bus_to_phys(dev_addr); in xen_unmap_single()
382 phys_addr_t paddr = xen_bus_to_phys(dev_addr); in xen_swiotlb_sync_single()
442 phys_addr_t paddr = sg_phys(sg); in xen_swiotlb_map_sg_attrs()

12345678910