/third_party/uboot/u-boot-2020.01/drivers/mmc/ |
D | mvebu_mmc.c | 75 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd() 113 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd() 115 else if (cmd->resp_type & MMC_RSP_136) in mvebu_mmc_send_cmd() 117 else if (cmd->resp_type & MMC_RSP_PRESENT) in mvebu_mmc_send_cmd() 122 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd() 125 if (cmd->resp_type & MMC_RSP_OPCODE) in mvebu_mmc_send_cmd() 128 if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd() 188 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd() 206 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd() 226 debug("%s: resp[0x%x] ", DRIVER_NAME, cmd->resp_type); in mvebu_mmc_send_cmd()
|
D | tegra_mmc.c | 139 if ((data == NULL) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_wait_inhibit() 179 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_send_cmd_bounced() 194 if (!(cmd->resp_type & MMC_RSP_PRESENT)) in tegra_mmc_send_cmd_bounced() 196 else if (cmd->resp_type & MMC_RSP_136) in tegra_mmc_send_cmd_bounced() 198 else if (cmd->resp_type & MMC_RSP_BUSY) in tegra_mmc_send_cmd_bounced() 203 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced() 205 if (cmd->resp_type & MMC_RSP_OPCODE) in tegra_mmc_send_cmd_bounced() 242 if (cmd->resp_type & MMC_RSP_PRESENT) { in tegra_mmc_send_cmd_bounced() 243 if (cmd->resp_type & MMC_RSP_136) { in tegra_mmc_send_cmd_bounced() 257 } else if (cmd->resp_type & MMC_RSP_BUSY) { in tegra_mmc_send_cmd_bounced()
|
D | stm32_sdmmc2.c | 248 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_start_cmd() 249 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd() 251 else if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_start_cmd() 270 if (cmd->resp_type & MMC_RSP_BUSY) in stm32_sdmmc2_start_cmd() 295 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd() 297 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd() 321 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) { in stm32_sdmmc2_end_cmd() 328 if (status & SDMMC_STA_CMDREND && cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd() 330 if (cmd->resp_type & MMC_RSP_136) { in stm32_sdmmc2_end_cmd() 337 if (cmd->resp_type & MMC_RSP_BUSY && in stm32_sdmmc2_end_cmd() [all …]
|
D | mmc_boot.c | 34 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 45 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 58 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 70 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change()
|
D | mmc_write.c | 40 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t() 55 cmd.resp_type = MMC_RSP_R1b; in mmc_erase_t() 154 cmd.resp_type = MMC_RSP_R1; in mmc_write_blocks() 172 cmd.resp_type = MMC_RSP_R1b; in mmc_write_blocks()
|
D | mmc.c | 81 switch (cmd->resp_type) { in mmmc_trace_after_send() 217 cmd.resp_type = MMC_RSP_R1; in mmc_send_status() 284 cmd.resp_type = MMC_RSP_R1; in mmc_set_blocklen() 359 cmd.resp_type = MMC_RSP_R1; in mmc_send_tuning() 393 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks() 406 cmd.resp_type = MMC_RSP_R1b; in mmc_read_blocks() 484 cmd.resp_type = MMC_RSP_NONE; in mmc_go_idle() 511 cmd.resp_type = MMC_RSP_R1; in mmc_switch_voltage() 566 cmd.resp_type = MMC_RSP_R1; in sd_send_op_cond() 575 cmd.resp_type = MMC_RSP_R3; in sd_send_op_cond() [all …]
|
D | meson_gx_mmc.c | 109 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd() 110 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd() 113 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd() 116 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd() 167 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response()
|
D | dw_mmc.c | 300 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) 308 if (cmd->resp_type & MMC_RSP_PRESENT) { 310 if (cmd->resp_type & MMC_RSP_136) 314 if (cmd->resp_type & MMC_RSP_CRC) 351 } else if ((cmd->resp_type & MMC_RSP_CRC) && 358 if (cmd->resp_type & MMC_RSP_PRESENT) { 359 if (cmd->resp_type & MMC_RSP_136) {
|
D | rpmb.c | 85 cmd.resp_type = MMC_RSP_R1; in mmc_set_blockcount() 106 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_request() 138 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_response() 330 .resp_type = MMC_RSP_R1, in send_write_mult_block() 347 .resp_type = MMC_RSP_R1, in send_read_mult_block()
|
D | pxa_mmc_gen.c | 105 if (cmd->resp_type & MMC_RSP_BUSY) in pxa_mmc_start_cmd() 109 switch (cmd->resp_type) { in pxa_mmc_start_cmd() 169 && cmd->resp_type & MMC_RSP_CRC) { in pxa_mmc_cmd_done() 171 if (cmd->resp_type & MMC_RSP_136 in pxa_mmc_cmd_done()
|
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()
|
D | bcm2835_sdhost.c | 412 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) { in bcm2835_send_command() 438 if (!(cmd->resp_type & MMC_RSP_PRESENT)) { in bcm2835_send_command() 441 if (cmd->resp_type & MMC_RSP_136) in bcm2835_send_command() 443 if (cmd->resp_type & MMC_RSP_BUSY) { in bcm2835_send_command() 495 if (cmd->resp_type & MMC_RSP_PRESENT) { in bcm2835_finish_command() 496 if (cmd->resp_type & MMC_RSP_136) { in bcm2835_finish_command()
|
D | davinci_mmc.c | 183 switch (cmd->resp_type) { 249 if (cmd->resp_type & MMC_RSP_CRC) 258 if (cmd->resp_type == MMC_RSP_R1b) 264 if (cmd->resp_type & MMC_RSP_136) { 269 } else if (cmd->resp_type & MMC_RSP_PRESENT) {
|
D | sunxi_mmc.c | 371 if (cmd->resp_type & MMC_RSP_BUSY) in sunxi_mmc_send_cmd_common() 378 if (cmd->resp_type & MMC_RSP_PRESENT) in sunxi_mmc_send_cmd_common() 380 if (cmd->resp_type & MMC_RSP_136) in sunxi_mmc_send_cmd_common() 382 if (cmd->resp_type & MMC_RSP_CRC) in sunxi_mmc_send_cmd_common() 444 if (cmd->resp_type & MMC_RSP_BUSY) { in sunxi_mmc_send_cmd_common() 458 if (cmd->resp_type & MMC_RSP_136) { in sunxi_mmc_send_cmd_common()
|
D | fsl_esdhc.c | 113 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp() 115 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp() 117 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp() 119 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp() 121 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp() 400 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common() 418 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common()
|
D | gen_atmel_mci.c | 183 if (cmd->resp_type & MMC_RSP_CRC) 185 if (cmd->resp_type & MMC_RSP_136) 187 else if (cmd->resp_type & MMC_RSP_BUSY) 189 else if (cmd->resp_type & MMC_RSP_PRESENT) 293 if (cmd->resp_type & MMC_RSP_136) {
|
D | arm_pl180_mmci.c | 42 if ((cmd->resp_type & MMC_RSP_PRESENT)) in wait_for_command_end() 56 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end() 61 if (cmd->resp_type & MMC_RSP_PRESENT) { in wait_for_command_end() 84 if (cmd->resp_type) { in do_command() 86 if (cmd->resp_type & MMC_RSP_136) in do_command()
|
D | jz_mmc.c | 224 switch (cmd->resp_type) { in jz_mmc_send_cmd() 241 if (cmd->resp_type & MMC_RSP_BUSY) in jz_mmc_send_cmd() 287 if (cmd->resp_type & MMC_RSP_PRESENT) { in jz_mmc_send_cmd() 289 if (cmd->resp_type & MMC_RSP_136) { in jz_mmc_send_cmd()
|
D | sdhci.c | 106 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done() 385 if (!(cmd->resp_type & MMC_RSP_PRESENT)) 387 else if (cmd->resp_type & MMC_RSP_136) 389 else if (cmd->resp_type & MMC_RSP_BUSY) { 396 if (cmd->resp_type & MMC_RSP_CRC) 398 if (cmd->resp_type & MMC_RSP_OPCODE) 425 } else if (cmd->resp_type & MMC_RSP_BUSY) {
|
D | himci.c | 438 switch (cmd->resp_type) { in hi_mci_exec_cmd() 461 HIMCI_ERROR("unhandled response type %02x", cmd->resp_type); in hi_mci_exec_cmd() 496 if (cmd->resp_type & MMC_RSP_PRESENT) { in hi_mci_cmd_done() 497 if (cmd->resp_type & MMC_RSP_136) { in hi_mci_cmd_done() 512 if ((cmd->resp_type == MMC_RSP_R1) in hi_mci_cmd_done() 513 || (cmd->resp_type == MMC_RSP_R1b)) { in hi_mci_cmd_done() 710 if (cmd->resp_type & MMC_RSP_BUSY) { in hi_mci_request() 826 cmd.resp_type = MMC_RSP_R1; in hi_mci_send_stop()
|
D | mmc_spi.c | 71 ushort cmdidx, u32 cmdarg, u32 resp_type, in mmc_spi_sendcmd() argument 80 __func__, cmdidx, cmdarg, resp_type, in mmc_spi_sendcmd() 313 ret = mmc_spi_sendcmd(dev, cmd->cmdidx, cmd->cmdarg, cmd->resp_type, in dm_mmc_spi_request()
|
D | mxsmmc.c | 358 if (!(cmd->resp_type & MMC_RSP_CRC)) 360 if (cmd->resp_type & MMC_RSP_PRESENT) /* Need to get response */ 362 if (cmd->resp_type & MMC_RSP_136) /* It's a 136 bits response */ 448 if (cmd->resp_type & MMC_RSP_136) {
|
D | fsl_esdhc_imx.c | 181 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp() 183 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp() 185 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp() 187 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp() 189 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp() 516 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common() 534 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common() 862 cmd.resp_type = MMC_RSP_R1b; in esdhc_stop_tuning()
|
D | omap_hsmmc.c | 1088 if (!(cmd->resp_type & MMC_RSP_PRESENT)) 1090 else if (cmd->resp_type & MMC_RSP_136) 1092 else if (cmd->resp_type & MMC_RSP_BUSY) 1102 if (cmd->resp_type & MMC_RSP_CRC) 1104 if (cmd->resp_type & MMC_RSP_OPCODE) 1154 if (cmd->resp_type & MMC_RSP_PRESENT) { 1155 if (cmd->resp_type & MMC_RSP_136) {
|
D | mtk-sd.c | 331 switch (cmd->resp_type) { in msdc_cmd_find_resp() 359 u32 resp_type = msdc_cmd_find_resp(host, cmd); in msdc_cmd_prepare_raw_cmd() local 394 ((resp_type << SDC_CMD_RSPTYP_S) & SDC_CMD_RSPTYP_M) | in msdc_cmd_prepare_raw_cmd() 410 if (cmd->resp_type & MMC_RSP_PRESENT) { in msdc_cmd_done() 411 if (cmd->resp_type & MMC_RSP_136) { in msdc_cmd_done() 489 host->last_resp_type = cmd->resp_type; in msdc_start_command()
|