/external/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_emmc.c | 85 unsigned int resp_type; member 110 if (!(cmd->resp_type & MMC_RSP_PRESENT)) in uniphier_emmc_send_cmd() 112 else if (cmd->resp_type & MMC_RSP_136) in uniphier_emmc_send_cmd() 114 else if (cmd->resp_type & MMC_RSP_BUSY) in uniphier_emmc_send_cmd() 119 if (cmd->resp_type & MMC_RSP_CRC) in uniphier_emmc_send_cmd() 121 if (cmd->resp_type & MMC_RSP_OPCODE) in uniphier_emmc_send_cmd() 126 if (cmd->resp_type & MMC_RSP_BUSY || cmd->is_data) in uniphier_emmc_send_cmd() 154 cmd.resp_type = MMC_RSP_R1b; in uniphier_emmc_switch_part() 167 cmd.resp_type = MMC_RSP_R2; in uniphier_emmc_is_over_2gb() 204 cmd.resp_type = MMC_RSP_R1; in uniphier_emmc_load_image() [all …]
|
/external/u-boot/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 | mmc_boot.c | 31 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 42 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 55 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 67 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change()
|
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.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 | 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 | 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 | 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 | 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 | 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 | sdhci.c | 46 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done() 304 if (!(cmd->resp_type & MMC_RSP_PRESENT)) 306 else if (cmd->resp_type & MMC_RSP_136) 308 else if (cmd->resp_type & MMC_RSP_BUSY) { 315 if (cmd->resp_type & MMC_RSP_CRC) 317 if (cmd->resp_type & MMC_RSP_OPCODE) 344 } else if (cmd->resp_type & MMC_RSP_BUSY) {
|
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 | 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 | 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 | 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 | 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 | 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()
|
/external/arm-trusted-firmware/drivers/imx/usdhc/ |
D | imx_usdhc.c | 165 if (cmd->resp_type & MMC_RSP_48 && cmd->resp_type != MMC_RESPONSE_R2) in imx_usdhc_send_cmd() 167 else if (cmd->resp_type & MMC_RSP_136) in imx_usdhc_send_cmd() 169 else if (cmd->resp_type & MMC_RSP_BUSY) in imx_usdhc_send_cmd() 172 if (cmd->resp_type & MMC_RSP_CMD_IDX) in imx_usdhc_send_cmd() 175 if (cmd->resp_type & MMC_RSP_CRC) in imx_usdhc_send_cmd() 203 if (cmd->resp_type & MMC_RSP_136) { in imx_usdhc_send_cmd()
|
/external/arm-trusted-firmware/drivers/st/mmc/ |
D | stm32_sdmmc2.c | 175 cmd_stop.resp_type = MMC_RESPONSE_R1B; in stm32_sdmmc2_stop_transfer() 202 if (cmd->resp_type == 0U) { in stm32_sdmmc2_send_cmd_req() 206 if ((cmd->resp_type & MMC_RSP_48) != 0U) { in stm32_sdmmc2_send_cmd_req() 207 if ((cmd->resp_type & MMC_RSP_136) != 0U) { in stm32_sdmmc2_send_cmd_req() 210 } else if ((cmd->resp_type & MMC_RSP_CRC) != 0U) { in stm32_sdmmc2_send_cmd_req() 260 if ((cmd->resp_type & MMC_RSP_BUSY) != 0U) { in stm32_sdmmc2_send_cmd_req() 294 (cmd->resp_type == MMC_RESPONSE_R7)))) { in stm32_sdmmc2_send_cmd_req() 488 cmd.resp_type = MMC_RESPONSE_R1; in stm32_sdmmc2_prepare()
|
/external/arm-trusted-firmware/drivers/rpi3/sdhost/ |
D | rpi3_sdhost.c | 301 if ((cmd->resp_type & MMC_RSP_136) && in rpi3_sdhost_send_cmd() 302 (cmd->resp_type & MMC_RSP_BUSY)) { in rpi3_sdhost_send_cmd() 307 if (cmd->resp_type & MMC_RSP_48 && cmd->resp_type != MMC_RESPONSE_R2) { in rpi3_sdhost_send_cmd() 311 } else if (cmd->resp_type & MMC_RSP_136) { in rpi3_sdhost_send_cmd() 320 if (cmd->resp_type & MMC_RSP_BUSY) { in rpi3_sdhost_send_cmd()
|