Lines Matching refs:cmd
69 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd() local
73 cmd |= FTSDC010_CMD_CMD_EN; in ftsdc010_send_cmd()
76 cmd |= FTSDC010_CMD_APP_CMD; in ftsdc010_send_cmd()
81 cmd |= FTSDC010_CMD_NEED_RSP; in ftsdc010_send_cmd()
84 cmd |= FTSDC010_CMD_LONG_RSP; in ftsdc010_send_cmd()
89 writel(cmd, ®s->cmd); in ftsdc010_send_cmd()
180 static int ftsdc010_request(struct udevice *dev, struct mmc_cmd *cmd, in ftsdc010_request() argument
223 ret = ftsdc010_send_cmd(mmc, cmd); in ftsdc010_request()
225 printf("ftsdc010: CMD%d failed\n", cmd->cmdidx); in ftsdc010_request()
338 writel(FTSDC010_CMD_SDC_RST, ®s->cmd); in ftsdc010_init()
340 if (readl(®s->cmd) & FTSDC010_CMD_SDC_RST) in ftsdc010_init()
344 if (readl(®s->cmd) & FTSDC010_CMD_SDC_RST) { in ftsdc010_init()