Lines Matching defs:scale
278 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale);
287 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale);
1909 * where both scale and num could be 0 as well.
1928 unsigned long scale, num;
1931 scale = __ffs(num_pages);
1932 cmd->tlbi.scale = scale;
1934 /* Determine how many chunks of 2^scale size we have */
1935 num = (num_pages >> scale) & CMDQ_TLBI_RANGE_NUM_MAX;
1938 /* range is num * 2^scale * pgsize */
1939 inv_range = num << (scale + tg);
1942 num_pages -= num << scale;