Home
last modified time | relevance | path

Searched refs:resp_type (Results 1 – 25 of 38) sorted by relevance

12

/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_emmc.c85 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/
Dmvebu_mmc.c75 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()
Dmmc_boot.c31 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()
Dtegra_mmc.c139 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()
Dstm32_sdmmc2.c248 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 …]
Dmmc.c81 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 …]
Dmmc_write.c40 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()
Dmeson_gx_mmc.c109 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()
Ddw_mmc.c300 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) {
Drpmb.c85 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()
Dmxcmmc.c170 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()
Dpxa_mmc_gen.c105 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()
Dbcm2835_sdhost.c412 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()
Ddavinci_mmc.c183 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) {
Dsunxi_mmc.c371 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()
Dsdhci.c46 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) {
Dfsl_esdhc.c113 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()
Darm_pl180_mmci.c42 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()
Dgen_atmel_mci.c183 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) {
Djz_mmc.c224 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()
Dmmc_spi.c71 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()
Dfsl_esdhc_imx.c181 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/
Dimx_usdhc.c165 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/
Dstm32_sdmmc2.c175 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/
Drpi3_sdhost.c301 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()

12