Lines Matching defs:num
136 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \
141 __ta |= (unsigned long)(num) << 39; \
149 #define __TLBI_RANGE_PAGES(num, scale) \
150 ((unsigned long)((num) + 1) << (5 * (scale) + 1))
154 * Generate 'num' values from -1 to 30 with -1 rejected by the
286 int num = 0;
321 * ((num+1)*2^(5*scale+1) starting from 'addr'), then increase it
324 * Note that certain ranges can be represented by either num = 31 and
325 * scale or num = 0 and scale + 1. The loop below favours the latter
326 * since num is limited to 30 by the __TLBI_RANGE_NUM() macro.
344 num = __TLBI_RANGE_NUM(pages, scale);
345 if (num >= 0) {
347 num, tlb_level);
355 start += __TLBI_RANGE_PAGES(num, scale) << PAGE_SHIFT;
356 pages -= __TLBI_RANGE_PAGES(num, scale);