Searched refs:config_read_word (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/virtio-drivers/src/transport/pci/ |
D | bus.rs | 177 pub(crate) fn config_read_word( in config_read_word() method 223 let status_command = self.config_read_word(device_function, STATUS_COMMAND_OFFSET); in get_status_command() 253 let bar_orig = self.config_read_word(device_function, BAR0_OFFSET + 4 * bar_index); in bar_info() 257 let size_mask = self.config_read_word(device_function, BAR0_OFFSET + 4 * bar_index); in bar_info() 279 self.config_read_word(device_function, BAR0_OFFSET + 4 * (bar_index + 1)); in bar_info() 310 Some((self.config_read_word(device_function, 0x34) & 0xFC) as u8) in capabilities_offset() 434 let capability_header = self.root.config_read_word(self.device_function, offset); in next() 483 let device_vendor = self.root.config_read_word(current, 0); in next() 493 let class_revision = self.root.config_read_word(current, 8); in next() 500 let bist_type_latency_cache = self.root.config_read_word(current, 12); in next()
|
/external/rust/crates/virtio-drivers/src/transport/ |
D | pci.rs | 107 let device_vendor = root.config_read_word(device_function, 0); in new() 131 bar: root.config_read_word(device_function, capability.offset + CAP_BAR_OFFSET) in new() 134 .config_read_word(device_function, capability.offset + CAP_BAR_OFFSET_OFFSET), in new() 136 .config_read_word(device_function, capability.offset + CAP_LENGTH_OFFSET), in new() 145 notify_off_multiplier = root.config_read_word( in new()
|