Searched refs:BusDeviceEntry (Results 1 – 1 of 1) sorted by relevance
/external/crosvm/devices/src/ |
D | bus.rs | 159 enum BusDeviceEntry { enum 173 devices: BTreeMap<BusRange, BusDeviceEntry>, 193 fn first_before(&self, addr: u64) -> Option<(BusRange, &BusDeviceEntry)> { in first_before() argument 202 fn get_device(&self, addr: u64) -> Option<(u64, u64, &BusDeviceEntry)> { in get_device() argument 229 .insert(BusRange { base, len }, BusDeviceEntry::OuterSync(device)) in insert() 262 .insert(BusRange { base, len }, BusDeviceEntry::InnerSync(device)) in insert_sync() 282 BusDeviceEntry::OuterSync(dev) => dev.lock().read(io, data), in read() 283 BusDeviceEntry::InnerSync(dev) => dev.read(io, data), in read() 302 BusDeviceEntry::OuterSync(dev) => dev.lock().write(io, data), in write() 303 BusDeviceEntry::InnerSync(dev) => dev.write(io, data), in write()
|