Lines Matching refs:idx
26 * 'index to address' translation. If anyone tries to use the idx
30 static __always_inline unsigned long fix_to_virt(const unsigned int idx)
32 BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
33 return __fix_to_virt(idx);
64 #define set_fixmap(idx, phys) \
65 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL)
69 #define clear_fixmap(idx) \
70 __set_fixmap(idx, 0, FIXMAP_PAGE_CLEAR)
74 #define __set_fixmap_offset(idx, phys, flags) \
77 __set_fixmap(idx, phys, flags); \
78 ________addr = fix_to_virt(idx) + ((phys) & (PAGE_SIZE - 1)); \
82 #define set_fixmap_offset(idx, phys) \
83 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL)
88 #define set_fixmap_nocache(idx, phys) \
89 __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE)
91 #define set_fixmap_offset_nocache(idx, phys) \
92 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NOCACHE)
97 #define set_fixmap_io(idx, phys) \
98 __set_fixmap(idx, phys, FIXMAP_PAGE_IO)
100 #define set_fixmap_offset_io(idx, phys) \
101 __set_fixmap_offset(idx, phys, FIXMAP_PAGE_IO)