Lines Matching refs:option

486 static int pnv_eeh_set_option(struct eeh_pe *pe, int option)  in pnv_eeh_set_option()  argument
495 switch (option) { in pnv_eeh_set_option()
511 pr_warn("%s: Invalid option %d\n", __func__, option); in pnv_eeh_set_option()
539 __func__, rc, option, in pnv_eeh_set_option()
766 int pnv_eeh_phb_reset(struct pci_controller *hose, int option) in pnv_eeh_phb_reset() argument
772 __func__, hose->global_number, option); in pnv_eeh_phb_reset()
775 if (option == EEH_RESET_FUNDAMENTAL || in pnv_eeh_phb_reset()
776 option == EEH_RESET_HOT) in pnv_eeh_phb_reset()
780 else if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_phb_reset()
794 if (option == EEH_RESET_DEACTIVATE) { in pnv_eeh_phb_reset()
807 static int pnv_eeh_root_reset(struct pci_controller *hose, int option) in pnv_eeh_root_reset() argument
813 __func__, hose->global_number, option); in pnv_eeh_root_reset()
820 if (option == EEH_RESET_FUNDAMENTAL) in pnv_eeh_root_reset()
824 else if (option == EEH_RESET_HOT) in pnv_eeh_root_reset()
828 else if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_root_reset()
837 if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_root_reset()
846 static int pnv_eeh_bridge_reset(struct pci_dev *dev, int option) in pnv_eeh_bridge_reset() argument
855 dev->bus->number, option); in pnv_eeh_bridge_reset()
857 switch (option) { in pnv_eeh_bridge_reset()
923 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset() argument
944 ret = pnv_eeh_phb_reset(hose, option); in pnv_eeh_reset()
958 (option == EEH_RESET_HOT || in pnv_eeh_reset()
959 option == EEH_RESET_FUNDAMENTAL)) { in pnv_eeh_reset()
974 ret = pnv_eeh_root_reset(hose, option); in pnv_eeh_reset()
976 ret = pnv_eeh_bridge_reset(bus->self, option); in pnv_eeh_reset()