Searched refs:read_config (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci.rs | 680 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 …]
|
D | pci_irq.rs | 125 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/ |
D | mod.rs | 13 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config() method
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | transport_pci.rs | 125 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/ |
D | pci.rs | 15 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config() method
|