Home
last modified time | relevance | path

Searched refs:HostHotPlugKey (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/devices/src/pci/pcie/
Dpcie_switch.rs13 use crate::bus::HostHotPlugKey;
33 downstream_devices: BTreeMap<PciAddress, HostHotPlugKey>,
147 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress) { in add_hotplug_device() argument
151 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
164 fn get_hotplug_key(&self) -> Option<HostHotPlugKey> { in get_hotplug_key() argument
167 Ok(host_addr) => Some(HostHotPlugKey::UpstreamPort { host_addr }), in get_hotplug_key()
186 downstream_devices: BTreeMap<PciAddress, HostHotPlugKey>,
331 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress) { in add_hotplug_device() argument
341 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
354 fn get_hotplug_key(&self) -> Option<HostHotPlugKey> { in get_hotplug_key() argument
[all …]
Dpcie_rp.rs15 use crate::bus::HostHotPlugKey;
33 downstream_devices: BTreeMap<PciAddress, HostHotPlugKey>,
179 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress) { in add_hotplug_device() argument
194 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
207 fn get_hotplug_key(&self) -> Option<HostHotPlugKey> { in get_hotplug_key() argument
/external/crosvm/devices/src/
Dbus.rs186 pub enum HostHotPlugKey { enum
208 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress); in add_hotplug_device() argument
210 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress>; in get_hotplug_device()
214 fn get_hotplug_key(&self) -> Option<HostHotPlugKey>; in get_hotplug_key() argument
Dlib.rs76 pub use self::bus::HostHotPlugKey;
/external/crosvm/src/crosvm/sys/
Dunix.rs92 use devices::HostHotPlugKey;
2158 let host_key = HostHotPlugKey::UpstreamPort { host_addr }; in add_hotplug_device()
2170 let host_key = HostHotPlugKey::DownstreamPort { host_addr }; in add_hotplug_device()
2200 let host_key = HostHotPlugKey::Vfio { host_addr }; in add_hotplug_device()
2269 host_key: HostHotPlugKey, in remove_hotplug_bridge() argument
2308 HotPlugDeviceType::UpstreamPort => HostHotPlugKey::UpstreamPort { host_addr }, in remove_hotplug_device()
2309 HotPlugDeviceType::DownstreamPort => HostHotPlugKey::DownstreamPort { host_addr }, in remove_hotplug_device()
2310 HotPlugDeviceType::EndPoint => HostHotPlugKey::Vfio { host_addr }, in remove_hotplug_device()
2340 if let Some(HostHotPlugKey::DownstreamPort { host_addr }) = in remove_hotplug_device()
2348 if let Some(HostHotPlugKey::DownstreamPort { host_addr }) = hotplug_key { in remove_hotplug_device()
[all …]