Searched refs:read_config (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.7/kernel/src/driver/pci/ |
D | pci.rs | 590 pub fn read_config(&self, bus_device_function: BusDeviceFunction, register_offset: u16) -> u32 { in read_config() method 633 let result = PciArch::read_config(&bus_device_function, STATUS_COMMAND_OFFSET); in capabilities_offset() 636 let cap_pointer = PciArch::read_config(&bus_device_function, 0x34) as u8 & 0xFC; in capabilities_offset() 652 let result = PciArch::read_config(&bus_device_function, 0x00); in pci_read_header() 656 let result = PciArch::read_config(&bus_device_function, 0x04); in pci_read_header() 660 let result = PciArch::read_config(&bus_device_function, 0x08); in pci_read_header() 666 let result = PciArch::read_config(&bus_device_function, 0x0c); in pci_read_header() 736 let cardbus_cis_pointer = PciArch::read_config(bus_device_function, 0x28); in pci_read_general_device_header() 738 let result = PciArch::read_config(bus_device_function, 0x2c); in pci_read_general_device_header() 742 let expansion_rom_base_address = PciArch::read_config(bus_device_function, 0x30); in pci_read_general_device_header() [all …]
|
/DragonOS-0.1.7/kernel/src/arch/ |
D | mod.rs | 13 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config() method
|
/DragonOS-0.1.7/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.7/kernel/src/arch/x86_64/pci/ |
D | pci.rs | 15 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config() method
|