Home
last modified time | relevance | path

Searched refs:__fix_to_virt (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/arch/csky/mm/
Dtcm.c42 vaddr = __fix_to_virt(FIX_TCM - i);
61 vaddr = __fix_to_virt(FIX_TCM - CONFIG_ITCM_NR_PAGES - i);
75 memcpy((void *)__fix_to_virt(FIX_TCM),
79 __func__, __fix_to_virt(FIX_TCM), CONFIG_ITCM_RAM_BASE);
84 memcpy((void *)__fix_to_virt(FIX_TCM),
88 __func__, __fix_to_virt(FIX_TCM), CONFIG_ITCM_RAM_BASE);
93 memcpy((void *)__fix_to_virt(FIX_TCM - CONFIG_ITCM_NR_PAGES),
97 __func__, __fix_to_virt(FIX_TCM - CONFIG_ITCM_NR_PAGES),
136 u32 tcm_pool_start = __fix_to_virt(FIX_TCM)
142 u32 tcm_pool_start = __fix_to_virt(FIX_TCM - CONFIG_ITCM_NR_PAGES)
/linux-6.1.9/mm/
Dhighmem.c167 if (WARN_ON_ONCE(base >= __fix_to_virt(FIX_KMAP_END) && in __kmap_to_page()
168 base < __fix_to_virt(FIX_KMAP_BEGIN))) { in __kmap_to_page()
174 base_addr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in __kmap_to_page()
532 __kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in kmap_get_pte()
549 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in __kmap_local_pfn_prot()
589 if (addr < __fix_to_virt(FIX_KMAP_END) || in kunmap_local_indexed()
590 addr > __fix_to_virt(FIX_KMAP_BEGIN)) { in kunmap_local_indexed()
609 WARN_ON_ONCE(addr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_local_indexed()
661 addr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in __kmap_local_sched_out()
691 addr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in __kmap_local_sched_in()
/linux-6.1.9/arch/openrisc/include/asm/
Dfixmap.h53 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
75 return __fix_to_virt(idx); in fix_to_virt()
/linux-6.1.9/arch/sh/mm/
Dkmap.c24 vaddr = __fix_to_virt(FIX_CMAP_BEGIN); in kmap_coherent_init()
42 vaddr = __fix_to_virt(idx); in kmap_coherent()
Dinit.c113 unsigned long address = __fix_to_virt(idx); in __set_fixmap()
125 unsigned long address = __fix_to_virt(idx); in __clear_fixmap()
329 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in paging_init()
Dioremap_fixed.c43 map->fixmap_addr = __fix_to_virt(FIX_IOREMAP_BEGIN + i); in ioremap_fixed_init()
/linux-6.1.9/arch/parisc/mm/
Dfixmap.c15 unsigned long vaddr = __fix_to_virt(idx); in set_fixmap()
32 unsigned long vaddr = __fix_to_virt(idx); in clear_fixmap()
/linux-6.1.9/include/asm-generic/
Dfixmap.h21 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
33 return __fix_to_virt(idx); in fix_to_virt()
/linux-6.1.9/arch/powerpc/include/asm/
Dfixmap.h115 map_kernel_page(__fix_to_virt(idx), phys, flags); in __set_fixmap()
117 unmap_kernel_page(__fix_to_virt(idx)); in __set_fixmap()
/linux-6.1.9/arch/parisc/include/asm/
Dfixmap.h57 #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) macro
/linux-6.1.9/arch/sparc/include/asm/
Dvaddrs.h54 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/linux-6.1.9/arch/arc/include/asm/
Dhighmem.h30 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/linux-6.1.9/arch/arm64/include/asm/
Dfixmap.h71 #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1))
/linux-6.1.9/arch/powerpc/mm/
Dmem.c232 unsigned long v = __fix_to_virt(FIX_KMAP_END); in paging_init()
233 unsigned long end = __fix_to_virt(FIX_KMAP_BEGIN); in paging_init()
/linux-6.1.9/arch/mips/mm/
Dpgtable-32.c73 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in pagetable_init()
Dpgtable-64.c122 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in pagetable_init()
/linux-6.1.9/arch/parisc/kernel/
Dkexec.c79 void *virt = (void *)__fix_to_virt(FIX_TEXT_KEXEC); in machine_kexec()
Dpatch.c45 return (void *) (__fix_to_virt(fixmap) + (uintaddr & ~PAGE_MASK)); in patch_map()
/linux-6.1.9/arch/x86/platform/ce4100/
Dce4100.c97 (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in ce4100_serial_fixup()
/linux-6.1.9/arch/x86/mm/
Dioremap.c893 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_ioremap_init()
894 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in early_ioremap_init()
914 unsigned long addr = __fix_to_virt(idx); in __early_set_fixmap()
/linux-6.1.9/arch/arm/kernel/
Dpatch.c40 return (void *) (__fix_to_virt(fixmap) + (uintaddr & ~PAGE_MASK)); in patch_map()
/linux-6.1.9/arch/powerpc/include/asm/nohash/32/
Dmmu-8xx.h191 #define VIRT_IMMR_BASE (__fix_to_virt(FIX_IMMR_BASE))
/linux-6.1.9/arch/arm64/mm/
Dmmu.c1313 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_fixmap_init()
1314 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in early_fixmap_init()
1339 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
1356 const u64 dt_virt_base = __fix_to_virt(FIX_FDT); in fixmap_remap_fdt()
1383 BUILD_BUG_ON(__fix_to_virt(FIX_FDT_END) >> SWAPPER_TABLE_SHIFT != in fixmap_remap_fdt()
1384 __fix_to_virt(FIX_BTMAP_BEGIN) >> SWAPPER_TABLE_SHIFT); in fixmap_remap_fdt()
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/
Dusbgecko_udbg.c300 early_debug_area = (void __iomem *)__fix_to_virt(FIX_EARLY_DEBUG_BASE); in udbg_init_usbgecko()
/linux-6.1.9/arch/riscv/mm/
Dinit.c316 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
1063 BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in setup_vm()
1064 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in setup_vm()
1073 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm()
1074 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm()

12