Lines Matching refs:state
299 * @STATUS_RFKILL_HW: the actual HW state of the RF-kill switch
300 * @STATUS_RFKILL_OPMODE: RF-kill state reported to opmode
301 * @STATUS_FW_ERROR: the fw is in error state
554 * @set_pmi: set the power pmi state
629 void (*set_pmi)(struct iwl_trans *trans, bool state);
661 * enum iwl_trans_state - state of the transport layer
677 * power state (e.g. idle or suspend to RAM) at the same time and the
692 * be confused with the physical device power state.
823 * @internal_ini_cfg: internal debug cfg state. Uses &enum iwl_ini_cfg_state
824 * @external_ini_cfg: external debug cfg state. Uses &enum iwl_ini_cfg_state
929 * @entries: transmit entries (driver state)
1085 enum iwl_trans_state state;
1176 trans->state = IWL_TRANS_NO_FW;
1183 trans->state = IWL_TRANS_FW_ALIVE;
1201 trans->state = IWL_TRANS_FW_STARTED;
1212 trans->state = IWL_TRANS_NO_FW;
1267 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1268 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1279 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1280 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1290 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1291 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1311 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1312 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1349 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1350 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1400 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1401 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1412 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1413 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1428 if (trans->state != IWL_TRANS_FW_ALIVE) {
1429 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1441 if (WARN_ON_ONCE(trans->state != IWL_TRANS_FW_ALIVE)) {
1442 IWL_ERR(trans, "%s bad state = %d\n", __func__, trans->state);
1519 static inline void iwl_trans_set_pmi(struct iwl_trans *trans, bool state)
1522 trans->ops->set_pmi(trans, state);
1558 trans->state = IWL_TRANS_NO_FW;
1564 return trans->state == IWL_TRANS_FW_ALIVE;