Lines Matching defs:shifts
161 /* The values needing packing, in order, and the corresponding shifts.
165 unsigned shifts[7] = { 0 };
173 packed |= ((values[i] - 1) << shifts[i]);
179 shifts[i + 1] = shifts[i] + bit_count;
184 cfg.size_y_shift = shifts[1];
185 cfg.size_z_shift = shifts[2];
186 cfg.workgroups_x_shift = shifts[3];
190 cfg.workgroups_y_shift = shifts[4];
191 cfg.workgroups_z_shift = shifts[5];