Lines Matching refs:cmdIndex
701 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()
801 cmdIndex, argument, present); in send_cmd()
815 cmdIndex, handle->device->ctrl.cmdStatus, status); in send_cmd()
817 if ((handle->device->ctrl.cmdIndex == 1) || in send_cmd()
818 (handle->device->ctrl.cmdIndex == 5)) { in send_cmd()
820 } else if ((handle->device->ctrl.cmdIndex == 7) || in send_cmd()
821 (handle->device->ctrl.cmdIndex == 41)) { in send_cmd()
825 EMMC_TRACE("cmd%d recoverable error ", cmdIndex); in send_cmd()
832 cmdIndex, retry); in send_cmd()