Lines Matching defs:result
55 EMMC_ERROR_CODE result;
70 result = emmc_set_request_mmc_clock(&freq);
71 if (result != EMMC_SUCCESS) {
82 result = emmc_send_idle_cmd(0x00000000);
83 if (result != EMMC_SUCCESS) {
85 return result;
93 result =
95 if (result != EMMC_SUCCESS) {
97 return result;
124 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
125 if (result != EMMC_SUCCESS) {
127 return result;
132 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
133 if (result != EMMC_SUCCESS) {
135 return result;
141 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
142 if (result != EMMC_SUCCESS) {
144 return result;
156 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
157 if (result != EMMC_SUCCESS) {
159 return result;
176 result = emmc_set_request_mmc_clock(&freq);
177 if (result != EMMC_SUCCESS) {
191 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
192 if (result != EMMC_SUCCESS) {
194 return result;
205 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
206 if (result != EMMC_SUCCESS) {
213 return result;
225 EMMC_ERROR_CODE result;
247 result =
249 if (result != EMMC_SUCCESS) {
251 return result;
259 result = emmc_set_request_mmc_clock(&freq);
260 if (result != EMMC_SUCCESS) {
273 result =
275 if (result != EMMC_SUCCESS) {
277 return result;
315 EMMC_ERROR_CODE result = EMMC_ERR;
336 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
337 if (result != EMMC_SUCCESS) {
361 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
362 if (result != EMMC_SUCCESS) {
371 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
372 if (result != EMMC_SUCCESS) {
379 emmc_write_error_info(EMMC_FUNCNO_BUS_WIDTH, result);
381 return result;
386 EMMC_ERROR_CODE result;
406 result = EMMC_SUCCESS;
413 result = emmc_set_ext_csd(arg);
416 return result;
465 EMMC_ERROR_CODE result;
476 result =
479 if (result == EMMC_SUCCESS) {
483 } else if (result == EMMC_ERR_CMD_TIMEOUT) {
487 result);
502 uint32_t result;
511 result = 1;
518 result = 0;
529 return result;
577 EMMC_ERROR_CODE result;
581 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
582 if (result != EMMC_SUCCESS) {
583 return result;
588 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
589 if (result != EMMC_SUCCESS) {
590 return result;
598 result = emmc_exec_cmd(EMMC_R1_ERROR_MASK, mmc_drv_obj.response);
599 if (result != EMMC_SUCCESS) {
600 return result;
641 EMMC_ERROR_CODE result;
653 result = emmc_card_init();
654 if (result != EMMC_SUCCESS) {
659 return result;
663 result = emmc_high_speed();
664 if (result != EMMC_SUCCESS) {
669 return result;
673 result = emmc_bus_width(8);
674 if (result != EMMC_SUCCESS) {
679 return result;