Home
last modified time | relevance | path

Searched refs:SR_DCH (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/devices/src/pci/
Dac97_bus_master.rs455 && func_regs.sr & SR_DCH == SR_DCH in set_lvi()
463 func_regs.sr &= !(SR_DCH | SR_CELV); in set_lvi()
497 regs.func_regs_mut(func).sr |= SR_DCH; in set_cr()
506 func_regs.sr &= !SR_DCH; in set_cr()
651 update_sr(regs, func, SR_DCH); in reset_func_regs()
730 if func_regs.sr & SR_DCH != 0 in next_guest_buffer()
772 new_sr |= SR_DCH | SR_CELV | SR_LVBCI; in buffer_completed()
834 while locked_regs.func_regs(func).sr & SR_DCH != 0 { in run()
1148 assert!(bm.readw(PO_SR_16, &mixer) & SR_DCH == 0); // DMA is running. 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()
[all …]
Dac97_regs.rs179 pub const SR_DCH: u16 = 0x01; constant
186 pub const SR_RO_MASK: u16 = SR_DCH | SR_CELV;
239 sr: SR_DCH, in new()