Home
last modified time | relevance | path

Searched refs:MMC_RSP_CRC (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/include/linux/mmc/
H A Dcore.h36 #define MMC_RSP_CRC (1 << 2) /* expect valid crc */ macro
57 #define MMC_RSP_R1 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
58 #define MMC_RSP_R1B (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE|MMC_RSP_BUSY)
59 #define MMC_RSP_R2 (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC)
62 #define MMC_RSP_R5 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
63 #define MMC_RSP_R6 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
64 #define MMC_RSP_R7 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
69 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM…
/openbmc/u-boot/include/
H A Dmmc.h301 #define MMC_RSP_CRC (1 << 2) /* expect valid crc */ macro
306 #define MMC_RSP_R1 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
307 #define MMC_RSP_R1b (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE| \
309 #define MMC_RSP_R2 (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC)
312 #define MMC_RSP_R5 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
313 #define MMC_RSP_R6 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
314 #define MMC_RSP_R7 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE)
H A Dmvebu_mmc.h202 #define MMC_RSP_CRC (1 << 2) macro
/openbmc/u-boot/drivers/mmc/
H A Dstm32_sdmmc2.c248 else if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_start_cmd()
274 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd()
298 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) { in stm32_sdmmc2_end_cmd()
H A Ddw_mmc.c287 if (cmd->resp_type & MMC_RSP_CRC)
324 } else if ((cmd->resp_type & MMC_RSP_CRC) &&
H A Dmeson_gx_mmc.c113 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd()
H A Dmvebu_mmc.c122 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd()
H A Dpxa_mmc_gen.c169 && cmd->resp_type & MMC_RSP_CRC) { in pxa_mmc_cmd_done()
H A Dmxsmmc.c173 if (!(cmd->resp_type & MMC_RSP_CRC)) in mxsmmc_send_cmd()
H A Dmxcmmc.c242 } else if (stat & STATUS_RESP_CRC_ERR && cmd->resp_type & MMC_RSP_CRC) { in mxcmci_read_response()
H A Ddavinci_mmc.c256 if (cmd->resp_type & MMC_RSP_CRC)
H A Darm_pl180_mmci.c56 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end()
H A Dtegra_mmc.c203 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced()
H A Dgen_atmel_mci.c183 if (cmd->resp_type & MMC_RSP_CRC)
H A Dsdhci.c202 if (cmd->resp_type & MMC_RSP_CRC)
H A Dsunxi_mmc.c382 if (cmd->resp_type & MMC_RSP_CRC) in sunxi_mmc_send_cmd_common()
/openbmc/linux/drivers/mmc/host/
H A Dmxs-mmc.c290 ignore_crc = (mmc_resp_type(cmd) & MMC_RSP_CRC) ? in mxs_mmc_ac()
362 ignore_crc = (mmc_resp_type(cmd) & MMC_RSP_CRC) ? in mxs_mmc_adtc()
H A Dmeson-mx-sdio.c186 if (!(cmd->flags & MMC_RSP_CRC)) in meson_mx_mmc_start_cmd()
H A Dcb710-mmc.c388 if (!(flags & MMC_RSP_CRC)) in cb710_encode_cmd_flags()
H A Dpxamci.c299 } else if (stat & STAT_RES_CRC_ERR && cmd->flags & MMC_RSP_CRC) { in pxamci_cmd_done()
H A Dmeson-mx-sdhc-mmc.c208 if (!(cmd->flags & MMC_RSP_CRC)) in meson_mx_sdhc_start_cmd()
H A Dmvsdio.c162 if (cmd->flags & MMC_RSP_CRC) in mvsd_request()
H A Dmmci.c1338 else if (cmd->flags & MMC_RSP_CRC) in mmci_start_command()
1499 } else if (status & MCI_CMDCRCFAIL && cmd->flags & MMC_RSP_CRC) { in mmci_cmd_irq()
H A Dsunplus-mmc.c389 if (cmd->flags & MMC_RSP_CRC && !(cmd->flags & MMC_RSP_136)) in spmmc_prepare_cmd()
/openbmc/linux/drivers/mmc/core/
H A Dcore.c552 cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */ in mmc_cqe_recovery()
562 cmd.flags &= ~MMC_RSP_CRC; /* Ignore CRC */ in mmc_cqe_recovery()

12