Home
last modified time | relevance | path

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

123

/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/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/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 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/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/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/drivers/crypto/cavium/cpt/
H A Dcptpf.h31 dma_addr_t phys_base; member
/linux/arch/x86/include/asm/
H A Dkmsan.h71 x = y + phys_base; in kmsan_virt_addr_valid()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_wp.c267 wp->phys_base = res->start; in hdmi_wp_init()
280 return wp->phys_base + HDMI_WP_AUDIO_DATA; in hdmi_wp_get_audio_dma_addr()
/linux/arch/x86/platform/efi/
H A Defi_thunk_64.S56 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/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_wp.c288 wp->phys_base = res->start; in hdmi_wp_init()
296 return wp->phys_base + HDMI_WP_AUDIO_DATA; in hdmi_wp_get_audio_dma_addr()
/linux/drivers/mtd/nand/onenand/
H A Donenand_samsung.c134 unsigned long phys_base; member
654 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
658 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
867 onenand->phys_base = r->start; in s3c_onenand_probe()
/linux/arch/sparc/mm/
H A Dinit_64.c870 static void __init find_ramdisk(unsigned long phys_base) in find_ramdisk() argument
893 ramdisk_image += phys_base; in find_ramdisk()
1596 static unsigned long __init bootmem_init(unsigned long phys_base) in bootmem_init() argument
1602 min_low_pfn = (phys_base >> PAGE_SHIFT); in bootmem_init()
2281 unsigned long end_pfn, shift, phys_base; in paging_init() local
2368 phys_base = 0xffffffffffffffffUL; in paging_init()
2370 phys_base = min(phys_base, pavail[i].phys_addr); in paging_init()
2376 find_ramdisk(phys_base); in paging_init()
2450 last_valid_pfn = end_pfn = bootmem_init(phys_base); in paging_init()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_dmm_priv.h154 dma_addr_t phys_base; member
/linux/arch/x86/boot/compressed/
H A Defi.h103 u64 phys_base; member
/linux/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c149 unsigned long phys_base; member
686 iod->phys_base + offset, in ti_iodelay_pin_dbg_show()
857 iod->phys_base = res->start; in ti_iodelay_probe()

123