Lines Matching refs:cr
115 uint8_t cr; /* rw 0 */ member
212 if ((new_mask & SR_LVBCI) && (r->cr & CR_LVBIE)) { in update_sr()
216 if ((new_mask & SR_BCIS) && (r->cr & CR_IOCE)) { in update_sr()
274 r->cr = r->cr & CR_DONT_CLEAR_MASK; in reset_bm_regs()
687 val = r->cr; in nabm_readb()
758 val = r->picb | (r->piv << 16) | (r->cr << 24); in nabm_readl()
760 val, r->picb, r->piv, r->cr); in nabm_readl()
791 if ((r->cr & CR_RPBM) && (r->sr & SR_DCH)) { in nabm_writeb()
807 r->cr = val & CR_VALID_MASK; in nabm_writeb()
808 if (!(r->cr & CR_RPBM)) { in nabm_writeb()
819 dolog("CR[%d] <- 0x%x (cr 0x%x)\n", GET_BM(addr), val, r->cr); in nabm_writeb()
1006 if (r->cr & CR_RPBM) { in transfer_audio()
1104 VMSTATE_UINT8(cr, AC97BusMasterRegs),
1125 active[PI_INDEX] = !!(s->bm_regs[PI_INDEX].cr & CR_RPBM); in ac97_post_load()
1126 active[PO_INDEX] = !!(s->bm_regs[PO_INDEX].cr & CR_RPBM); in ac97_post_load()
1127 active[MC_INDEX] = !!(s->bm_regs[MC_INDEX].cr & CR_RPBM); in ac97_post_load()