Searched refs:read_config (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.9/kernel/src/driver/pci/ |
D | pci.rs | 666 pub fn read_config(&self, bus_device_function: BusDeviceFunction, register_offset: u16) -> u32 { in read_config() method 713 let result = PciArch::read_config(&bus_device_function, STATUS_COMMAND_OFFSET); in capabilities_offset() 716 let cap_pointer = PciArch::read_config(&bus_device_function, 0x34) as u8 & 0xFC; in capabilities_offset() 732 let result = PciArch::read_config(&bus_device_function, 0x00); in pci_read_header() 736 let result = PciArch::read_config(&bus_device_function, 0x04); in pci_read_header() 740 let result = PciArch::read_config(&bus_device_function, 0x08); in pci_read_header() 746 let result = PciArch::read_config(&bus_device_function, 0x0c); in pci_read_header() 812 let cardbus_cis_pointer = PciArch::read_config(bus_device_function, 0x28); in pci_read_general_device_header() 814 let result = PciArch::read_config(bus_device_function, 0x2c); in pci_read_general_device_header() 818 let expansion_rom_base_address = PciArch::read_config(bus_device_function, 0x30); in pci_read_general_device_header() [all …]
|
D | pci_irq.rs | 162 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in irq_init() 165 PciArch::read_config(&self.common_header().bus_device_function, cap_offset + 4); in irq_init() 169 PciArch::read_config(&self.common_header().bus_device_function, cap_offset + 8); in irq_init() 194 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in irq_init() 251 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in msix_enable() 282 PciArch::read_config(&self.common_header().bus_device_function, cap_offset); in msi_enable() 434 let data = PciArch::read_config( in msi_install() 753 let mut mask = PciArch::read_config( in msi_mask() 765 let mut mask = PciArch::read_config( in msi_mask() 874 let mut mask = PciArch::read_config( in msi_unmask() [all …]
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/pci/ |
D | mod.rs | 8 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config() method
|
/DragonOS-0.1.9/kernel/src/arch/ |
D | mod.rs | 24 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config() method
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/pci/ |
D | pci.rs | 14 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config() method
|
/DragonOS-0.1.9/kernel/src/driver/virtio/ |
D | transport_pci.rs | 171 bar: PciArch::read_config(&bus_device_function, capability.offset + CAP_BAR_OFFSET) in new() 173 offset: PciArch::read_config( in new() 177 length: PciArch::read_config( in new() 189 notify_off_multiplier = PciArch::read_config( in new()
|