/u-boot/drivers/mmc/ |
A D | mmc_boot.c | 32 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 43 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 56 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 68 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change()
|
A D | mvebu_mmc.c | 77 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd() 115 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd() 117 else if (cmd->resp_type & MMC_RSP_136) in mvebu_mmc_send_cmd() 119 else if (cmd->resp_type & MMC_RSP_PRESENT) in mvebu_mmc_send_cmd() 124 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd() 127 if (cmd->resp_type & MMC_RSP_OPCODE) in mvebu_mmc_send_cmd() 130 if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd() 190 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd() 208 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd() 228 debug("%s: resp[0x%x] ", DRIVER_NAME, cmd->resp_type); in mvebu_mmc_send_cmd()
|
A D | tegra_mmc.c | 147 if ((data == NULL) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_wait_inhibit() 187 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_send_cmd_bounced() 202 if (!(cmd->resp_type & MMC_RSP_PRESENT)) in tegra_mmc_send_cmd_bounced() 204 else if (cmd->resp_type & MMC_RSP_136) in tegra_mmc_send_cmd_bounced() 206 else if (cmd->resp_type & MMC_RSP_BUSY) in tegra_mmc_send_cmd_bounced() 211 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced() 213 if (cmd->resp_type & MMC_RSP_OPCODE) in tegra_mmc_send_cmd_bounced() 250 if (cmd->resp_type & MMC_RSP_PRESENT) { in tegra_mmc_send_cmd_bounced() 251 if (cmd->resp_type & MMC_RSP_136) { in tegra_mmc_send_cmd_bounced() 265 } else if (cmd->resp_type & MMC_RSP_BUSY) { in tegra_mmc_send_cmd_bounced()
|
A D | stm32_sdmmc2.c | 259 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_start_cmd() 260 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd() 262 else if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_start_cmd() 281 if (cmd->resp_type & MMC_RSP_BUSY) in stm32_sdmmc2_start_cmd() 307 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd() 309 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd() 333 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) { in stm32_sdmmc2_end_cmd() 340 if (status & SDMMC_STA_CMDREND && cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd() 342 if (cmd->resp_type & MMC_RSP_136) { in stm32_sdmmc2_end_cmd() 349 if (cmd->resp_type & MMC_RSP_BUSY && in stm32_sdmmc2_end_cmd() [all …]
|
A D | mmc_write.c | 41 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t() 56 cmd.resp_type = MMC_RSP_R1b; in mmc_erase_t() 155 cmd.resp_type = MMC_RSP_R1; in mmc_write_blocks() 173 cmd.resp_type = MMC_RSP_R1b; in mmc_write_blocks()
|
A D | rpmb.c | 87 cmd.resp_type = MMC_RSP_R1; in mmc_set_blockcount() 109 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_request() 112 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_request() 144 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_response() 336 .resp_type = MMC_RSP_R1, in send_write_mult_block() 353 .resp_type = MMC_RSP_R1, in send_read_mult_block()
|
A D | meson_gx_mmc.c | 129 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd() 130 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd() 133 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd() 136 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd() 187 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response()
|
A D | dw_mmc.c | 303 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) 311 if (cmd->resp_type & MMC_RSP_PRESENT) { 313 if (cmd->resp_type & MMC_RSP_136) 317 if (cmd->resp_type & MMC_RSP_CRC) 354 } else if ((cmd->resp_type & MMC_RSP_CRC) && 361 if (cmd->resp_type & MMC_RSP_PRESENT) { 362 if (cmd->resp_type & MMC_RSP_136) {
|
A D | mmc.c | 82 switch (cmd->resp_type) { in mmmc_trace_after_send() 259 cmd.resp_type = MMC_RSP_R1; in mmc_send_status() 321 cmd.resp_type = MMC_RSP_R1; in mmc_set_blocklen() 380 cmd.resp_type = MMC_RSP_R1; in mmc_send_tuning() 414 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks() 544 cmd.resp_type = MMC_RSP_R1; in mmc_switch_voltage() 599 cmd.resp_type = MMC_RSP_R1; in sd_send_op_cond() 608 cmd.resp_type = MMC_RSP_R3; in sd_send_op_cond() 677 cmd.resp_type = MMC_RSP_R3; in mmc_send_op_cond_iter() 775 cmd.resp_type = MMC_RSP_R1; in mmc_send_ext_csd() [all …]
|
A D | mxcmmc.c | 170 switch (cmd->resp_type) { in mxcmci_start_cmd() 185 cmd->resp_type); in mxcmci_start_cmd() 243 } else if (stat & STATUS_RESP_CRC_ERR && cmd->resp_type & MMC_RSP_CRC) { in mxcmci_read_response() 248 if (cmd->resp_type & MMC_RSP_PRESENT) { in mxcmci_read_response() 249 if (cmd->resp_type & MMC_RSP_136) { in mxcmci_read_response()
|
A D | davinci_mmc.c | 177 switch (cmd->resp_type) { 243 if (cmd->resp_type & MMC_RSP_CRC) 252 if (cmd->resp_type == MMC_RSP_R1b) 258 if (cmd->resp_type & MMC_RSP_136) { 263 } else if (cmd->resp_type & MMC_RSP_PRESENT) {
|
A D | bcm2835_sdhost.c | 416 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) { in bcm2835_send_command() 442 if (!(cmd->resp_type & MMC_RSP_PRESENT)) { in bcm2835_send_command() 445 if (cmd->resp_type & MMC_RSP_136) in bcm2835_send_command() 447 if (cmd->resp_type & MMC_RSP_BUSY) { in bcm2835_send_command() 499 if (cmd->resp_type & MMC_RSP_PRESENT) { in bcm2835_finish_command() 500 if (cmd->resp_type & MMC_RSP_136) { in bcm2835_finish_command()
|
A D | sunxi_mmc.c | 364 if (cmd->resp_type & MMC_RSP_BUSY) in sunxi_mmc_send_cmd_common() 371 if (cmd->resp_type & MMC_RSP_PRESENT) in sunxi_mmc_send_cmd_common() 373 if (cmd->resp_type & MMC_RSP_136) in sunxi_mmc_send_cmd_common() 375 if (cmd->resp_type & MMC_RSP_CRC) in sunxi_mmc_send_cmd_common() 437 if (cmd->resp_type & MMC_RSP_BUSY) { in sunxi_mmc_send_cmd_common() 451 if (cmd->resp_type & MMC_RSP_136) { in sunxi_mmc_send_cmd_common()
|
A D | arm_pl180_mmci.c | 45 if ((cmd->resp_type & MMC_RSP_PRESENT)) in wait_for_command_end() 59 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end() 64 if (cmd->resp_type & MMC_RSP_PRESENT) { in wait_for_command_end() 87 if (cmd->resp_type) { in do_command() 89 if (cmd->resp_type & MMC_RSP_136) in do_command()
|
A D | gen_atmel_mci.c | 185 if (cmd->resp_type & MMC_RSP_CRC) 187 if (cmd->resp_type & MMC_RSP_136) 189 else if (cmd->resp_type & MMC_RSP_BUSY) 191 else if (cmd->resp_type & MMC_RSP_PRESENT) 295 if (cmd->resp_type & MMC_RSP_136) {
|
A D | jz_mmc.c | 228 switch (cmd->resp_type) { in jz_mmc_send_cmd() 245 if (cmd->resp_type & MMC_RSP_BUSY) in jz_mmc_send_cmd() 291 if (cmd->resp_type & MMC_RSP_PRESENT) { in jz_mmc_send_cmd() 293 if (cmd->resp_type & MMC_RSP_136) { in jz_mmc_send_cmd()
|
A D | pxa_mmc_gen.c | 111 if (cmd->resp_type & MMC_RSP_BUSY) in pxa_mmc_start_cmd() 115 switch (cmd->resp_type) { in pxa_mmc_start_cmd() 175 cmd->resp_type & MMC_RSP_CRC) { in pxa_mmc_cmd_done() 177 if (cmd->resp_type & MMC_RSP_136 && in pxa_mmc_cmd_done()
|
A D | sdhci.c | 46 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done() 255 if (!(cmd->resp_type & MMC_RSP_PRESENT)) 257 else if (cmd->resp_type & MMC_RSP_136) 259 else if (cmd->resp_type & MMC_RSP_BUSY) { 266 if (cmd->resp_type & MMC_RSP_CRC) 268 if (cmd->resp_type & MMC_RSP_OPCODE) 295 } else if (cmd->resp_type & MMC_RSP_BUSY) {
|
A D | fsl_esdhc.c | 133 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp() 135 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp() 137 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp() 139 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp() 141 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp() 413 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common() 431 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common()
|
A D | mmc_spi.c | 89 ushort cmdidx, u32 cmdarg, u32 resp_type, in mmc_spi_sendcmd() argument 101 __func__, cmdidx, cmdarg, resp_type, in mmc_spi_sendcmd() 387 ret = mmc_spi_sendcmd(dev, cmd->cmdidx, cmd->cmdarg, cmd->resp_type, in dm_mmc_spi_request()
|
A D | mxsmmc.c | 356 if (!(cmd->resp_type & MMC_RSP_CRC)) 358 if (cmd->resp_type & MMC_RSP_PRESENT) /* Need to get response */ 360 if (cmd->resp_type & MMC_RSP_136) /* It's a 136 bits response */ 446 if (cmd->resp_type & MMC_RSP_136) {
|
A D | fsl_esdhc_imx.c | 205 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp() 207 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp() 209 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp() 211 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp() 213 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp() 534 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common() 552 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common() 855 cmd.resp_type = MMC_RSP_R1b; in esdhc_stop_tuning()
|
A D | omap_hsmmc.c | 1097 if (!(cmd->resp_type & MMC_RSP_PRESENT)) 1099 else if (cmd->resp_type & MMC_RSP_136) 1101 else if (cmd->resp_type & MMC_RSP_BUSY) 1111 if (cmd->resp_type & MMC_RSP_CRC) 1113 if (cmd->resp_type & MMC_RSP_OPCODE) 1163 if (cmd->resp_type & MMC_RSP_PRESENT) { 1164 if (cmd->resp_type & MMC_RSP_136) {
|
A D | mtk-sd.c | 437 switch (cmd->resp_type) { in msdc_cmd_find_resp() 465 u32 resp_type = msdc_cmd_find_resp(host, cmd); in msdc_cmd_prepare_raw_cmd() local 500 ((resp_type << SDC_CMD_RSPTYP_S) & SDC_CMD_RSPTYP_M) | in msdc_cmd_prepare_raw_cmd() 516 if (cmd->resp_type & MMC_RSP_PRESENT) { in msdc_cmd_done() 517 if (cmd->resp_type & MMC_RSP_136) { in msdc_cmd_done() 595 host->last_resp_type = cmd->resp_type; in msdc_start_command()
|
A D | iproc_sdhci.c | 192 cmd.resp_type = MMC_RSP_R1; in sdhci_iproc_execute_tuning()
|