Home
last modified time | relevance | path

Searched refs:pci_root_0 (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/driver/pci/
H A Dpci.rs7 use super::root::{pci_root_0, PciRoot};
362 pci_root_0().write_config( in set_command()
658 let result = pci_root_0().read_config(bus_device_function, STATUS_COMMAND_OFFSET.into()); in capabilities_offset()
661 let cap_pointer = pci_root_0().read_config(bus_device_function, 0x34) as u8 & 0xFC; in capabilities_offset()
677 let result = pci_root_0().read_config(bus_device_function, 0x00); in pci_read_header()
681 let result = pci_root_0().read_config(bus_device_function, 0x04); in pci_read_header()
685 let result = pci_root_0().read_config(bus_device_function, 0x08); in pci_read_header()
691 let result = pci_root_0().read_config(bus_device_function, 0x0c); in pci_read_header()
764 let cardbus_cis_pointer = pci_root_0().read_config(*bus_device_function, 0x28); in pci_read_general_device_header()
766 let result = pci_root_0().read_config(*bus_device_function, 0x2c); in pci_read_general_device_header()
[all …]
H A Dpci_irq.rs13 use super::root::pci_root_0;
162 let data = pci_root_0() in irq_init()
165 let data = pci_root_0().read_config( in irq_init()
171 let data = pci_root_0().read_config( in irq_init()
198 let data = pci_root_0() in irq_init()
255 let mut message = pci_root_0() in msix_enable()
262 pci_root_0().write_config( in msix_enable()
286 let mut message = pci_root_0() in msi_enable()
293 pci_root_0().write_config( in msi_enable()
412 pci_root_0().write_config( in msi_install()
[all …]
H A Droot.rs224 pub fn pci_root_0() -> Arc<PciRoot> { in pci_root_0() function
/DragonOS/kernel/src/driver/virtio/
H A Dtransport_pci.rs9 use crate::driver::pci::root::pci_root_0;
154 bar: pci_root_0().read_config( in new()
158 offset: pci_root_0().read_config( in new()
162 length: pci_root_0().read_config( in new()
174 notify_off_multiplier = pci_root_0().read_config( in new()