Home
last modified time | relevance | path

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

12

/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_root.rs61 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress, Error> { in allocate_address()
281 address: PciAddress, in add_device()
300 fn sync_multifunction_bit_to_mmio_mappings(&mut self, address: &PciAddress, on_add: bool) { in sync_multifunction_bit_to_mmio_mappings()
326 pub fn remove_device(&mut self, address: PciAddress) { in remove_device()
352 pub fn config_space_read(&self, address: PciAddress, register: usize) -> u32 { in config_space_read()
382 address: PciAddress, in config_space_write()
428 pub fn virtual_config_space_read(&self, address: PciAddress, register: usize) -> u32 { in virtual_config_space_read()
438 pub fn virtual_config_space_write(&mut self, address: PciAddress, register: usize, value: u32) { in virtual_config_space_write()
484 address: &PciAddress, in setup_mapping()
565 fn set_mfd_bit(&mut self, address: &PciAddress, is_mfd: bool) { in set_mfd_bit()
Dpci_device.rs285 pub fn find_downstream_devices(&self, bus_no: u8) -> Vec<PciAddress> { in find_downstream_devices()
300 pub fn get_downstream_devices(&self) -> Vec<PciAddress> { in get_downstream_devices()
350 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
357 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress>; in allocate_address()
483 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
765 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
768 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
845 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
930 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dpci_hotplug.rs55 preferred_address: PciAddress, in allocate_address()
153 preferred_address: PciAddress, in allocate_address()
Dstub.rs161 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
165 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dpvpanic.rs118 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
Dvfio_pci.rs698 guest_address: Option<PciAddress>, in new()
861 pub fn pci_address(&self) -> Option<PciAddress> { in pci_address()
1619 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
1626 ) -> Result<PciAddress, PciDeviceError> { in allocate_address()
/external/crosvm/devices/src/pci/pcie/
Dpcie_switch.rs69 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
106 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
110 fn get_address(&self) -> Option<PciAddress> { in get_address()
114 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
198 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
256 fn get_address(&self) -> Option<PciAddress> { in get_address()
268 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
278 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
Dpcie_rp.rs73 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
136 fn get_address(&self) -> Option<PciAddress> { in get_address()
148 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
163 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
Dpcie_port.rs215 pub fn get_address(&self) -> Option<PciAddress> { in get_address()
223 pub fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
230 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
643 fn get_removed_devices_impl(&self) -> Vec<PciAddress>; in get_removed_devices_impl()
661 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
668 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
696 fn get_removed_devices(&self) -> Vec<PciAddress> { in get_removed_devices()
Dpcie_device.rs24 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
30 ) -> std::result::Result<PciAddress, PciDeviceError>; in allocate_address()
39 fn get_removed_devices(&self) -> Vec<PciAddress>; in get_removed_devices()
Dpci_bridge.rs236 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
243 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
334 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
/external/crosvm/devices/src/virtio/vhost_user_frontend/
Dmod.rs99 pci_address: Option<PciAddress>, in new()
127 pci_address: Option<PciAddress>, in new_internal()
477 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
/external/crosvm/devices/src/virtio/vhost/
Dnet.rs69 pci_address: Option<PciAddress>, in new()
254 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
/external/crosvm/riscv64/src/
Dfdt.rs211 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_pci_nodes()
302 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_fdt()
/external/crosvm/devices/src/virtio/
Dvirtio_device.rs147 _pci_address: &Option<PciAddress>, in generate_acpi()
165 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
Dconsole.rs289 pci_address: Option<PciAddress>, in new()
393 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
Dnet.rs510 pci_address: Option<PciAddress>, in new()
568 pci_address: Option<PciAddress>, in new_internal()
749 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
Dvirtio_pci_device.rs624 pub fn pci_address(&self) -> Option<PciAddress> { in pci_address()
644 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
651 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
/external/crosvm/arch/src/
Dlib.rs529 ) -> Result<PciAddress, Self::Error>; in register_pci_device()
692 ) -> Result<PciAddress, DeviceRegistrationError> { in configure_pci_device()
889 device_addrs: &[PciAddress], in generate_pci_topology()
1006 Vec<(PciAddress, u32, PciInterruptPin)>, in generate_pci_root()
1008 BTreeMap<PciAddress, Vec<u8>>, in generate_pci_root()
/external/crosvm/x86_64/src/
Dacpi.rs181 amls: BTreeMap<PciAddress, Vec<u8>>, in create_customize_ssdt()
182 gpe_scope_amls: BTreeMap<PciAddress, Vec<u8>>, in create_customize_ssdt()
546 pci_irqs: &[(PciAddress, u32, PciInterruptPin)], in create_acpi_tables()
Dmptable.rs108 pci_irqs: &[(PciAddress, u32, PciInterruptPin)], in setup_mptable()
/external/crosvm/devices/src/
Dbus.rs229 fn get_address(&self) -> Option<PciAddress>; in get_address()
235 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress); in add_hotplug_device()
237 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress>; in get_hotplug_device()
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs190 ) -> Result<PciAddress, PciDeviceError> { in allocate_address()
/external/crosvm/aarch64/src/
Dfdt.rs453 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_pci_nodes()
628 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_fdt()

12