Home
last modified time | relevance | path

Searched defs:PciAddress (Results 1 – 25 of 29) sorted by relevance

12

/external/crosvm/devices/src/pci/pcie/
Dpcie_switch.rs75 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
82 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
113 fn get_removed_devices(&self) -> Vec<PciAddress> { in get_removed_devices()
136 fn hot_plug(&mut self, _addr: PciAddress) {} in hot_plug()
139 fn hot_unplug(&mut self, addr: PciAddress) { in hot_unplug()
147 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
151 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
234 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
241 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
272 fn get_removed_devices(&self) -> Vec<PciAddress> { in get_removed_devices()
[all …]
Dpcie_rp.rs77 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
84 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
119 fn get_removed_devices(&self) -> Vec<PciAddress> { in get_removed_devices()
141 fn hot_plug(&mut self, addr: PciAddress) { in hot_plug()
151 fn hot_unplug(&mut self, addr: PciAddress) { in hot_unplug()
179 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
194 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
Dpcie_device.rs22 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
28 ) -> std::result::Result<PciAddress, PciDeviceError>; in allocate_address()
37 fn get_removed_devices(&self) -> Vec<PciAddress>; in get_removed_devices()
Dpcie_port.rs227 pub fn get_address(&self) -> Option<PciAddress> { in get_address()
235 pub fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
242 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
Dpci_bridge.rs238 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
245 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
357 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
/external/crosvm/devices/src/pci/
Dpci_address.rs51 pub struct PciAddress { struct
60 impl Serialize for PciAddress { argument
69 impl<'de> Deserialize<'de> for PciAddress { implementation
92 impl Display for PciAddress { implementation
118 impl FromStr for PciAddress { implementation
155 impl PciAddress { implementation
Dpci_device.rs274 pub fn find_downstream_devices(&self, bus_no: u8) -> Vec<PciAddress> { in find_downstream_devices()
289 pub fn get_downstream_devices(&self) -> Vec<PciAddress> { in get_downstream_devices()
339 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
346 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress>; in allocate_address()
446 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
665 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
668 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
736 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
933 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dpci_root.rs52 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress, Error> { in allocate_address()
208 pub fn add_device(&mut self, address: PciAddress, device: Arc<Mutex<dyn BusDevice>>) { in add_device()
225 pub fn remove_device(&mut self, address: PciAddress) { in remove_device()
250 pub fn config_space_read(&self, address: PciAddress, register: usize) -> u32 { in config_space_read()
296 address: PciAddress, in config_space_write()
342 pub fn virtual_config_space_read(&self, address: PciAddress, register: usize) -> u32 { in virtual_config_space_read()
352 pub fn virtual_config_space_write(&mut self, address: PciAddress, register: usize, value: u32) { in virtual_config_space_write()
Dstub.rs160 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
164 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dpvpanic.rs126 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dac97.rs268 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dvfio_pci.rs695 guest_address: Option<PciAddress>, in new()
896 pub fn pci_address(&self) -> Option<PciAddress> { in pci_address()
1736 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
1743 ) -> Result<PciAddress, PciDeviceError> { in allocate_address()
Dcoiommu.rs1252 address: PciAddress, in allocate_bar_address()
1428 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> PciResult<PciAddress> { in allocate_address()
/external/crosvm/devices/src/virtio/
Dvirtio_device.rs152 _pci_address: &Option<PciAddress>, in generate_acpi()
170 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
Dvirtio_pci_device.rs532 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
539 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
Diommu.rs866 pci_address: &Option<PciAddress>, in generate_acpi()
/external/crosvm/devices/src/virtio/vhost/user/device/listener/sys/
Dunix.rs65 pci_addr: PciAddress, in new_vvu()
/external/crosvm/devices/src/
Dbus.rs196 fn hot_plug(&mut self, addr: PciAddress); in hot_plug()
199 fn hot_unplug(&mut self, addr: PciAddress); in hot_unplug()
208 fn add_hotplug_device(&mut self, host_key: HostHotPlugKey, guest_addr: PciAddress); in add_hotplug_device()
210 fn get_hotplug_device(&self, host_key: HostHotPlugKey) -> Option<PciAddress>; in get_hotplug_device()
/external/crosvm/arch/src/
Dlib.rs491 ) -> Result<PciAddress, Self::Error>; in register_pci_device()
636 ) -> Result<PciAddress, DeviceRegistrationError> { in configure_pci_device()
839 device_addrs: &[PciAddress], in generate_pci_topology()
954 Vec<(PciAddress, u32, PciInterruptPin)>, in generate_pci_root()
956 BTreeMap<PciAddress, Vec<u8>>, in generate_pci_root()
/external/crosvm/aarch64/src/
Dfdt.rs392 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_pci_nodes()
557 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_fdt()
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs190 ) -> Result<PciAddress, PciDeviceError> { in allocate_address()
/external/crosvm/x86_64/src/
Dacpi.rs180 amls: BTreeMap<PciAddress, Vec<u8>>, in create_customize_ssdt()
541 pci_irqs: &[(PciAddress, u32, PciInterruptPin)], in create_acpi_tables()
Dmptable.rs110 pci_irqs: &[(PciAddress, u32, PciInterruptPin)], in setup_mptable()
/external/crosvm/devices/src/virtio/vhost/user/device/vvu/
Dpci.rs302 pub fn new_from_address(pci_address: PciAddress, device_vq_num: usize) -> Result<Self> { in new_from_address()
/external/crosvm/devices/src/virtio/vhost/user/
Dproxy.rs1384 pci_address: Option<PciAddress>, in new()
1952 fn pci_address(&self) -> Option<PciAddress> { in pci_address()

12