Home
last modified time | relevance | path

Searched refs:adp_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c485 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_UNRECOVERABLE; in mpi3mr_bsg_populate_adpinfo()
487 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_IN_RESET; in mpi3mr_bsg_populate_adpinfo()
489 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_FAULT; in mpi3mr_bsg_populate_adpinfo()
491 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_OPERATIONAL; in mpi3mr_bsg_populate_adpinfo()
1717 uint8_t adp_state; in adp_state_show() local
1721 adp_state = MPI3MR_BSG_ADPSTATE_UNRECOVERABLE; in adp_state_show()
1723 adp_state = MPI3MR_BSG_ADPSTATE_IN_RESET; in adp_state_show()
1725 adp_state = MPI3MR_BSG_ADPSTATE_FAULT; in adp_state_show()
1727 adp_state = MPI3MR_BSG_ADPSTATE_OPERATIONAL; in adp_state_show()
1729 return sysfs_emit(buf, "%u\n", adp_state); in adp_state_show()
[all …]
/openbmc/linux/include/uapi/scsi/
H A Dscsi_bsg_mpi3mr.h142 __u8 adp_state; member
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c7926 u8 adp_state; in megasas_wait_for_adapter_operational() local
7929 adp_state = atomic_read(&instance->adprecovery); in megasas_wait_for_adapter_operational()
7930 if ((adp_state == MEGASAS_HBA_OPERATIONAL) || in megasas_wait_for_adapter_operational()
7931 (adp_state == MEGASAS_HW_CRITICAL_ERROR)) in megasas_wait_for_adapter_operational()
7940 if (adp_state != MEGASAS_HBA_OPERATIONAL) { in megasas_wait_for_adapter_operational()
7943 __func__, adp_state); in megasas_wait_for_adapter_operational()