Lines Matching defs:byte
137 int pmc, byte, unit, sh;
159 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
160 if (byte >= 4) {
165 byte &= 3;
175 /* Set byte lane select field */
176 mask |= 0xfUL << (24 - 4 * byte);
177 value |= (unsigned long)unit << (24 - 4 * byte);
238 * Some direct events for decodes of event bus byte 3 have alternative
360 * The 0x80 bit indicates a byte decode PMCSEL value.
406 int bit, byte, unit;
437 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK;
440 /* byte 1 bits 0-7, byte 2 bits 0,2-4,6 */
442 } else if (unit == PM_LSU1 && byte >= 4) {
443 byte -= 4;
444 /* byte 5 bits 6-7, byte 6 bits 0,4, byte 7 bits 0-4,6 */
449 return (mask >> (byte * 8 + bit)) & 1;
459 unsigned int pmc, unit, byte, psel;
484 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
489 if (byte >= 4) {
493 byte &= 3;
495 if (busbyte[byte] && busbyte[byte] != unit)
497 busbyte[byte] = unit;
533 /* Set byte lane select fields, TTM[23]SEL and GRS_*SEL. */
534 for (byte = 0; byte < 4; ++byte) {
535 unit = busbyte[byte];
542 /* select lower word of LSU1 for this byte */
543 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte);
547 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte);
554 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK;
569 if (isbus && (byte & 2) &&
584 if ((psel & 0x58) == 0x40 && (byte & 1) != ((pmc >> 1) & 1))
585 /* select alternate byte lane */