Lines Matching refs:option
475 static int pnv_eeh_set_option(struct eeh_pe *pe, int option) in pnv_eeh_set_option() argument
483 switch (option) { in pnv_eeh_set_option()
499 pr_warn("%s: Invalid option %d\n", __func__, option); in pnv_eeh_set_option()
528 __func__, rc, option, phb->hose->global_number, in pnv_eeh_set_option()
753 int pnv_eeh_phb_reset(struct pci_controller *hose, int option) in pnv_eeh_phb_reset() argument
759 __func__, hose->global_number, option); in pnv_eeh_phb_reset()
762 if (option == EEH_RESET_FUNDAMENTAL || in pnv_eeh_phb_reset()
763 option == EEH_RESET_HOT) in pnv_eeh_phb_reset()
767 else if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_phb_reset()
781 if (option == EEH_RESET_DEACTIVATE) { in pnv_eeh_phb_reset()
794 static int pnv_eeh_root_reset(struct pci_controller *hose, int option) in pnv_eeh_root_reset() argument
800 __func__, hose->global_number, option); in pnv_eeh_root_reset()
807 if (option == EEH_RESET_FUNDAMENTAL) in pnv_eeh_root_reset()
811 else if (option == EEH_RESET_HOT) in pnv_eeh_root_reset()
815 else if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_root_reset()
824 if (option == EEH_RESET_DEACTIVATE) in pnv_eeh_root_reset()
833 static int pnv_eeh_bridge_reset(struct pci_dev *dev, int option) in pnv_eeh_bridge_reset() argument
842 dev->bus->number, option); in pnv_eeh_bridge_reset()
844 switch (option) { in pnv_eeh_bridge_reset()
910 static int pnv_eeh_reset(struct eeh_pe *pe, int option) in pnv_eeh_reset() argument
931 ret = pnv_eeh_phb_reset(hose, option); in pnv_eeh_reset()
945 (option == EEH_RESET_HOT || in pnv_eeh_reset()
946 option == EEH_RESET_FUNDAMENTAL)) { in pnv_eeh_reset()
961 ret = pnv_eeh_root_reset(hose, option); in pnv_eeh_reset()
963 ret = pnv_eeh_bridge_reset(bus->self, option); in pnv_eeh_reset()