Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A 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()
H A Dvia-sdmmc.c557 u32 cmdctrl = 0; in via_sdc_send_command() local
568 cmdctrl = cmd->opcode << 8; in via_sdc_send_command()
573 cmdctrl |= VIA_CRDR_SDCTRL_RSP_NONE; in via_sdc_send_command()
576 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R1; in via_sdc_send_command()
579 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R1B; in via_sdc_send_command()
582 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R2; in via_sdc_send_command()
585 cmdctrl |= VIA_CRDR_SDCTRL_RSP_R3; in via_sdc_send_command()
600 cmdctrl |= VIA_CRDR_SDCTRL_WRITE; in via_sdc_send_command()
607 cmdctrl |= VIA_CRDR_SDCTRL_WRITE; in via_sdc_send_command()
616 cmdctrl |= VIA_CRDR_SDCTRL_STOP; in via_sdc_send_command()
[all …]