Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/csky/mm/
A 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.3-rc2/mm/
A 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.3-rc2/arch/openrisc/include/asm/
A 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.3-rc2/arch/sh/mm/
A Dkmap.c24 vaddr = __fix_to_virt(FIX_CMAP_BEGIN); in kmap_coherent_init()
42 vaddr = __fix_to_virt(idx); in kmap_coherent()
A Dinit.c113 unsigned long address = __fix_to_virt(idx); in __set_fixmap()
125 unsigned long address = __fix_to_virt(idx); in __clear_fixmap()
330 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in paging_init()
A Dioremap_fixed.c43 map->fixmap_addr = __fix_to_virt(FIX_IOREMAP_BEGIN + i); in ioremap_fixed_init()
/linux-6.3-rc2/arch/parisc/mm/
A 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.3-rc2/include/asm-generic/
A 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.3-rc2/arch/powerpc/include/asm/
A 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.3-rc2/include/linux/
A Dhighmem-internal.h157 (addr >= __fix_to_virt(FIX_KMAP_END) && in is_kmap_addr()
158 addr < __fix_to_virt(FIX_KMAP_BEGIN)); in is_kmap_addr()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dfixmap.h57 #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) macro
/linux-6.3-rc2/arch/sparc/include/asm/
A Dvaddrs.h54 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/linux-6.3-rc2/arch/arc/include/asm/
A Dhighmem.h30 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/linux-6.3-rc2/arch/arm64/include/asm/
A Dfixmap.h71 #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1))
/linux-6.3-rc2/arch/powerpc/mm/
A 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.3-rc2/arch/mips/mm/
A Dpgtable-32.c72 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in pagetable_init()
A Dpgtable-64.c124 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in pagetable_init()
/linux-6.3-rc2/arch/parisc/kernel/
A Dkexec.c79 void *virt = (void *)__fix_to_virt(FIX_TEXT_KEXEC); in machine_kexec()
A Dpatch.c45 return (void *) (__fix_to_virt(fixmap) + (uintaddr & ~PAGE_MASK)); in patch_map()
/linux-6.3-rc2/arch/x86/platform/ce4100/
A Dce4100.c97 (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in ce4100_serial_fixup()
/linux-6.3-rc2/arch/x86/mm/
A 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.3-rc2/arch/powerpc/include/asm/nohash/32/
A Dmmu-8xx.h191 #define VIRT_IMMR_BASE (__fix_to_virt(FIX_IMMR_BASE))
/linux-6.3-rc2/arch/arm/kernel/
A Dpatch.c40 return (void *) (__fix_to_virt(fixmap) + (uintaddr & ~PAGE_MASK)); in patch_map()
/linux-6.3-rc2/arch/arm64/mm/
A Dmmu.c1245 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in early_fixmap_init()
1246 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in early_fixmap_init()
1271 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
1288 const u64 dt_virt_base = __fix_to_virt(FIX_FDT); in fixmap_remap_fdt()
1315 BUILD_BUG_ON(__fix_to_virt(FIX_FDT_END) >> SWAPPER_TABLE_SHIFT != in fixmap_remap_fdt()
1316 __fix_to_virt(FIX_BTMAP_BEGIN) >> SWAPPER_TABLE_SHIFT); in fixmap_remap_fdt()
/linux-6.3-rc2/arch/riscv/mm/
A Dinit.c316 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
1064 BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in setup_vm()
1065 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in setup_vm()
1074 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm()
1075 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm()

Completed in 32 milliseconds

12