Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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)
Dhighmem.c29 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
51 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_atomic_high()
75 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_pfn()
106 vaddr = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
/kernel/linux/linux-5.10/arch/mips/mm/
Dhighmem.c28 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
52 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_atomic_high()
80 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_pfn()
92 kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
/kernel/linux/linux-5.10/arch/x86/mm/
Dhighmem_32.c14 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
37 if (vaddr >= __fix_to_virt(FIX_KMAP_END) && in kunmap_atomic_high()
38 vaddr <= __fix_to_virt(FIX_KMAP_BEGIN)) { in kunmap_atomic_high()
45 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_atomic_high()
Diomap_32.c57 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_prot_pfn()
93 if (vaddr >= __fix_to_virt(FIX_KMAP_END) && in iounmap_atomic()
94 vaddr <= __fix_to_virt(FIX_KMAP_BEGIN)) { in iounmap_atomic()
101 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in iounmap_atomic()
/kernel/linux/linux-5.10/arch/arm/mm/
Dhighmem.c20 unsigned long vaddr = __fix_to_virt(idx); in set_fixmap_pte()
57 vaddr = __fix_to_virt(idx); in kmap_atomic_high_prot()
88 BUG_ON(vaddr != __fix_to_virt(idx)); in kunmap_atomic_high()
114 vaddr = __fix_to_virt(idx); in kmap_atomic_pfn()
/kernel/linux/linux-5.10/arch/microblaze/mm/
Dhighmem.c43 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
60 if (vaddr < __fix_to_virt(FIX_KMAP_END)) in kunmap_atomic_high()
67 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_atomic_high()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dhighmem.c34 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
47 if (vaddr < __fix_to_virt(FIX_KMAP_END)) in kunmap_atomic_high()
55 WARN_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in kunmap_atomic_high()
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()
241 kmap_pte = virt_to_kpte(__fix_to_virt(FIX_KMAP_BEGIN)); in paging_init()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dhighmem.c38 unsigned long address = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
51 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
90 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN+idx)); in kunmap_atomic_high()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dfixmap.h51 #define __fix_to_virt(x) (FIXADDR_START + ((x) << PAGE_SHIFT)) macro
68 return __fix_to_virt(idx); in fix_to_virt()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dhighmem.c47 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
88 kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); in kmap_init()
Dmmu.c55 init_pmd(__fix_to_virt(0), __end_of_fixed_addresses); in fixedrange_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dfixmap.h42 #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) macro
/kernel/linux/linux-5.10/arch/riscv/mm/
Dinit.c232 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
524 BUILD_BUG_ON((__fix_to_virt(FIX_BTMAP_BEGIN) >> PMD_SHIFT) in setup_vm()
525 != (__fix_to_virt(FIX_BTMAP_END) >> PMD_SHIFT)); in setup_vm()
534 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm()
535 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dvaddrs.h54 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) macro
/kernel/linux/linux-5.10/arch/nds32/mm/
Dhighmem.c23 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); in kmap_atomic_high_prot()
Dinit.c109 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1); in fixedrange_init()
251 unsigned long addr = __fix_to_virt(idx); in __set_fixmap()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dfixmap.h69 #define TRAMP_VALIAS (__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1))

123