Lines Matching refs:mmc_cmd
63 static inline int ftsdc010_send_cmd(struct mmc *mmc, struct mmc_cmd *mmc_cmd) in ftsdc010_send_cmd() argument
69 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd()
70 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
71 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
109 mmc_cmd->response[0] = readl(®s->rsp3); in ftsdc010_send_cmd()
110 mmc_cmd->response[1] = readl(®s->rsp2); in ftsdc010_send_cmd()
111 mmc_cmd->response[2] = readl(®s->rsp1); in ftsdc010_send_cmd()
112 mmc_cmd->response[3] = readl(®s->rsp0); in ftsdc010_send_cmd()
114 mmc_cmd->response[0] = readl(®s->rsp0); in ftsdc010_send_cmd()
119 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd()
125 mmc_cmd->cmdidx); in ftsdc010_send_cmd()
126 } else if (mmc_cmd->cmdidx == MMC_CMD_APP_CMD) { in ftsdc010_send_cmd()
180 static int ftsdc010_request(struct udevice *dev, struct mmc_cmd *cmd, in ftsdc010_request()