Lines Matching defs:error
274 * COMMAND_ERROR - CIE, CCE or CEBE error
275 * RESP_TIMEOUT - CTOE error
302 /* Check whether the interrupt is a CRC, CTOE or CIE error */
305 ERROR("%s: IRQSTAT CRC, CEBE or CIE error = %x\n",
352 * if no error, freq = 52 MHz
356 int error;
367 error = esdhc_send_cmd(mmc, CMD_SWITCH_FUNC, SET_EXT_CSD_HS_TIMING);
368 if (error != 0) {
369 return error;
371 error = esdhc_wait_response(mmc, response);
372 if (error != 0) {
373 return error;
378 /* check the status for which error */
379 error = esdhc_send_cmd(mmc,
381 if (error != 0) {
382 return error;
385 error = esdhc_wait_response(mmc, response);
386 if (error != 0) {
387 return error;
512 ERROR("SD read error - DTOE, DCE, DEBE bit set = %x\n",
585 ERROR("SD write error - DTOE, DCE, DEBE bit set = %x\n",
632 ERROR("SD read error - DTOE, DCE, DEBE bit set = %x\n",
638 ERROR("SD read error - DMA error = %x\n", status);
677 ERROR("SD write error - DTOE, DCE, DEBE bit set = %x\n",
683 ERROR("SD write error - DMA error = %x\n", status);
875 int error = 0;
882 error = esdhc_send_cmd(mmc, CMD_SELECT_CARD, mmc->card.rca << 16);
883 if (error != 0) {
884 return error;
886 error = esdhc_wait_response(mmc, response);
887 if (error != 0) {
888 return error;
894 error = esdhc_send_cmd(mmc,
896 if (error != 0) {
897 return error;
899 error = esdhc_wait_response(mmc, response);
900 if ((error != 0) || ((response[0] & R1_ERROR) != 0)) {
901 return error;
1144 int error = 0;
1147 error = esdhc_init(mmc, card_detect);
1148 if (error != 0) {
1149 return error;
1191 error = get_cid_rca_csd(mmc);
1192 if (error != 0) {
1197 error = change_state_to_transfer_state(mmc);
1198 if (error != 0) {
1204 error = sd_switch_to_high_freq(mmc);
1206 error = mmc_switch_to_high_frquency(mmc);
1208 if (error != 0) {
1345 int error = 0;
1379 error = esdhc_read_block(mmc, buff, blk);
1380 if (error != 0) {
1381 ERROR("Read error = %x\n", error);
1382 return error;
1391 return error;
1407 int error = 0;
1441 error = esdhc_write_block(mmc, buff, blk);
1442 if (error != 0U) {
1443 ERROR("Write error = %x\n", error);
1444 return error;
1453 return error;