Home
last modified time | relevance | path

Searched refs:fix_to_virt (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/arch/x86/xen/
Dsuspend_pv.c22 if (HYPERVISOR_update_va_mapping(fix_to_virt(FIX_PARAVIRT_BOOTMAP), in xen_pv_pre_suspend()
31 HYPERVISOR_shared_info = (void *)fix_to_virt(FIX_PARAVIRT_BOOTMAP); in xen_pv_post_suspend()
Denlighten_pv.c128 populate_extra_pte(fix_to_virt(FIX_PARAVIRT_BOOTMAP)); in xen_pv_init_platform()
131 HYPERVISOR_shared_info = (void *)fix_to_virt(FIX_PARAVIRT_BOOTMAP); in xen_pv_init_platform()
/linux-6.1.9/arch/x86/mm/
Dinit_32.c132 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_range_init_count()
133 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_range_init_count()
169 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_kmap_check()
170 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_kmap_check()
192 BUG_ON(vaddr < fix_to_virt(FIX_KMAP_BEGIN - 1) in page_table_kmap_check()
193 && vaddr > fix_to_virt(FIX_KMAP_END) in page_table_kmap_check()
720 if (copy_to_kernel_nofault((char *)fix_to_virt(FIX_WP_TEST), &z, 1)) { in test_wp_bit()
Dioremap.c877 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
879 WARN_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
884 pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)); in early_ioremap_init()
896 if (pmd != early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END))) { in early_ioremap_init()
899 pmd, early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END))); in early_ioremap_init()
901 fix_to_virt(FIX_BTMAP_BEGIN)); in early_ioremap_init()
903 fix_to_virt(FIX_BTMAP_END)); in early_ioremap_init()
/linux-6.1.9/include/asm-generic/
Dfixmap.h30 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() function
78 ________addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \
/linux-6.1.9/arch/openrisc/include/asm/
Dfixmap.h61 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() function
/linux-6.1.9/arch/openrisc/mm/
Dioremap.c63 v = fix_to_virt(FIX_IOREMAP_BEGIN + fixmaps_used); in ioremap()
/linux-6.1.9/arch/powerpc/platforms/83xx/
Dmisc.c126 unsigned long va = fix_to_virt(FIX_IMMR_BASE); in mpc83xx_setup_arch()
/linux-6.1.9/arch/x86/pci/
Dmmconfig_32.c18 #define mmcfg_virt_addr ((void __iomem *) fix_to_virt(FIX_PCIE_MCFG))
/linux-6.1.9/arch/arm64/mm/
Dmmu.c1316 if ((pmdp != fixmap_pmd(fix_to_virt(FIX_BTMAP_BEGIN))) in early_fixmap_init()
1317 || pmdp != fixmap_pmd(fix_to_virt(FIX_BTMAP_END))) { in early_fixmap_init()
1320 pmdp, fixmap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)), in early_fixmap_init()
1321 fixmap_pmd(fix_to_virt(FIX_BTMAP_END))); in early_fixmap_init()
1323 fix_to_virt(FIX_BTMAP_BEGIN)); in early_fixmap_init()
1325 fix_to_virt(FIX_BTMAP_END)); in early_fixmap_init()
/linux-6.1.9/drivers/firewire/
Dinit_ohci1394_dma.c248 ohci.registers = (void __iomem *)fix_to_virt(FIX_OHCI1394_BASE); in init_ohci1394_controller()
/linux-6.1.9/mm/
Dearly_ioremap.c193 if (WARN_ON(virt_addr < fix_to_virt(FIX_BTMAP_BEGIN))) in early_iounmap()
/linux-6.1.9/arch/x86/include/asm/
Dapicdef.h140 #define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
/linux-6.1.9/Documentation/arm/
Dmemory.rst49 by fix_to_virt() will be located here.
/linux-6.1.9/arch/x86/kernel/
Dtboot.c91 tboot = (void *)fix_to_virt(FIX_TBOOT_BASE); in tboot_probe()
/linux-6.1.9/arch/riscv/mm/
Dinit.c1080 fix_to_virt(FIX_BTMAP_BEGIN)); in setup_vm()
1082 fix_to_virt(FIX_BTMAP_END)); in setup_vm()
/linux-6.1.9/arch/arm/mm/
Dmmu.c1731 unsigned long va = fix_to_virt(__end_of_permanent_fixed_addresses - 1); in early_fixmap_shutdown()
1741 map.virtual = fix_to_virt(i); in early_fixmap_shutdown()