Home
last modified time | relevance | path

Searched refs:cmdIndex (Results 1 – 7 of 7) sorted by relevance

/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_csl_sdcmd.c701 int send_cmd(struct sd_handle *handle, uint32_t cmdIndex, uint32_t argument, in send_cmd() argument
709 EMMC_TRACE("Invalid handle for cmd%d\n", cmdIndex); in send_cmd()
731 EMMC_TRACE("cmd%d timedout %dms\n", cmdIndex, timeout); in send_cmd()
739 chal_sd_send_cmd((CHAL_HANDLE *) handle->device, cmdIndex, in send_cmd()
742 handle->device->ctrl.cmdIndex = cmdIndex; in send_cmd()
755 cmdIndex, retry); in send_cmd()
766 cmdIndex, retry, in send_cmd()
779 handle->device->ctrl.cmdIndex, in send_cmd()
785 if ((cmdIndex == 5) || (cmdIndex == 6) || (cmdIndex == 7) || in send_cmd()
786 (cmdIndex == 28) || (cmdIndex == 29) || (cmdIndex == 38)) { in send_cmd()
[all …]
Demmc_csl_sdcard.c195 handle->device->ctrl.cmdIndex = SD_CMD_STOP_TRANSMISSION; in abort_err()
203 handle->device->ctrl.cmdIndex, in abort_err()
221 process_cmd_response(handle, handle->device->ctrl.cmdIndex, in abort_err()
832 if ((handle->device->ctrl.cmdIndex == 18) || in err_recovery()
833 (handle->device->ctrl.cmdIndex == 25)) in err_recovery()
845 uint32_t cmdIndex, in process_cmd_response() argument
864 if (cmdIndex == SD_CMD_IO_SEND_OP_COND) { in process_cmd_response()
871 if (cmdIndex == SD_CMD_MMC_SET_RCA) { in process_cmd_response()
876 if (cmdIndex == SD_CMD_SELECT_DESELECT_CARD) { in process_cmd_response()
880 if (cmdIndex == SD_CMD_IO_RW_DIRECT) { in process_cmd_response()
[all …]
Demmc_pboot_hal_memory_drv.c249 uint32_t send_sdio_cmd(uint32_t cmdIndex, uint32_t argument, in send_sdio_cmd() argument
259 return send_cmd(sd_handle, cmdIndex, argument, options, resp); in send_sdio_cmd()
Demmc_chal_sd.c556 handle->ctrl.cmdIndex = cmd_idx; in chal_sd_send_cmd()
/external/arm-trusted-firmware/include/drivers/brcm/emmc/
Demmc_chal_sd.h128 uint32_t cmdIndex; /* current command index */ member
178 int32_t chal_sd_send_cmd(CHAL_HANDLE *sdHandle, uint32_t cmdIndex,
Demmc_csl_sd.h84 int process_cmd_response(struct sd_handle *handle, uint32_t cmdIndex,
Demmc_csl_sdcmd.h166 int send_cmd(struct sd_handle *handle, uint32_t cmdIndex,