Home
last modified time | relevance | path

Searched refs:phys_base (Results 1 – 25 of 53) 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-ep-msi.c48 phys_addr_t phys_base; in pci_epf_alloc_doorbell_embedded() local
89 phys_base = addr & PAGE_MASK; in pci_epf_alloc_doorbell_embedded()
90 off = addr - phys_base; in pci_epf_alloc_doorbell_embedded()
93 iova_base = dma_map_resource(epc->dev.parent, phys_base, in pci_epf_alloc_doorbell_embedded()
H A Dpci-epc-core.c586 map->virt_base = pci_epc_mem_alloc_addr(epc, &map->phys_base, in pci_epc_mem_map()
591 map->phys_addr = map->phys_base + map_offset; in pci_epc_mem_map()
594 ret = pci_epc_map_addr(epc, func_no, vfunc_no, map->phys_base, in pci_epc_mem_map()
597 pci_epc_mem_free_addr(epc, map->phys_base, map->virt_base, in pci_epc_mem_map()
625 pci_epc_unmap_addr(epc, func_no, vfunc_no, map->phys_base); in pci_epc_mem_unmap()
626 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/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.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))
/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-its.c109 phys_addr_t phys_base; member
1811 return its->phys_base + GITS_TRANSLATER; in its_irq_get_msi_base()
2396 &its->phys_base, its_base_type_string[type], in its_setup_baser()
2469 &its->phys_base, its_base_type_string[type], in its_setup_baser()
2481 &its->phys_base, (int)(PAGE_ORDER_TO_SIZE(order) / (int)tmp), in its_setup_baser()
2533 &its->phys_base, its_base_type_string[type], in its_parse_indirect_baser()
3305 target = gic_data_rdist()->phys_base; in its_cpu_init_collection()
5022 &its->phys_base, err); in its_save_disable()
5068 &its->phys_base, ret); in its_restore_enable()
5222 &its->phys_base); in its_compute_its_list_map()
[all …]
/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/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/arch/x86/platform/efi/
H A Defi_thunk_64.S56 subq phys_base(%rip), %rax
/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/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/include/linux/
H A Dpci-epc.h58 phys_addr_t phys_base; member
177 phys_addr_t phys_base; member
/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/mtd/nand/onenand/
H A Donenand_samsung.c134 unsigned long phys_base; member
659 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
663 dma_src = onenand->phys_base + (p - this->base); in s5pc110_read_bufferram()
872 onenand->phys_base = r->start; in s3c_onenand_probe()
/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()
/linux/drivers/crypto/
H A Datmel-tdes.c85 unsigned long phys_base; member
666 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
682 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + in atmel_tdes_dma_init()
959 tdes_dd->phys_base = tdes_res->start; in atmel_tdes_probe()
/linux/arch/x86/boot/startup/
H A Dmap_kernel.c112 phys_base = load_delta = __START_KERNEL_map + p2v_offset; in __startup_64()

123