Lines Matching refs:byte
141 int pmc, byte, unit, sh;
166 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
167 if (byte >= 4) {
172 byte &= 3;
187 grp = byte & 1;
188 /* Set byte lane select field */
189 mask |= 0xfUL << (24 - 4 * byte);
190 value |= (unsigned long)unit << (24 - 4 * byte);
247 * Some direct events for decodes of event bus byte 3 have alternative
296 * The 0x80 bit indicates a byte decode PMCSEL value.
342 int bit, byte, unit;
368 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
371 /* byte 1 bits 0-7, byte 2 bits 0,2-4,6 */
373 } else if (unit == PM_LSU1 && byte >= 4) {
374 byte -= 4;
375 /* byte 4 bits 1,3,5,7, byte 5 bits 6-7, byte 7 bits 0-4,6 */
380 return (mask >> (byte * 8 + bit)) & 1;
389 unsigned int pmc, unit, byte, psel;
419 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
424 if (byte >= 4) {
428 byte &= 3;
431 ++pmc_grp_use[byte & 1];
432 if (busbyte[byte] && busbyte[byte] != unit)
434 busbyte[byte] = unit;
472 /* Set byte lane select fields, TTM[23]SEL and GRS_*SEL. */
473 for (byte = 0; byte < 4; ++byte) {
474 unit = busbyte[byte];
481 /* select lower word of LSU1 for this byte */
482 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte);
486 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte);
493 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
503 if (grp == (byte & 1))
514 if ((psel == 8 || psel == 0x10) && isbus && (byte & 2))