Home
last modified time | relevance | path

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

/Linux-v5.4/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.c132 populate_extra_pte(fix_to_virt(FIX_PARAVIRT_BOOTMAP)); in xen_pv_init_platform()
135 HYPERVISOR_shared_info = (void *)fix_to_virt(FIX_PARAVIRT_BOOTMAP); in xen_pv_init_platform()
/Linux-v5.4/arch/x86/mm/
Dioremap.c807 BUILD_BUG_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
809 WARN_ON((fix_to_virt(0) + PAGE_SIZE) & ((1 << PMD_SHIFT) - 1)); in early_ioremap_init()
814 pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)); in early_ioremap_init()
826 if (pmd != early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END))) { in early_ioremap_init()
829 pmd, early_ioremap_pmd(fix_to_virt(FIX_BTMAP_END))); in early_ioremap_init()
831 fix_to_virt(FIX_BTMAP_BEGIN)); in early_ioremap_init()
833 fix_to_virt(FIX_BTMAP_END)); in early_ioremap_init()
Dinit_32.c131 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_range_init_count()
132 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_range_init_count()
168 int pmd_idx_kmap_begin = fix_to_virt(FIX_KMAP_END) >> PMD_SHIFT; in page_table_kmap_check()
169 int pmd_idx_kmap_end = fix_to_virt(FIX_KMAP_BEGIN) >> PMD_SHIFT; in page_table_kmap_check()
191 BUG_ON(vaddr < fix_to_virt(FIX_KMAP_BEGIN - 1) in page_table_kmap_check()
192 && vaddr > fix_to_virt(FIX_KMAP_END) in page_table_kmap_check()
755 if (probe_kernel_write((char *)fix_to_virt(FIX_WP_TEST), &z, 1)) { in test_wp_bit()
/Linux-v5.4/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-v5.4/arch/openrisc/include/asm/
Dfixmap.h61 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() function
/Linux-v5.4/arch/powerpc/include/asm/
Dfixmap.h80 map_kernel_page(fix_to_virt(idx), phys, flags); in __set_fixmap()
/Linux-v5.4/arch/xtensa/include/asm/
Dfixmap.h60 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() function
/Linux-v5.4/arch/arm64/mm/
Dmmu.c844 if ((pmdp != fixmap_pmd(fix_to_virt(FIX_BTMAP_BEGIN))) in early_fixmap_init()
845 || pmdp != fixmap_pmd(fix_to_virt(FIX_BTMAP_END))) { in early_fixmap_init()
848 pmdp, fixmap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)), in early_fixmap_init()
849 fixmap_pmd(fix_to_virt(FIX_BTMAP_END))); in early_fixmap_init()
851 fix_to_virt(FIX_BTMAP_BEGIN)); in early_fixmap_init()
853 fix_to_virt(FIX_BTMAP_END)); in early_fixmap_init()
/Linux-v5.4/arch/openrisc/mm/
Dioremap.c64 v = fix_to_virt(FIX_IOREMAP_BEGIN + fixmaps_used); in ioremap()
/Linux-v5.4/arch/x86/pci/
Dmmconfig_32.c18 #define mmcfg_virt_addr ((void __iomem *) fix_to_virt(FIX_PCIE_MCFG))
/Linux-v5.4/drivers/firewire/
Dinit_ohci1394_dma.c248 ohci.registers = (void __iomem *)fix_to_virt(FIX_OHCI1394_BASE); in init_ohci1394_controller()
/Linux-v5.4/mm/
Dearly_ioremap.c197 if (WARN_ON(virt_addr < fix_to_virt(FIX_BTMAP_BEGIN))) in early_iounmap()
/Linux-v5.4/arch/x86/include/asm/
Dapicdef.h146 #define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
/Linux-v5.4/Documentation/arm/
Dmemory.rst49 by fix_to_virt() will be located here.
/Linux-v5.4/arch/x86/kernel/
Dtboot.c66 tboot = (struct tboot *)fix_to_virt(FIX_TBOOT_BASE); in tboot_probe()
/Linux-v5.4/arch/riscv/mm/
Dinit.c404 dtb_early_va = (void *)fix_to_virt(FIX_FDT) + (dtb_pa & ~PAGE_MASK); in setup_vm()
/Linux-v5.4/arch/arm/mm/
Dmmu.c1613 unsigned long va = fix_to_virt(__end_of_permanent_fixed_addresses - 1); in early_fixmap_shutdown()
1623 map.virtual = fix_to_virt(i); in early_fixmap_shutdown()