Searched refs:PO_SR_16 (Results 1 – 2 of 2) sorted by relevance
/external/crosvm/devices/src/pci/ |
D | ac97_bus_master.rs | 339 PO_SR_16 => regs.po_regs.sr, in readw() 397 PO_SR_16 => self.set_sr(Ac97Function::Output, u16::from(val)), in writeb() 419 PO_SR_16 => self.set_sr(Ac97Function::Output, val), in writew() 1135 assert!(bm.readw(PO_SR_16, &mixer) & SR_BCIS != 0); in start_playback() 1137 bm.writew(PO_SR_16, SR_BCIS); in start_playback() 1138 assert!(bm.readw(PO_SR_16, &mixer) & SR_BCIS == 0); in start_playback() 1148 assert!(bm.readw(PO_SR_16, &mixer) & SR_DCH == 0); // DMA is running. in start_playback() 1155 assert!(bm.readw(PO_SR_16, &mixer) & SR_LVBCI != 0); // Hit last buffer in start_playback() 1156 … assert!(bm.readw(PO_SR_16, &mixer) & SR_DCH == SR_DCH); // DMA stopped because of lack of buffers. in start_playback() 1157 assert!(bm.readw(PO_SR_16, &mixer) & SR_CELV == SR_CELV); // Processed the last buffer in start_playback() [all …]
|
D | ac97_regs.rs | 163 pub const PO_SR_16: u64 = PO_BASE_10 + SR_OFFSET; constant
|