Lines Matching refs:state

179 	debugfs_create_u32("state", S_IRUSR, root, &host->state);
272 /* Change state to continue to handle CMD11 weirdness */
273 WARN_ON(slot->host->state != STATE_SENDING_CMD);
274 slot->host->state = STATE_SENDING_CMD11;
1208 if (host->state == STATE_WAITING_CMD11_DONE)
1356 dev_vdbg(&slot->mmc->class_dev, "queue request: state=%d\n",
1357 host->state);
1361 if (host->state == STATE_WAITING_CMD11_DONE) {
1367 * in the closest possible state
1369 host->state = STATE_IDLE;
1372 if (host->state == STATE_IDLE) {
1373 host->state = STATE_SENDING_CMD;
1479 /* Reset our state machine after powering on */
1507 if (slot->host->state == STATE_WAITING_CMD11_DONE && ios->clock != 0)
1508 slot->host->state = STATE_IDLE;
1809 host->state = STATE_SENDING_CMD;
1814 if (host->state == STATE_SENDING_CMD11)
1815 host->state = STATE_WAITING_CMD11_DONE;
1817 host->state = STATE_IDLE;
1962 enum dw_mci_state state;
1968 state = host->state;
1973 prev_state = state;
1975 switch (state) {
1999 * throw the system into a confused state
2004 * transfer state after a response error or
2019 state = STATE_SENDING_DATA;
2025 state = STATE_SENDING_STOP;
2034 prev_state = state = STATE_SENDING_DATA;
2052 state = STATE_DATA_ERROR;
2060 * within the given time in reading data state.
2088 state = STATE_DATA_ERROR;
2091 prev_state = state = STATE_DATA_BUSY;
2100 * in reading data state.
2144 prev_state = state = STATE_SENDING_STOP;
2172 state = STATE_DATA_BUSY;
2175 } while (state != prev_state);
2177 host->state = state;
2628 if ((host->state == STATE_SENDING_CMD11) &&
2970 if (host->state != STATE_SENDING_CMD11) {
3009 * Continued paranoia to make sure we're in the state we expect.
3012 switch (host->state) {
3018 * state, we should notify the driver to terminate current
3026 dev_warn(host->dev, "Unexpected command timeout, state %d\n",
3027 host->state);
3060 * Continued paranoia to make sure we're in the state we expect.
3063 switch (host->state) {
3067 * If DTO interrupt does NOT come in sending data state,
3077 dev_warn(host->dev, "Unexpected data timeout, state %d\n",
3078 host->state);