Home
last modified time | relevance | path

Searched refs:phys_base (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c75 unaccepted_table->phys_base = unaccepted_start; in allocate_unaccepted_bitmap()
146 if (start < unaccepted_table->phys_base) { in process_unaccepted_memory()
148 min(unaccepted_table->phys_base, end)); in process_unaccepted_memory()
149 start = unaccepted_table->phys_base; in process_unaccepted_memory()
153 if (end < unaccepted_table->phys_base) in process_unaccepted_memory()
157 start -= unaccepted_table->phys_base; in process_unaccepted_memory()
158 end -= unaccepted_table->phys_base; in process_unaccepted_memory()
165 unaccepted_table->phys_base; in process_unaccepted_memory()
166 phys_end = end + unaccepted_table->phys_base; in process_unaccepted_memory()
196 if (start < unaccepted_table->phys_base) in accept_memory()
[all …]
/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c55 if (start < unaccepted->phys_base) in accept_memory()
56 start = unaccepted->phys_base; in accept_memory()
57 if (end < unaccepted->phys_base) in accept_memory()
61 start -= unaccepted->phys_base; in accept_memory()
62 end -= unaccepted->phys_base; in accept_memory()
135 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory()
136 phys_end = range_end * unit_size + unaccepted->phys_base; in accept_memory()
184 if (start < unaccepted->phys_base) in range_contains_unaccepted_memory()
185 start = unaccepted->phys_base; in range_contains_unaccepted_memory()
186 if (end < unaccepted->phys_base) in range_contains_unaccepted_memory()
[all …]
/linux/arch/sparc/mm/
H A Dinit_32.c42 unsigned long phys_base; variable
43 EXPORT_SYMBOL(phys_base);
112 initrd_start = sparc_ramdisk_image + phys_base; in find_ramdisk()
124 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in find_ramdisk()
125 initrd_end = (initrd_end - phys_base) + PAGE_OFFSET; in find_ramdisk()
192 size = (start_pfn << PAGE_SHIFT) - phys_base; in bootmem_init()
193 memblock_reserve(phys_base, size); in bootmem_init()
194 memblock_add(phys_base, size); in bootmem_init()
/linux/drivers/pci/endpoint/
H A Dpci-epc-mem.c92 mem->window.phys_base = windows[i].phys_base; in pci_epc_multi_mem_init()
133 mem_window.phys_base = base; in pci_epc_mem_init()
202 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr()
230 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window()
231 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window()
265 pageno = (phys_addr - mem->window.phys_base) >> page_shift; in pci_epc_mem_free_addr()
H A Dpci-epc-core.c505 map->virt_base = pci_epc_mem_alloc_addr(epc, &map->phys_base, in pci_epc_mem_map()
510 map->phys_addr = map->phys_base + map_offset; in pci_epc_mem_map()
513 ret = pci_epc_map_addr(epc, func_no, vfunc_no, map->phys_base, in pci_epc_mem_map()
516 pci_epc_mem_free_addr(epc, map->phys_base, map->virt_base, in pci_epc_mem_map()
544 pci_epc_unmap_addr(epc, func_no, vfunc_no, map->phys_base); in pci_epc_mem_unmap()
545 pci_epc_mem_free_addr(epc, map->phys_base, map->virt_base, in pci_epc_mem_unmap()
/linux/arch/x86/kernel/
H A Dhead64.c103 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
112 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
118 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
127 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
133 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
142 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
H A Dhead_64.S182 movq phys_base(%rip), %rax
682 SYM_DATA(phys_base, .quad 0x0)
683 SYM_PIC_ALIAS(phys_base);
684 EXPORT_SYMBOL(phys_base)
H A Dvmcore_info_64.c12 VMCOREINFO_NUMBER(phys_base); in arch_crash_save_vmcoreinfo()
/linux/arch/x86/include/asm/
H A Dpage_64.h16 extern unsigned long phys_base;
28 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug()
46 return y + phys_base; in __phys_addr_symbol()
H A Dkmsan.h71 x = y + phys_base; in kmsan_virt_addr_valid()
/linux/arch/x86/realmode/
H A Dinit.c98 unsigned long phys_base; in setup_real_mode() local
119 phys_base = __pa(base); in setup_real_mode()
120 real_mode_seg = phys_base >> 4; in setup_real_mode()
135 *ptr += phys_base; in setup_real_mode()
/linux/arch/sparc/kernel/
H A Dsetup_32.c323 phys_base = 0xffffffffUL; in setup_arch()
328 if (sp_banks[i].base_addr < phys_base) in setup_arch()
329 phys_base = sp_banks[i].base_addr; in setup_arch()
335 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()
/linux/arch/sparc/include/asm/
H A Dpage_32.h119 extern unsigned long phys_base;
122 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base)
123 #define __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET))
H A Dpgtable_32.h71 extern unsigned long phys_base;
401 unsigned long long offset, space, phys_base; in io_remap_pfn_range_pfn() local
405 phys_base = offset | (space << 32ULL); in io_remap_pfn_range_pfn()
407 return phys_base >> PAGE_SHIFT; in io_remap_pfn_range_pfn()
/linux/arch/x86/mm/
H A Dphysaddr.c21 x = y + phys_base; in __phys_addr()
42 x = y + phys_base; in __virt_addr_valid()
/linux/drivers/mtd/nand/onenand/
H A Donenand_omap2.c36 unsigned long phys_base; member
389 dma_src = c->phys_base + bram_offset; in omap2_onenand_read_bufferram()
430 dma_dst = c->phys_base + bram_offset; in omap2_onenand_write_bufferram()
487 c->phys_base = res->start; in omap2_onenand_probe()
520 c->gpmc_cs, c->phys_base, c->onenand.base, in omap2_onenand_probe()
/linux/drivers/irqchip/
H A Dirq-armada-370-xp.c801 void __iomem **base, phys_addr_t *phys_base) in mpic_map_region() argument
821 if (phys_base) in mpic_map_region()
822 *phys_base = res.start; in mpic_map_region()
833 phys_addr_t phys_base; in mpic_of_init() local
844 err = mpic_map_region(node, 0, &mpic->base, &phys_base); in mpic_of_init()
882 err = mpic_msi_init(mpic, node, phys_base); in mpic_of_init()
H A Dirq-gic-v3.c52 phys_addr_t phys_base; member
1045 gic_data_rdist()->phys_base = region->phys_base + offset; in __gic_populate_rdist()
1050 &gic_data_rdist()->phys_base); in __gic_populate_rdist()
1823 (u64)gic_data.redist_regions[i].phys_base)); in gic_enable_quirk_nvidia_t241()
2234 rdist_regs[i].phys_base = res.start; in gic_of_init()
2279 gic_acpi_register_redist(phys_addr_t phys_base, void __iomem *redist_base) in gic_acpi_register_redist() argument
2283 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()
/linux/drivers/crypto/cavium/cpt/
H A Dcptpf_main.c154 (u64)mcode->phys_base); in cpt_load_microcode()
280 &mcode->phys_base, GFP_KERNEL); in cpt_ucode_load_fw()
301 dev_dbg(dev, "mcode->phys_base = %llx\n", mcode->phys_base); in cpt_ucode_load_fw()
306 mcode->code, mcode->phys_base); in cpt_ucode_load_fw()
423 mcode->code, mcode->phys_base); in cpt_unload_microcode()
H A Dcptpf.h31 dma_addr_t phys_base; member
/linux/drivers/video/fbdev/
H A Dhpfb.c212 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) in hpfb_init_one() argument
222 if (phys_base >= DIOII_BASE) { in hpfb_init_one()
223 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
/linux/drivers/spi/
H A Dspi-pxa2xx-dma.c93 cfg.dst_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
100 cfg.src_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
/linux/arch/x86/platform/pvh/
H A Dhead.S123 movl %ebx, rva(phys_base)(%ebp)
189 subq phys_base(%rip), %rax
/linux/drivers/soc/qcom/
H A Dsmem.c208 phys_addr_t phys_base; member
786 return (phys_addr_t)part->phys_base + offset; in qcom_smem_virt_to_phys()
795 return (phys_addr_t)part->phys_base + offset; in qcom_smem_virt_to_phys()
1007 smem->global_partition.phys_base = smem->regions[0].aux_base + in qcom_smem_set_global_partition()
1060 smem->partitions[remote_host].phys_base = smem->regions[0].aux_base + in qcom_smem_enumerate_partitions()
/linux/include/linux/
H A Dpci-epc.h58 phys_addr_t phys_base; member
128 phys_addr_t phys_base; member

1234