Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/crosvm/devices/src/pci/
H A 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 { impl
H A 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()
H A Dpci_device.rs262 pub fn find_downstream_devices(&self, bus_no: u8) -> Vec<PciAddress> { in find_downstream_devices()
277 pub fn get_downstream_devices(&self) -> Vec<PciAddress> { in get_downstream_devices()
327 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
334 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress>; in allocate_address()
460 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
742 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
745 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
822 fn get_removed_children_devices(&self) -> Vec<PciAddress> { in get_removed_children_devices()
907 fn allocate_address(&mut self, _resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
H A Dpci_hotplug.rs55 preferred_address: PciAddress, in allocate_address()
153 preferred_address: PciAddress, in allocate_address()
H A 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()
H A Dvfio_pci.rs700 guest_address: Option<PciAddress>, in new()
863 pub fn pci_address(&self) -> Option<PciAddress> { in pci_address()
1621 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
1628 ) -> Result<PciAddress, PciDeviceError> { in allocate_address()
H A Dpvpanic.rs118 fn allocate_address(&mut self, resources: &mut SystemAllocator) -> Result<PciAddress> { in allocate_address()
/aosp_15_r20/external/crosvm/devices/src/pci/pcie/
H A Dpcie_switch.rs69 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
110 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
114 fn get_address(&self) -> Option<PciAddress> { in get_address()
118 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
202 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
286 fn get_address(&self) -> Option<PciAddress> { in get_address()
298 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
308 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
H A Dpcie_rp.rs73 fn get_removed_devices_impl(&self) -> Vec<PciAddress> { in get_removed_devices_impl()
165 fn get_address(&self) -> Option<PciAddress> { in get_address()
177 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress) { in add_hotplug_device()
192 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
H A Dpcie_port.rs216 pub fn get_address(&self) -> Option<PciAddress> { in get_address()
224 pub fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
231 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
765 fn get_removed_devices_impl(&self) -> Vec<PciAddress>; in get_removed_devices_impl()
783 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
790 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
818 fn get_removed_devices(&self) -> Vec<PciAddress> { in get_removed_devices()
H A 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()
H A 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()
/aosp_15_r20/external/crosvm/src/crosvm/sys/linux/
H A Dpci_hotplug_manager.rs154 fn new(upstream_address: PciAddress, guest_devices: Vec<GuestDeviceStub>) -> Result<Self> { in new()
373 pci_address: PciAddress, in handle_add_port()
545 fn set_port_state(&mut self, pci_address: PciAddress, port_state: PortState) -> Result<()> { in set_port_state()
1020 fn get_address(&self) -> Option<PciAddress> { in get_address()
1028 fn add_hotplug_device(&mut self, _hotplug_key: HotPlugKey, _guest_addr: PciAddress) {} in add_hotplug_device()
1030 fn get_hotplug_device(&self, _hotplug_key: HotPlugKey) -> Option<PciAddress> { in get_hotplug_device()
/aosp_15_r20/external/coreboot/src/vendorcode/amd/pi/Lib/
H A Damdlib.c801 IN PCI_ADDR PciAddress, in LibAmdPciRead()
852 IN PCI_ADDR PciAddress, in LibAmdPciWrite()
908 IN PCI_ADDR PciAddress, in LibAmdPciRMW()
940 IN PCI_ADDR PciAddress, in LibAmdPciPoll()
/aosp_15_r20/external/crosvm/devices/src/virtio/vhost_user_frontend/
H A Dmod.rs107 pci_address: Option<PciAddress>, in new()
135 pci_address: Option<PciAddress>, in new_internal()
512 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
/aosp_15_r20/external/crosvm/arch/src/
H A Dlib.rs589 ) -> Result<PciAddress, Self::Error>; in register_pci_device()
755 ) -> Result<PciAddress, DeviceRegistrationError> { in configure_pci_device()
952 device_addrs: &[PciAddress], in generate_pci_topology()
1069 Vec<(PciAddress, u32, PciInterruptPin)>, in generate_pci_root()
1071 BTreeMap<PciAddress, Vec<u8>>, in generate_pci_root()
/aosp_15_r20/external/crosvm/devices/src/virtio/
H A Dconsole.rs48 pci_address: Option<PciAddress>, in new()
99 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
H A Dnet.rs508 pci_address: Option<PciAddress>, in new()
566 pci_address: Option<PciAddress>, in new_internal()
747 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
H A Dvirtio_device.rs172 _pci_address: &Option<PciAddress>, in generate_acpi()
190 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
H A Dvirtio_pci_device.rs698 pub fn pci_address(&self) -> Option<PciAddress> { in pci_address()
718 fn preferred_address(&self) -> Option<PciAddress> { in preferred_address()
725 ) -> std::result::Result<PciAddress, PciDeviceError> { in allocate_address()
/aosp_15_r20/external/crosvm/devices/src/virtio/vhost/
H A Dnet.rs69 pci_address: Option<PciAddress>, in new()
254 fn pci_address(&self) -> Option<PciAddress> { in pci_address()
/aosp_15_r20/external/crosvm/riscv64/src/
H A Dfdt.rs211 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_pci_nodes()
302 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_fdt()
/aosp_15_r20/external/crosvm/x86_64/src/
H A 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()
/aosp_15_r20/external/crosvm/devices/src/
H A Dbus.rs232 fn get_address(&self) -> Option<PciAddress>; in get_address()
238 fn add_hotplug_device(&mut self, hotplug_key: HotPlugKey, guest_addr: PciAddress); in add_hotplug_device()
240 fn get_hotplug_device(&self, hotplug_key: HotPlugKey) -> Option<PciAddress>; in get_hotplug_device()
/aosp_15_r20/external/crosvm/aarch64/src/
H A Dfdt.rs468 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_pci_nodes()
652 pci_irqs: Vec<(PciAddress, u32, PciInterruptPin)>, in create_fdt()

12