Lines Matching defs:byte
147 int pmc, psel, unit, byte, bit;
164 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
169 mask = 0x4c; /* byte 0 bits 2,3,6 */
172 /* byte 2 bits 0,2,3,4,6; all of byte 1 */
176 mask = 0x50 << 24; /* byte 3 bits 4,6 */
179 return (mask >> (byte * 8 + bit)) & 1;
195 int pmc, byte, unit, sh, spcsel;
214 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
220 grp = byte & 1;
221 /* Set byte lane select field */
222 mask |= 0xfULL << (28 - 4 * byte);
223 value |= (unsigned long)unit << (28 - 4 * byte);
262 unsigned int pmc, unit, byte, psel;
291 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
296 ++pmc_grp_use[byte & 1];
297 if (busbyte[byte] && busbyte[byte] != unit)
299 busbyte[byte] = unit;
328 /* Set byte lane select fields and TTM3SEL. */
329 for (byte = 0; byte < 4; ++byte) {
330 unit = busbyte[byte];
339 if (unit == PM_LSU1L && byte >= 2)
340 mmcr1 |= 1ull << (MMCR1_TTM3SEL_SH + 3 - byte);
343 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte);
351 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
356 psel |= 0x10 | ((byte & 2) << 2);
364 if (grp == (byte & 1))
375 if (psel == 0 && (byte & 2))