/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | unaccepted_memory.c | 75 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-6.12.1/drivers/firmware/efi/ |
D | unaccepted_memory.c | 52 if (start < unaccepted->phys_base) in accept_memory() 53 start = unaccepted->phys_base; in accept_memory() 54 if (end < unaccepted->phys_base) in accept_memory() 58 start -= unaccepted->phys_base; in accept_memory() 59 end -= unaccepted->phys_base; in accept_memory() 132 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory() 133 phys_end = range_end * unit_size + unaccepted->phys_base; in accept_memory() 178 if (start < unaccepted->phys_base) in range_contains_unaccepted_memory() 179 start = unaccepted->phys_base; in range_contains_unaccepted_memory() 180 if (end < unaccepted->phys_base) in range_contains_unaccepted_memory() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/display/ |
D | xe_plane_initial.c | 62 resource_size_t phys_base; in initial_plane_bo() local 85 phys_base = pte & ~(page_size - 1); in initial_plane_bo() 92 if (phys_base >= tile0->mem.vram.usable_size) { in initial_plane_bo() 95 &phys_base); in initial_plane_bo() 101 &phys_base); in initial_plane_bo() 107 phys_base = base; in initial_plane_bo() 127 bo = xe_bo_create_pin_map_at(xe, tile0, NULL, size, phys_base, in initial_plane_bo() 132 &phys_base, size, flags, PTR_ERR(bo)); in initial_plane_bo()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_32.c | 42 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-6.12.1/drivers/pci/endpoint/ |
D | pci-epc-mem.c | 92 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-6.12.1/arch/x86/include/asm/ |
D | page_64.h | 15 extern unsigned long phys_base; 27 x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); in __phys_addr_nodebug() 38 ((unsigned long)(x) - __START_KERNEL_map + phys_base)
|
D | kmsan.h | 71 x = y + phys_base; in kmsan_virt_addr_valid()
|
/linux-6.12.1/arch/x86/realmode/ |
D | init.c | 95 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-6.12.1/arch/x86/mm/ |
D | physaddr.c | 21 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-6.12.1/arch/x86/kernel/ |
D | head64.c | 167 RIP_REL_REF(phys_base) = load_delta; in __startup_64() 306 p4d_p = (p4dval_t *)((pgd & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 315 *pgd_p = (pgdval_t)p4d_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 321 pud_p = (pudval_t *)((p4d & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 330 *p4d_p = (p4dval_t)pud_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable() 336 pmd_p = (pmdval_t *)((pud & PTE_PFN_MASK) + __START_KERNEL_map - phys_base); in __early_make_pgtable() 345 *pud_p = (pudval_t)pmd_p - __START_KERNEL_map + phys_base + _KERNPG_TABLE; in __early_make_pgtable()
|
D | vmcore_info_64.c | 12 VMCOREINFO_NUMBER(phys_base); in arch_crash_save_vmcoreinfo()
|
D | head_64.S | 172 movq phys_base(%rip), %rax 700 SYM_DATA(phys_base, .quad 0x0) 701 EXPORT_SYMBOL(phys_base)
|
/linux-6.12.1/arch/sparc/kernel/ |
D | setup_32.c | 323 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-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_plane_initial.c | 98 plane_config->phys_base = dma_addr - mem->region.start; in initial_plane_phys_lmem() 121 plane_config->phys_base = base; in initial_plane_phys_smem() 145 resource_size_t phys_base; in initial_plane_vma() local 155 phys_base = plane_config->phys_base; in initial_plane_vma() 175 obj = i915_gem_object_create_region_at(mem, phys_base, size, in initial_plane_vma()
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | page_32.h | 121 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))
|
D | pgtable_32.h | 71 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-6.12.1/drivers/mtd/nand/onenand/ |
D | onenand_omap2.c | 36 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-6.12.1/drivers/irqchip/ |
D | irq-armada-370-xp.c | 795 void __iomem **base, phys_addr_t *phys_base) in mpic_map_region() argument 815 if (phys_base) in mpic_map_region() 816 *phys_base = res.start; in mpic_map_region() 827 phys_addr_t phys_base; in mpic_of_init() local 838 err = mpic_map_region(node, 0, &mpic->base, &phys_base); in mpic_of_init() 876 err = mpic_msi_init(mpic, node, phys_base); in mpic_of_init()
|
/linux-6.12.1/drivers/spi/ |
D | spi-pxa2xx-dma.c | 93 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-6.12.1/drivers/video/fbdev/ |
D | hpfb.c | 212 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-6.12.1/drivers/crypto/cavium/cpt/ |
D | cptpf.h | 31 dma_addr_t phys_base; member
|
D | cptpf_main.c | 154 (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-6.12.1/arch/x86/platform/pvh/ |
D | head.S | 174 movq %rbx, phys_base(%rip) 181 movq %rbx, phys_base(%rip)
|
/linux-6.12.1/arch/x86/platform/efi/ |
D | efi_thunk_64.S | 56 subq phys_base(%rip), %rax
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_wp.c | 267 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()
|