Lines Matching refs:byte
145 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local
162 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; in p970_marked_instr_event()
177 return (mask >> (byte * 8 + bit)) & 1; in p970_marked_instr_event()
193 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local
212 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; in p970_get_constraint()
218 grp = byte & 1; in p970_get_constraint()
220 mask |= 0xfULL << (28 - 4 * byte); in p970_get_constraint()
221 value |= (unsigned long)unit << (28 - 4 * byte); in p970_get_constraint()
259 unsigned int pmc, unit, byte, psel; in p970_compute_mmcr() local
288 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; in p970_compute_mmcr()
293 ++pmc_grp_use[byte & 1]; in p970_compute_mmcr()
294 if (busbyte[byte] && busbyte[byte] != unit) in p970_compute_mmcr()
296 busbyte[byte] = unit; in p970_compute_mmcr()
326 for (byte = 0; byte < 4; ++byte) { in p970_compute_mmcr()
327 unit = busbyte[byte]; in p970_compute_mmcr()
336 if (unit == PM_LSU1L && byte >= 2) in p970_compute_mmcr()
337 mmcr1 |= 1ull << (MMCR1_TTM3SEL_SH + 3 - byte); in p970_compute_mmcr()
340 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte); in p970_compute_mmcr()
348 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; in p970_compute_mmcr()
353 psel |= 0x10 | ((byte & 2) << 2); in p970_compute_mmcr()
361 if (grp == (byte & 1)) in p970_compute_mmcr()
372 if (psel == 0 && (byte & 2)) in p970_compute_mmcr()