Lines Matching defs: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;
390 unsigned int pmc, unit, byte, psel;
420 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
425 if (byte >= 4) {
429 byte &= 3;
432 ++pmc_grp_use[byte & 1];
433 if (busbyte[byte] && busbyte[byte] != unit)
435 busbyte[byte] = unit;
473 /* Set byte lane select fields, TTM[23]SEL and GRS_*SEL. */
474 for (byte = 0; byte < 4; ++byte) {
475 unit = busbyte[byte];
482 /* select lower word of LSU1 for this byte */
483 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte);
487 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte);
494 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
504 if (grp == (byte & 1))
515 if ((psel == 8 || psel == 0x10) && isbus && (byte & 2))