Lines Matching refs:result
115 let mut result = Vec::new(); in get_pci_device_structure_mut() localVariable
119 result.push(box_pci_device_structure); in get_pci_device_structure_mut()
122 result in get_pci_device_structure_mut()
134 let mut result = Vec::new(); in get_pci_device_structure() localVariable
138 result.push(box_pci_device_structure); in get_pci_device_structure()
141 result in get_pci_device_structure()
723 let result = PciArch::read_config(&bus_device_function, STATUS_COMMAND_OFFSET); in capabilities_offset() localVariable
724 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset()
742 let result = PciArch::read_config(&bus_device_function, 0x00); in pci_read_header() localVariable
743 let vendor_id = result as u16; in pci_read_header()
744 let device_id = (result >> 16) as u16; in pci_read_header()
746 let result = PciArch::read_config(&bus_device_function, 0x04); in pci_read_header() localVariable
747 let command = result as u16; in pci_read_header()
748 let status = (result >> 16) as u16; in pci_read_header()
750 let result = PciArch::read_config(&bus_device_function, 0x08); in pci_read_header() localVariable
751 let revision_id = result as u8; in pci_read_header()
752 let prog_if = (result >> 8) as u8; in pci_read_header()
753 let subclass = (result >> 16) as u8; in pci_read_header()
754 let class_code = (result >> 24) as u8; in pci_read_header()
756 let result = PciArch::read_config(&bus_device_function, 0x0c); in pci_read_header() localVariable
757 let cache_line_size = result as u8; in pci_read_header()
758 let latency_timer = (result >> 8) as u8; in pci_read_header()
759 let header_type = (result >> 16) as u8; in pci_read_header()
760 let bist = (result >> 24) as u8; in pci_read_header()
824 let result = PciArch::read_config(bus_device_function, 0x2c); in pci_read_general_device_header() localVariable
825 let subsystem_vendor_id = result as u16; in pci_read_general_device_header()
826 let subsystem_id = (result >> 16) as u16; in pci_read_general_device_header()
830 let result = PciArch::read_config(bus_device_function, 0x34); in pci_read_general_device_header() localVariable
831 let capabilities_pointer = result as u8; in pci_read_general_device_header()
832 let reserved0 = (result >> 8) as u8; in pci_read_general_device_header()
833 let reserved1 = (result >> 16) as u16; in pci_read_general_device_header()
837 let result = PciArch::read_config(bus_device_function, 0x3c); in pci_read_general_device_header() localVariable
838 let interrupt_line = result as u8; in pci_read_general_device_header()
839 let interrupt_pin = (result >> 8) as u8; in pci_read_general_device_header()
840 let min_grant = (result >> 16) as u8; in pci_read_general_device_header()
841 let max_latency = (result >> 24) as u8; in pci_read_general_device_header()
874 let result = PciArch::read_config(bus_device_function, 0x18); in pci_read_pci_to_pci_bridge_header() localVariable
876 let primary_bus_number = result as u8; in pci_read_pci_to_pci_bridge_header()
877 let secondary_bus_number = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
878 let subordinate_bus_number = (result >> 16) as u8; in pci_read_pci_to_pci_bridge_header()
879 let secondary_latency_timer = (result >> 24) as u8; in pci_read_pci_to_pci_bridge_header()
881 let result = PciArch::read_config(bus_device_function, 0x1c); in pci_read_pci_to_pci_bridge_header() localVariable
882 let io_base = result as u8; in pci_read_pci_to_pci_bridge_header()
883 let io_limit = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
884 let secondary_status = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
886 let result = PciArch::read_config(bus_device_function, 0x20); in pci_read_pci_to_pci_bridge_header() localVariable
887 let memory_base = result as u16; in pci_read_pci_to_pci_bridge_header()
888 let memory_limit = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
890 let result = PciArch::read_config(bus_device_function, 0x24); in pci_read_pci_to_pci_bridge_header() localVariable
891 let prefetchable_memory_base = result as u16; in pci_read_pci_to_pci_bridge_header()
892 let prefetchable_memory_limit = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
897 let result = PciArch::read_config(bus_device_function, 0x30); in pci_read_pci_to_pci_bridge_header() localVariable
898 let io_base_upper_16_bits = result as u16; in pci_read_pci_to_pci_bridge_header()
899 let io_limit_upper_16_bits = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
901 let result = PciArch::read_config(bus_device_function, 0x34); in pci_read_pci_to_pci_bridge_header() localVariable
902 let capability_pointer = result as u8; in pci_read_pci_to_pci_bridge_header()
903 let reserved0 = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
904 let reserved1 = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
908 let result = PciArch::read_config(bus_device_function, 0x3c); in pci_read_pci_to_pci_bridge_header() localVariable
909 let interrupt_line = result as u8; in pci_read_pci_to_pci_bridge_header()
910 let interrupt_pin = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
911 let bridge_control = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
954 let result = PciArch::read_config(busdevicefunction, 0x14); in pci_read_pci_to_cardbus_bridge_header() localVariable
955 let offset_of_capabilities_list = result as u8; in pci_read_pci_to_cardbus_bridge_header()
956 let reserved = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
957 let secondary_status = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()
959 let result = PciArch::read_config(busdevicefunction, 0x18); in pci_read_pci_to_cardbus_bridge_header() localVariable
960 let pci_bus_number = result as u8; in pci_read_pci_to_cardbus_bridge_header()
961 let card_bus_bus_number = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
962 let subordinate_bus_number = (result >> 16) as u8; in pci_read_pci_to_cardbus_bridge_header()
963 let card_bus_latency_timer = (result >> 24) as u8; in pci_read_pci_to_cardbus_bridge_header()
974 let result = PciArch::read_config(busdevicefunction, 0x3c); in pci_read_pci_to_cardbus_bridge_header() localVariable
975 let interrupt_line = result as u8; in pci_read_pci_to_cardbus_bridge_header()
976 let interrupt_pin = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
977 let bridge_control = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()
979 let result = PciArch::read_config(busdevicefunction, 0x40); in pci_read_pci_to_cardbus_bridge_header() localVariable
980 let subsystem_device_id = result as u16; in pci_read_pci_to_cardbus_bridge_header()
981 let subsystem_vendor_id = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()