Lines Matching refs:mmc_cmd
33 static inline int ftsdc010_send_cmd(struct mmc *mmc, struct mmc_cmd *mmc_cmd) in ftsdc010_send_cmd() argument
39 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd()
40 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
41 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
79 mmc_cmd->response[0] = readl(®s->rsp3); in ftsdc010_send_cmd()
80 mmc_cmd->response[1] = readl(®s->rsp2); in ftsdc010_send_cmd()
81 mmc_cmd->response[2] = readl(®s->rsp1); in ftsdc010_send_cmd()
82 mmc_cmd->response[3] = readl(®s->rsp0); in ftsdc010_send_cmd()
84 mmc_cmd->response[0] = readl(®s->rsp0); in ftsdc010_send_cmd()
89 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd()
95 mmc_cmd->cmdidx); in ftsdc010_send_cmd()
96 } else if (mmc_cmd->cmdidx == MMC_CMD_APP_CMD) { in ftsdc010_send_cmd()
151 static int ftsdc010_request(struct mmc *mmc, struct mmc_cmd *cmd, in ftsdc010_request()