Searched refs:ioc_state (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 136 u32 ioc_state, int timeout); 910 int ioc_state = _base_wait_on_iocstate(ioc, MPI2_IOC_STATE_FAULT, in mpt3sas_base_wait_for_coredump_completion() local 913 if (ioc_state) in mpt3sas_base_wait_for_coredump_completion() 916 caller, ioc_state); in mpt3sas_base_wait_for_coredump_completion() 920 caller, ioc_state); in mpt3sas_base_wait_for_coredump_completion() 922 return ioc_state; in mpt3sas_base_wait_for_coredump_completion() 3557 u32 ioc_state; in mpt3sas_base_check_for_fault_and_issue_reset() local 3563 ioc_state = mpt3sas_base_get_iocstate(ioc, 0); in mpt3sas_base_check_for_fault_and_issue_reset() 3564 dhsprintk(ioc, pr_info("%s: ioc_state(0x%08x)\n", __func__, ioc_state)); in mpt3sas_base_check_for_fault_and_issue_reset() 3566 if ((ioc_state & MPI2_IOC_STATE_MASK) == MPI2_IOC_STATE_FAULT) { in mpt3sas_base_check_for_fault_and_issue_reset() [all …]
|
D | mpt3sas_scsih.c | 3054 u32 ioc_state; in mpt3sas_scsih_issue_tm() local 3071 ioc_state = mpt3sas_base_get_iocstate(ioc, 0); in mpt3sas_scsih_issue_tm() 3072 if (ioc_state & MPI2_DOORBELL_USED) { in mpt3sas_scsih_issue_tm() 3078 if ((ioc_state & MPI2_IOC_STATE_MASK) == MPI2_IOC_STATE_FAULT) { in mpt3sas_scsih_issue_tm() 3079 mpt3sas_print_fault_code(ioc, ioc_state & in mpt3sas_scsih_issue_tm() 3083 } else if ((ioc_state & MPI2_IOC_STATE_MASK) == in mpt3sas_scsih_issue_tm() 3085 mpt3sas_print_coredump_info(ioc, ioc_state & in mpt3sas_scsih_issue_tm() 4087 u32 ioc_state; in _scsih_tm_tr_send() local 4097 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _scsih_tm_tr_send() 4098 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _scsih_tm_tr_send() [all …]
|
D | mpt3sas_ctl.c | 1569 u32 ioc_state; in _ctl_diag_register_2() local 1575 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in _ctl_diag_register_2() 1576 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in _ctl_diag_register_2() 2136 u32 ioc_state; in mpt3sas_send_diag_release() local 2147 ioc_state = mpt3sas_base_get_iocstate(ioc, 1); in mpt3sas_send_diag_release() 2148 if (ioc_state != MPI2_IOC_STATE_OPERATIONAL) { in mpt3sas_send_diag_release()
|
/linux-6.1.9/drivers/scsi/mpi3mr/ |
D | mpi3mr_fw.c | 1200 enum mpi3mr_iocstate ioc_state; in mpi3mr_bring_ioc_ready() local 1216 ioc_state = mpi3mr_get_iocstate(mrioc); in mpi3mr_bring_ioc_ready() 1218 mpi3mr_iocstate_name(ioc_state)); in mpi3mr_bring_ioc_ready() 1220 if (ioc_state == MRIOC_STATE_BECOMING_READY || in mpi3mr_bring_ioc_ready() 1221 ioc_state == MRIOC_STATE_RESET_REQUESTED) { in mpi3mr_bring_ioc_ready() 1235 ioc_state = mpi3mr_get_iocstate(mrioc); in mpi3mr_bring_ioc_ready() 1238 mpi3mr_iocstate_name(ioc_state)); in mpi3mr_bring_ioc_ready() 1241 if (ioc_state == MRIOC_STATE_READY) { in mpi3mr_bring_ioc_ready() 1245 ioc_state = mpi3mr_get_iocstate(mrioc); in mpi3mr_bring_ioc_ready() 1249 retval, mpi3mr_iocstate_name(ioc_state)); in mpi3mr_bring_ioc_ready() [all …]
|
D | mpi3mr_app.c | 460 enum mpi3mr_iocstate ioc_state; in mpi3mr_bsg_populate_adpinfo() local 475 ioc_state = mpi3mr_get_iocstate(mrioc); in mpi3mr_bsg_populate_adpinfo() 476 if (ioc_state == MRIOC_STATE_UNRECOVERABLE) in mpi3mr_bsg_populate_adpinfo() 480 else if (ioc_state == MRIOC_STATE_FAULT) in mpi3mr_bsg_populate_adpinfo() 1705 enum mpi3mr_iocstate ioc_state; in adp_state_show() local 1708 ioc_state = mpi3mr_get_iocstate(mrioc); in adp_state_show() 1709 if (ioc_state == MRIOC_STATE_UNRECOVERABLE) in adp_state_show() 1713 else if (ioc_state == MRIOC_STATE_FAULT) in adp_state_show()
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptbase.c | 2914 u32 ioc_state; in MakeIocReady() local 2923 ioc_state = mpt_GetIocState(ioc, 0); in MakeIocReady() 2924 dhsprintk(ioc, printk(MYIOC_s_INFO_FMT "MakeIocReady [raw] state=%08x\n", ioc->name, ioc_state)); in MakeIocReady() 2930 if (ioc_state & MPI_DOORBELL_ACTIVE) { in MakeIocReady() 2938 ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_READY)) { in MakeIocReady() 2947 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_FAULT) { in MakeIocReady() 2952 ioc->name, ioc_state & MPI_DOORBELL_DATA_MASK); in MakeIocReady() 2958 if ((ioc_state & MPI_IOC_STATE_MASK) == MPI_IOC_STATE_OPERATIONAL) { in MakeIocReady() 2967 whoinit = (ioc_state & MPI_DOORBELL_WHO_INIT_MASK) >> MPI_DOORBELL_WHO_INIT_SHIFT; in MakeIocReady() 2992 while ((ioc_state = mpt_GetIocState(ioc, 1)) != MPI_IOC_STATE_READY) { in MakeIocReady() [all …]
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_ioc.c | 2658 u32 ioc_state; in bfa_ioc_adapter_is_disabled() local 2663 ioc_state = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_adapter_is_disabled() 2664 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled() 2668 ioc_state = bfa_ioc_get_cur_ioc_fwstate(ioc); in bfa_ioc_adapter_is_disabled() 2669 if (!bfa_ioc_state_disabled(ioc_state)) in bfa_ioc_adapter_is_disabled()
|