Lines Matching defs:Pit
184 pub struct Pit { struct
186 counters: Vec<Arc<Mutex<PitCounter>>>, argument
190 worker_thread: Option<thread::JoinHandle<PitResult<()>>>, argument
194 impl Drop for Pit { implementation
213 impl BusDevice for Pit { implementation
262 impl Pit { impl
263 pub fn new(interrupt_evt: Event, clock: Arc<Mutex<Clock>>) -> PitResult<Pit> { in new()
952 fn write_command(pit: &mut Pit, command: u8) { in write_command()
957 fn write_speaker(pit: &mut Pit, command: u8) { in write_speaker()
962 fn write_counter(pit: &mut Pit, counter_idx: usize, data: u16, access_mode: CommandAccess) { in write_counter()
983 fn read_counter(pit: &mut Pit, counter_idx: usize, expected: u16, access_mode: CommandAccess) { in read_counter()