Lines Matching refs:result

120     let mut result = Vec::new();  in get_pci_device_structures_mut_by_vendor_id()  localVariable
124 result.push(box_pci_device_structure); in get_pci_device_structures_mut_by_vendor_id()
127 result in get_pci_device_structures_mut_by_vendor_id()
148 let mut result = Vec::new(); in get_pci_device_structure_mut() localVariable
152 result.push(box_pci_device_structure); in get_pci_device_structure_mut()
155 result in get_pci_device_structure_mut()
177 let mut result = Vec::new(); in get_pci_device_structure() localVariable
181 result.push(box_pci_device_structure); in get_pci_device_structure()
184 result in get_pci_device_structure()
670 let result = pci_root_0().read_config(bus_device_function, STATUS_COMMAND_OFFSET.into()); in capabilities_offset() localVariable
671 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset()
689 let result = pci_root_0().read_config(bus_device_function, 0x00); in pci_read_header() localVariable
690 let vendor_id = result as u16; in pci_read_header()
691 let device_id = (result >> 16) as u16; in pci_read_header()
693 let result = pci_root_0().read_config(bus_device_function, 0x04); in pci_read_header() localVariable
694 let command = result as u16; in pci_read_header()
695 let status = (result >> 16) as u16; in pci_read_header()
697 let result = pci_root_0().read_config(bus_device_function, 0x08); in pci_read_header() localVariable
698 let revision_id = result as u8; in pci_read_header()
699 let prog_if = (result >> 8) as u8; in pci_read_header()
700 let subclass = (result >> 16) as u8; in pci_read_header()
701 let class_code = (result >> 24) as u8; in pci_read_header()
703 let result = pci_root_0().read_config(bus_device_function, 0x0c); in pci_read_header() localVariable
704 let cache_line_size = result as u8; in pci_read_header()
705 let latency_timer = (result >> 8) as u8; in pci_read_header()
706 let header_type = (result >> 16) as u8; in pci_read_header()
707 let bist = (result >> 24) as u8; in pci_read_header()
778 let result = pci_root_0().read_config(*bus_device_function, 0x2c); in pci_read_general_device_header() localVariable
779 let subsystem_vendor_id = result as u16; in pci_read_general_device_header()
780 let subsystem_id = (result >> 16) as u16; in pci_read_general_device_header()
784 let result = pci_root_0().read_config(*bus_device_function, 0x34); in pci_read_general_device_header() localVariable
785 let capabilities_pointer = result as u8; in pci_read_general_device_header()
786 let reserved0 = (result >> 8) as u8; in pci_read_general_device_header()
787 let reserved1 = (result >> 16) as u16; in pci_read_general_device_header()
791 let result = pci_root_0().read_config(*bus_device_function, 0x3c); in pci_read_general_device_header() localVariable
792 let interrupt_line = result as u8; in pci_read_general_device_header()
793 let interrupt_pin = (result >> 8) as u8; in pci_read_general_device_header()
794 let min_grant = (result >> 16) as u8; in pci_read_general_device_header()
795 let max_latency = (result >> 24) as u8; in pci_read_general_device_header()
828 let result = pci_root_0().read_config(*bus_device_function, 0x18); in pci_read_pci_to_pci_bridge_header() localVariable
830 let primary_bus_number = result as u8; in pci_read_pci_to_pci_bridge_header()
831 let secondary_bus_number = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
832 let subordinate_bus_number = (result >> 16) as u8; in pci_read_pci_to_pci_bridge_header()
833 let secondary_latency_timer = (result >> 24) as u8; in pci_read_pci_to_pci_bridge_header()
835 let result = pci_root_0().read_config(*bus_device_function, 0x1c); in pci_read_pci_to_pci_bridge_header() localVariable
836 let io_base = result as u8; in pci_read_pci_to_pci_bridge_header()
837 let io_limit = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
838 let secondary_status = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
840 let result = pci_root_0().read_config(*bus_device_function, 0x20); in pci_read_pci_to_pci_bridge_header() localVariable
841 let memory_base = result as u16; in pci_read_pci_to_pci_bridge_header()
842 let memory_limit = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
844 let result = pci_root_0().read_config(*bus_device_function, 0x24); in pci_read_pci_to_pci_bridge_header() localVariable
845 let prefetchable_memory_base = result as u16; in pci_read_pci_to_pci_bridge_header()
846 let prefetchable_memory_limit = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
851 let result = pci_root_0().read_config(*bus_device_function, 0x30); in pci_read_pci_to_pci_bridge_header() localVariable
852 let io_base_upper_16_bits = result as u16; in pci_read_pci_to_pci_bridge_header()
853 let io_limit_upper_16_bits = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
855 let result = pci_root_0().read_config(*bus_device_function, 0x34); in pci_read_pci_to_pci_bridge_header() localVariable
856 let capability_pointer = result as u8; in pci_read_pci_to_pci_bridge_header()
857 let reserved0 = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
858 let reserved1 = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
862 let result = pci_root_0().read_config(*bus_device_function, 0x3c); in pci_read_pci_to_pci_bridge_header() localVariable
863 let interrupt_line = result as u8; in pci_read_pci_to_pci_bridge_header()
864 let interrupt_pin = (result >> 8) as u8; in pci_read_pci_to_pci_bridge_header()
865 let bridge_control = (result >> 16) as u16; in pci_read_pci_to_pci_bridge_header()
908 let result = pci_root_0().read_config(*busdevicefunction, 0x14); in pci_read_pci_to_cardbus_bridge_header() localVariable
909 let offset_of_capabilities_list = result as u8; in pci_read_pci_to_cardbus_bridge_header()
910 let reserved = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
911 let secondary_status = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()
913 let result = pci_root_0().read_config(*busdevicefunction, 0x18); in pci_read_pci_to_cardbus_bridge_header() localVariable
914 let pci_bus_number = result as u8; in pci_read_pci_to_cardbus_bridge_header()
915 let card_bus_bus_number = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
916 let subordinate_bus_number = (result >> 16) as u8; in pci_read_pci_to_cardbus_bridge_header()
917 let card_bus_latency_timer = (result >> 24) as u8; in pci_read_pci_to_cardbus_bridge_header()
928 let result = pci_root_0().read_config(*busdevicefunction, 0x3c); in pci_read_pci_to_cardbus_bridge_header() localVariable
929 let interrupt_line = result as u8; in pci_read_pci_to_cardbus_bridge_header()
930 let interrupt_pin = (result >> 8) as u8; in pci_read_pci_to_cardbus_bridge_header()
931 let bridge_control = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()
933 let result = pci_root_0().read_config(*busdevicefunction, 0x40); in pci_read_pci_to_cardbus_bridge_header() localVariable
934 let subsystem_device_id = result as u16; in pci_read_pci_to_cardbus_bridge_header()
935 let subsystem_vendor_id = (result >> 16) as u16; in pci_read_pci_to_cardbus_bridge_header()