Searched refs:PortIOSpace (Results 1 – 1 of 1) sorted by relevance
110 enum PortIOSpace { enum222 match PortIOSpace::n(offset as i64) { in write()223 Some(PortIOSpace::PortCounter0Data) => self.counters[0].lock().write_counter(data[0]), in write()224 Some(PortIOSpace::PortCounter1Data) => self.counters[1].lock().write_counter(data[0]), in write()225 Some(PortIOSpace::PortCounter2Data) => self.counters[2].lock().write_counter(data[0]), in write()226 Some(PortIOSpace::PortCommand) => self.command_write(data[0]), in write()227 Some(PortIOSpace::PortSpeaker) => self.counters[2].lock().write_speaker(data[0]), in write()237 data[0] = match PortIOSpace::n(offset as i64) { in read()238 Some(PortIOSpace::PortCounter0Data) => self.counters[0].lock().read_counter(), in read()239 Some(PortIOSpace::PortCounter1Data) => self.counters[1].lock().read_counter(), in read()[all …]