Home
last modified time | relevance | path

Searched refs:cmdctrl (Results 1 – 2 of 2) sorted by relevance

/drivers/mmc/host/
Dmoxart-mmc.c207 u32 status, cmdctrl; in moxart_send_command() local
213 cmdctrl = cmd->opcode & CMD_IDX_MASK; in moxart_send_command()
214 if (cmdctrl == SD_APP_SET_BUS_WIDTH || cmdctrl == SD_APP_OP_COND || in moxart_send_command()
215 cmdctrl == SD_APP_SEND_SCR || cmdctrl == SD_APP_SD_STATUS || in moxart_send_command()
216 cmdctrl == SD_APP_SEND_NUM_WR_BLKS) in moxart_send_command()
217 cmdctrl |= CMD_APP_CMD; in moxart_send_command()
220 cmdctrl |= CMD_NEED_RSP; in moxart_send_command()
223 cmdctrl |= CMD_LONG_RSP; in moxart_send_command()
225 writel(cmdctrl | CMD_EN, host->base + REG_COMMAND); in moxart_send_command()
Dvia-sdmmc.c557 u32 cmdctrl = 0; in via_sdc_send_command() local
566 cmdctrl = cmd->opcode << 8; in via_sdc_send_command()
571 cmdctrl |= VIA_CRDR_SDCTRL_RSP_NONE; in via_sdc_send_command()
574 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R1; in via_sdc_send_command()
577 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R1B; in via_sdc_send_command()
580 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R2; in via_sdc_send_command()
583 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R3; in via_sdc_send_command()
598 cmdctrl |= VIA_CRDR_SDCTRL_WRITE; in via_sdc_send_command()
599 cmdctrl |= VIA_CRDR_SDCTRL_MULTI_WR; in via_sdc_send_command()
601 cmdctrl |= VIA_CRDR_SDCTRL_MULTI_RD; in via_sdc_send_command()
[all …]