Lines Matching refs:adp_state
477 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_UNRECOVERABLE; in mpi3mr_bsg_populate_adpinfo()
479 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_IN_RESET; in mpi3mr_bsg_populate_adpinfo()
481 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_FAULT; in mpi3mr_bsg_populate_adpinfo()
483 adpinfo.adp_state = MPI3MR_BSG_ADPSTATE_OPERATIONAL; in mpi3mr_bsg_populate_adpinfo()
1706 uint8_t adp_state; in adp_state_show() local
1710 adp_state = MPI3MR_BSG_ADPSTATE_UNRECOVERABLE; in adp_state_show()
1712 adp_state = MPI3MR_BSG_ADPSTATE_IN_RESET; in adp_state_show()
1714 adp_state = MPI3MR_BSG_ADPSTATE_FAULT; in adp_state_show()
1716 adp_state = MPI3MR_BSG_ADPSTATE_OPERATIONAL; in adp_state_show()
1718 return sysfs_emit(buf, "%u\n", adp_state); in adp_state_show()
1721 static DEVICE_ATTR_RO(adp_state);