Lines Matching refs:opcode
464 u32 opcode = cmd->cmdidx; in msdc_cmd_prepare_raw_cmd() local
470 switch (opcode) { in msdc_cmd_prepare_raw_cmd()
499 rawcmd |= ((opcode << SDC_CMD_CMD_S) & SDC_CMD_CMD_M) | in msdc_cmd_prepare_raw_cmd()
504 if (opcode == MMC_CMD_STOP_TRANSMISSION) in msdc_cmd_prepare_raw_cmd()
1101 static int hs400_tune_response(struct udevice *dev, u32 opcode) in hs400_tune_response() argument
1131 mmc_send_tuning(mmc, opcode, &cmd_err); in hs400_tune_response()
1151 static int msdc_tune_response(struct udevice *dev, u32 opcode) in msdc_tune_response() argument
1181 mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_response()
1203 mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_response()
1238 mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_response()
1255 static int msdc_tune_data(struct udevice *dev, u32 opcode) in msdc_tune_data() argument
1277 ret = mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_data()
1282 ret = msdc_tune_response(dev, opcode); in msdc_tune_data()
1300 ret = mmc_send_tuning(mmc, opcode, &cmd_err); in msdc_tune_data()
1305 ret = msdc_tune_response(dev, opcode); in msdc_tune_data()
1346 static int msdc_tune_together(struct udevice *dev, u32 opcode) in msdc_tune_together() argument
1362 ret = mmc_send_tuning(mmc, opcode, NULL); in msdc_tune_together()
1378 ret = mmc_send_tuning(mmc, opcode, NULL); in msdc_tune_together()
1404 static int msdc_execute_tuning(struct udevice *dev, uint opcode) in msdc_execute_tuning() argument
1412 ret = msdc_tune_together(dev, opcode); in msdc_execute_tuning()
1434 ret = hs400_tune_response(dev, opcode); in msdc_execute_tuning()
1436 ret = msdc_tune_response(dev, opcode); in msdc_execute_tuning()
1443 ret = msdc_tune_data(dev, opcode); in msdc_execute_tuning()