Lines Matching refs:state
181 debugfs_create_u32("state", S_IRUSR, root, &host->state);
277 /* Change state to continue to handle CMD11 weirdness */
278 WARN_ON(slot->host->state != STATE_SENDING_CMD);
279 slot->host->state = STATE_SENDING_CMD11;
1213 if (host->state == STATE_WAITING_CMD11_DONE)
1392 dev_vdbg(&slot->mmc->class_dev, "queue request: state=%d\n",
1393 host->state);
1397 if (host->state == STATE_WAITING_CMD11_DONE) {
1403 * in the closest possible state
1405 host->state = STATE_IDLE;
1408 if (host->state == STATE_IDLE) {
1409 host->state = STATE_SENDING_CMD;
1515 /* Reset our state machine after powering on */
1543 if (slot->host->state == STATE_WAITING_CMD11_DONE && ios->clock != 0)
1544 slot->host->state = STATE_IDLE;
1907 host->state = STATE_SENDING_CMD;
1912 if (host->state == STATE_SENDING_CMD11)
1913 host->state = STATE_WAITING_CMD11_DONE;
1915 host->state = STATE_IDLE;
2066 enum dw_mci_state state;
2072 state = host->state;
2077 prev_state = state;
2079 switch (state) {
2103 * throw the system into a confused state
2108 * transfer state after a response error or
2123 state = STATE_SENDING_DATA;
2129 state = STATE_SENDING_STOP;
2138 prev_state = state = STATE_SENDING_DATA;
2156 state = STATE_DATA_ERROR;
2164 * within the given time in reading data state.
2192 state = STATE_DATA_ERROR;
2195 prev_state = state = STATE_DATA_BUSY;
2204 * in reading data state.
2249 prev_state = state = STATE_SENDING_STOP;
2278 state = STATE_DATA_BUSY;
2281 } while (state != prev_state);
2283 host->state = state;
2733 if ((host->state == STATE_SENDING_CMD11) &&
3095 if (host->state != STATE_SENDING_CMD11) {
3134 * Continued paranoia to make sure we're in the state we expect.
3137 switch (host->state) {
3143 * state, we should notify the driver to terminate current
3151 dev_warn(host->dev, "Unexpected command timeout, state %d\n",
3152 host->state);
3185 * Continued paranoia to make sure we're in the state we expect.
3188 switch (host->state) {
3192 * If DTO interrupt does NOT come in sending data state,
3202 dev_warn(host->dev, "Unexpected data timeout, state %d\n",
3203 host->state);