Lines Matching refs:status
22 efi_status_t status;
26 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, &pci_proto,
29 if (status != EFI_BUFFER_TOO_SMALL) {
30 if (status != EFI_SUCCESS && status != EFI_NOT_FOUND)
35 status = efi_bs_call(allocate_pool, EFI_LOADER_DATA, pci_handle_size,
37 if (status != EFI_SUCCESS) {
42 status = efi_bs_call(locate_handle, EFI_LOCATE_BY_PROTOCOL, &pci_proto,
44 if (status != EFI_SUCCESS) {
53 status = efi_bs_call(handle_protocol, handle, &pci_proto,
55 if (status != EFI_SUCCESS)
62 status = efi_call_proto(pci, get_location, &segment_nr, &bus_nr,
64 if (status != EFI_SUCCESS || bus_nr == 0)
76 status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,
78 if (status != EFI_SUCCESS || class == PCI_CLASS_DISPLAY_VGA)
88 status = efi_bs_call(handle_protocol, handle, &pci_proto,
90 if (status != EFI_SUCCESS || !pci)
93 status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,
96 if (status != EFI_SUCCESS || class != PCI_CLASS_BRIDGE_PCI)
100 status = efi_call_proto(pci, pci.read, EfiPciIoWidthUint16,
102 if (status != EFI_SUCCESS || !(command & PCI_COMMAND_MASTER))
106 status = efi_call_proto(pci, pci.write, EfiPciIoWidthUint16,
108 if (status != EFI_SUCCESS)