Lines Matching refs:idx
29 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() argument
31 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
32 return __fix_to_virt(idx); in fix_to_virt()
60 #define set_fixmap(idx, phys) \ argument
61 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL)
65 #define clear_fixmap(idx) \ argument
66 __set_fixmap(idx, 0, FIXMAP_PAGE_CLEAR)
70 #define __set_fixmap_offset(idx, phys, flags) \ argument
73 __set_fixmap(idx, phys, flags); \
74 addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \
78 #define set_fixmap_offset(idx, phys) \ argument
79 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL)
84 #define set_fixmap_nocache(idx, phys) \ argument
85 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE)
87 #define set_fixmap_offset_nocache(idx, phys) \ argument
88 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NOCACHE)
93 #define set_fixmap_io(idx, phys) \ argument
94 __set_fixmap(idx, phys, FIXMAP_PAGE_IO)
96 #define set_fixmap_offset_io(idx, phys) \ argument
97 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO)