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()
63 #define set_fixmap(idx, phys) \ argument
64 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL)
68 #define clear_fixmap(idx) \ argument
69 __set_fixmap(idx, 0, FIXMAP_PAGE_CLEAR)
73 #define __set_fixmap_offset(idx, phys, flags) \ argument
76 __set_fixmap(idx, phys, flags); \
77 addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \
81 #define set_fixmap_offset(idx, phys) \ argument
82 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL)
87 #define set_fixmap_nocache(idx, phys) \ argument
88 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE)
90 #define set_fixmap_offset_nocache(idx, phys) \ argument
91 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NOCACHE)
96 #define set_fixmap_io(idx, phys) \ argument
97 __set_fixmap(idx, phys, FIXMAP_PAGE_IO)
99 #define set_fixmap_offset_io(idx, phys) \ argument
100 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO)