Lines Matching refs:state
344 * @STATUS_RFKILL_HW: the actual HW state of the RF-kill switch
345 * @STATUS_RFKILL_OPMODE: RF-kill state reported to opmode
346 * @STATUS_FW_ERROR: the fw is in error state
560 * @set_pmi: set the power pmi state
632 void (*set_pmi)(struct iwl_trans *trans, bool state);
650 * enum iwl_trans_state - state of the transport layer
664 * power state (e.g. idle or suspend to RAM) at the same time and the
679 * be confused with the physical device power state.
763 * @internal_ini_cfg: internal debug cfg state. Uses &enum iwl_ini_cfg_state
764 * @external_ini_cfg: external debug cfg state. Uses &enum iwl_ini_cfg_state
854 * @entries: transmit entries (driver state)
994 enum iwl_trans_state state;
1071 trans->state = IWL_TRANS_NO_FW;
1078 trans->state = IWL_TRANS_FW_ALIVE;
1101 trans->state = IWL_TRANS_NO_FW;
1167 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1168 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1178 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1179 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1189 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1190 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1210 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1211 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1249 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1250 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1300 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1301 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1312 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1313 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1327 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1328 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1340 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1341 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1409 static inline void iwl_trans_set_pmi(struct iwl_trans *trans, bool state)
1412 trans->ops->set_pmi(trans, state);
1450 return trans->state == IWL_TRANS_FW_ALIVE;