Home
last modified time | relevance | path

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

1234

/Linux-v6.6/drivers/firmware/efi/libstub/
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()
195 if (start < unaccepted_table->phys_base) in accept_memory()
[all …]
/Linux-v6.6/drivers/firmware/efi/
Dunaccepted_memory.c49 if (start < unaccepted->phys_base) in accept_memory()
50 start = unaccepted->phys_base; in accept_memory()
51 if (end < unaccepted->phys_base) in accept_memory()
55 start -= unaccepted->phys_base; in accept_memory()
56 end -= unaccepted->phys_base; in accept_memory()
129 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory()
130 phys_end = range_end * unit_size + unaccepted->phys_base; in accept_memory()
171 if (start < unaccepted->phys_base) in range_contains_unaccepted_memory()
172 start = unaccepted->phys_base; in range_contains_unaccepted_memory()
173 if (end < unaccepted->phys_base) in range_contains_unaccepted_memory()
[all …]
/Linux-v6.6/arch/sparc/mm/
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-v6.6/drivers/pci/endpoint/
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()
199 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr()
227 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window()
228 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window()
262 pageno = (phys_addr - mem->window.phys_base) >> page_shift; in pci_epc_mem_free_addr()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_plane_initial.c53 resource_size_t phys_base; in initial_plane_vma() local
74 phys_base = pte & I915_GTT_PAGE_MASK; in initial_plane_vma()
81 if (phys_base >= resource_size(&mem->region)) { in initial_plane_vma()
84 &phys_base); in initial_plane_vma()
90 &phys_base); in initial_plane_vma()
92 phys_base = base; in initial_plane_vma()
113 obj = i915_gem_object_create_region_at(mem, phys_base, size, in initial_plane_vma()
/Linux-v6.6/arch/x86/include/asm/
Dpage_64.h15 extern unsigned long phys_base;
26 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug()
37 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
Dkmsan.h70 x = y + phys_base; in kmsan_virt_addr_valid()
/Linux-v6.6/arch/x86/mm/
Dphysaddr.c21 x = y + phys_base; in __phys_addr()
42 return y + phys_base; in __phys_addr_symbol()
53 x = y + phys_base; in __virt_addr_valid()
/Linux-v6.6/arch/x86/realmode/
Dinit.c95 unsigned long phys_base; in setup_real_mode() local
116 phys_base = __pa(base); in setup_real_mode()
117 real_mode_seg = phys_base >> 4; in setup_real_mode()
132 *ptr += phys_base; in setup_real_mode()
/Linux-v6.6/arch/sparc/kernel/
Dsetup_32.c336 phys_base = 0xffffffffUL; in setup_arch()
341 if (sp_banks[i].base_addr < phys_base) in setup_arch()
342 phys_base = sp_banks[i].base_addr; in setup_arch()
348 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()
/Linux-v6.6/arch/x86/kernel/
Dhead64.c317 *fixup_long(&phys_base, physaddr) += load_delta - sme_get_me_mask(); in __startup_64()
355 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
364 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
370 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
379 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
385 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable()
394 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
Dcrash_core_64.c12 VMCOREINFO_NUMBER(phys_base); in arch_crash_save_vmcoreinfo()
Dhead_64.S194 addq phys_base(%rip), %rax
733 SYM_DATA(phys_base, .quad 0x0)
734 EXPORT_SYMBOL(phys_base)
/Linux-v6.6/arch/sparc/include/asm/
Dpage_32.h121 extern unsigned long phys_base;
124 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + phys_base)
125 #define __va(x) ((void *)((unsigned long) (x) - phys_base + PAGE_OFFSET))
Dpgtable_32.h71 extern unsigned long phys_base;
410 unsigned long long offset, space, phys_base; in io_remap_pfn_range() local
414 phys_base = offset | (space << 32ULL); in io_remap_pfn_range()
416 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
/Linux-v6.6/drivers/mtd/nand/onenand/
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-v6.6/drivers/video/fbdev/
Dhpfb.c210 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) in hpfb_init_one() argument
220 if (phys_base >= DIOII_BASE) { in hpfb_init_one()
221 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
/Linux-v6.6/drivers/spi/
Dspi-pxa2xx-dma.c90 cfg.dst_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
97 cfg.src_addr = drv_data->ssp->phys_base + SSDR; in pxa2xx_spi_dma_prepare_one()
/Linux-v6.6/drivers/crypto/cavium/cpt/
Dcptpf.h31 dma_addr_t phys_base; member
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()
421 mcode->code, mcode->phys_base); in cpt_unload_microcode()
/Linux-v6.6/arch/ia64/pci/
Dpci.c124 static unsigned int new_space(u64 phys_base, int sparse) in new_space() argument
129 if (phys_base == 0) in new_space()
132 mmio_base = (u64) ioremap(phys_base, 0); in new_space()
/Linux-v6.6/arch/x86/platform/efi/
Defi_thunk_64.S56 subq phys_base(%rip), %rax
/Linux-v6.6/drivers/mfd/
Dstm32-timers.c90 config.src_addr = (dma_addr_t)dma->phys_base + TIM_DMAR; in stm32_timers_dma_burst_read()
235 ddata->dma.phys_base = res->start; in stm32_timers_probe()
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/dss/
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-v6.6/drivers/irqchip/
Dirq-gic-v3.c49 phys_addr_t phys_base; member
1028 gic_data_rdist()->phys_base = region->phys_base + offset; in __gic_populate_rdist()
1033 &gic_data_rdist()->phys_base); in __gic_populate_rdist()
1826 (u64)gic_data.redist_regions[i].phys_base)); in gic_enable_quirk_nvidia_t241()
2299 rdist_regs[i].phys_base = res.start; in gic_of_init()
2344 gic_acpi_register_redist(phys_addr_t phys_base, void __iomem *redist_base) in gic_acpi_register_redist() argument
2348 acpi_data.redist_regs[count].phys_base = phys_base; in gic_acpi_register_redist()

1234