Lines Matching refs:misc_reg
194 PMU::setMiscReg(int misc_reg, RegVal val)
197 miscRegName[unflattenMiscReg(misc_reg)], val);
199 switch (unflattenMiscReg(misc_reg)) {
247 setCounterTypeRegister(misc_reg - MISCREG_PMEVTYPER0_EL0, val);
266 setCounterValue(misc_reg - MISCREG_PMEVCNTR0_EL0, val);
295 panic("Unexpected PMU register: %i\n", miscRegName[misc_reg]);
299 miscRegName[misc_reg]);
303 PMU::readMiscReg(int misc_reg)
305 RegVal val(readMiscRegInt(misc_reg));
307 miscRegName[unflattenMiscReg(misc_reg)], val);
312 PMU::readMiscRegInt(int misc_reg)
314 misc_reg = unflattenMiscReg(misc_reg);
315 switch (misc_reg) {
360 return getCounterTypeRegister(misc_reg - MISCREG_PMEVTYPER0_EL0);
372 return getCounterValue(misc_reg - MISCREG_PMEVCNTR0_EL0) &
393 panic("Unexpected PMU register: %i\n", miscRegName[misc_reg]);
397 miscRegName[misc_reg]);