Lines Matching refs:sr
208 uint16_t sr; /**< rw 1, status register */
425 uint32_t old_mask = pReg->sr & SR_INT_MASK;
448 pReg->sr = new_sr;
450 LogFlowFunc(("IOC%d LVB%d sr=%#x event=%d level=%d\n",
451 pReg->sr & SR_BCIS, pReg->sr & SR_LVBCI, pReg->sr, event, level));
1396 if (pReg->sr & SR_DCH) /* Controller halted? */
1431 pReg->sr |= SR_DCH; /* CELV? */
1438 pReg->sr &= ~SR_CELV;
1489 uint32_t new_sr = pReg->sr & ~SR_CELV;
1602 *pu32 = pReg->sr & 0xff;
1625 *pu32 = pReg->sr;
1666 *pu32 = pReg->civ | (pReg->lvi << 8) | (pReg->sr << 16);
1667 LogFlowFunc(("CIV LVI SR[%d] -> %#x, %#x, %#x\n", GET_BM(index), pReg->civ, pReg->lvi, pReg->sr));
1722 if ((pReg->cr & CR_RPBM) && (pReg->sr & SR_DCH))
1724 pReg->sr &= ~(SR_DCH | SR_CELV);
1745 pReg->sr |= SR_DCH;
1752 pReg->sr &= ~SR_DCH;
1763 pReg->sr |= u32 & ~(SR_RO_MASK | SR_WCLEAR_MASK);
1764 ichac97UpdateStatus(pThis, pReg, pReg->sr & ~(u32 & SR_WCLEAR_MASK));
1765 LogFlowFunc(("SR[%d] <- %#x (sr %#x)\n", GET_BM(index), u32, pReg->sr));
1785 pReg->sr |= u32 & ~(SR_RO_MASK | SR_WCLEAR_MASK);
1786 ichac97UpdateStatus(pThis, pReg, pReg->sr & ~(u32 & SR_WCLEAR_MASK));
1787 LogFlowFunc(("SR[%d] <- %#x (sr %#x)\n", GET_BM(index), u32, pReg->sr));
2074 SSMR3PutU16(pSSM, pReg->sr);
2128 SSMR3GetU16(pSSM, &pReg->sr);