Lines Matching refs:result
26 static int eeh_result_priority(enum pci_ers_result result)
28 switch (result) {
42 WARN_ONCE(1, "Unknown pci_ers_result value: %d\n", result);
47 static const char *pci_ers_result_name(enum pci_ers_result result)
49 switch (result) {
63 WARN_ONCE(1, "Unknown result type: %d\n", result);
254 enum pci_ers_result *result)
284 if (result)
285 *result = pci_ers_merge_result(*result,
301 eeh_report_fn fn, enum pci_ers_result *result)
308 eeh_pe_report_edev(edev, fn, result);
309 if (result)
311 name, pci_ers_result_name(*result));
841 enum pci_ers_result result = PCI_ERS_RESULT_NONE;
937 * the error. Override the result if necessary to have partially
946 eeh_report_error, &result);
947 if (result == PCI_ERS_RESULT_DISCONNECT)
954 if ((pe->type & EEH_PE_PHB) && result != PCI_ERS_RESULT_NONE)
955 result = PCI_ERS_RESULT_NEED_RESET;
977 if (result == PCI_ERS_RESULT_NONE) {
987 if (result == PCI_ERS_RESULT_CAN_RECOVER) {
994 result = PCI_ERS_RESULT_NEED_RESET;
998 eeh_report_mmio_enabled, &result);
1001 if (result == PCI_ERS_RESULT_CAN_RECOVER) {
1008 result = PCI_ERS_RESULT_NEED_RESET;
1016 result = PCI_ERS_RESULT_RECOVERED;
1021 if (result == PCI_ERS_RESULT_NEED_RESET) {
1029 result = PCI_ERS_RESULT_NONE;
1033 &result);
1036 if ((result == PCI_ERS_RESULT_RECOVERED) ||
1037 (result == PCI_ERS_RESULT_NONE)) {