Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs680 pub fn read_config(&self, bus_device_function: BusDeviceFunction, register_offset: u16) -> u32 { in read_config() method
723 let result = PciArch::read_config(&bus_device_function, STATUS_COMMAND_OFFSET); in capabilities_offset()
726 let cap_pointer = PciArch::read_config(&bus_device_function, 0x34) as u8 & 0xFC; in capabilities_offset()
742 let result = PciArch::read_config(&bus_device_function, 0x00); in pci_read_header()
746 let result = PciArch::read_config(&bus_device_function, 0x04); in pci_read_header()
750 let result = PciArch::read_config(&bus_device_function, 0x08); in pci_read_header()
756 let result = PciArch::read_config(&bus_device_function, 0x0c); in pci_read_header()
822 let cardbus_cis_pointer = PciArch::read_config(bus_device_function, 0x28); in pci_read_general_device_header()
824 let result = PciArch::read_config(bus_device_function, 0x2c); in pci_read_general_device_header()
828 let expansion_rom_base_address = PciArch::read_config(bus_device_function, 0x30); in pci_read_general_device_header()
[all …]
Dpci_irq.rs125 PciArch::read_config(&self.common_header().bus_device_function, cap_offset + 4); in irq_init()
128 PciArch::read_config(&self.common_header().bus_device_function, cap_offset + 4); in irq_init()
132 PciArch::read_config(&self.common_header().bus_device_function, cap_offset + 8); in irq_init()
157 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in irq_init()
214 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in msix_enable()
245 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in msi_enable()
382 let data = PciArch::read_config( in msi_install()
690 let mut mask = PciArch::read_config( in msi_mask()
702 let mut mask = PciArch::read_config( in msi_mask()
811 let mut mask = PciArch::read_config( in msi_unmask()
[all …]
/DragonOS-0.1.8/kernel/src/arch/
Dmod.rs13 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config() method
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs125 bar: PciArch::read_config(&bus_device_function, capability.offset + CAP_BAR_OFFSET) in new()
127 offset: PciArch::read_config( in new()
131 length: PciArch::read_config( in new()
143 notify_off_multiplier = PciArch::read_config( in new()
/DragonOS-0.1.8/kernel/src/arch/x86_64/pci/
Dpci.rs15 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config() method