Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/mmc/
H A Dmmc_boot.c32 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()
H A Dmvebu_mmc.c76 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd()
114 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd()
116 else if (cmd->resp_type & MMC_RSP_136) in mvebu_mmc_send_cmd()
118 else if (cmd->resp_type & MMC_RSP_PRESENT) in mvebu_mmc_send_cmd()
123 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd()
126 if (cmd->resp_type & MMC_RSP_OPCODE) in mvebu_mmc_send_cmd()
129 if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd()
189 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd()
207 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in mvebu_mmc_send_cmd()
227 debug("%s: resp[0x%x] ", DRIVER_NAME, cmd->resp_type); in mvebu_mmc_send_cmd()
H A Dtegra_mmc.c142 if ((data == NULL) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_wait_inhibit()
182 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_send_cmd_bounced()
197 if (!(cmd->resp_type & MMC_RSP_PRESENT)) in tegra_mmc_send_cmd_bounced()
199 else if (cmd->resp_type & MMC_RSP_136) in tegra_mmc_send_cmd_bounced()
201 else if (cmd->resp_type & MMC_RSP_BUSY) in tegra_mmc_send_cmd_bounced()
206 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced()
208 if (cmd->resp_type & MMC_RSP_OPCODE) in tegra_mmc_send_cmd_bounced()
245 if (cmd->resp_type & MMC_RSP_PRESENT) { in tegra_mmc_send_cmd_bounced()
246 if (cmd->resp_type & MMC_RSP_136) { in tegra_mmc_send_cmd_bounced()
260 } else if (cmd->resp_type & MMC_RSP_BUSY) { in tegra_mmc_send_cmd_bounced()
H A Dmmc.c101 switch (cmd->resp_type) { in mmmc_trace_after_send()
173 cmd.resp_type = MMC_RSP_R1; in mmc_send_status()
219 cmd.resp_type = MMC_RSP_R1; in mmc_set_blocklen()
233 cmd.resp_type = MMC_RSP_R1; in mmc_set_blockcount()
254 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks()
267 cmd.resp_type = MMC_RSP_R1b; in mmc_read_blocks()
298 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks_prepare()
502 cmd.resp_type = MMC_RSP_NONE; in mmc_go_idle()
523 cmd.resp_type = MMC_RSP_R1; in sd_send_op_cond()
532 cmd.resp_type = MMC_RSP_R3; in sd_send_op_cond()
[all …]
H A Ddw_mmc.c413 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY))
423 if (cmd->resp_type & MMC_RSP_PRESENT) {
425 if (cmd->resp_type & MMC_RSP_136)
429 if (cmd->resp_type & MMC_RSP_CRC)
471 if (cmd->resp_type & MMC_RSP_PRESENT) {
472 if (cmd->resp_type & MMC_RSP_136) {
563 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY))
571 if (cmd->resp_type & MMC_RSP_PRESENT) {
573 if (cmd->resp_type & MMC_RSP_136)
577 if (cmd->resp_type & MMC_RSP_CRC)
[all …]
H A Dmeson_gx_mmc.c104 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd()
105 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd()
108 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd()
111 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd()
162 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response()
H A Dstm32_sdmmc2.c242 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_start_cmd()
243 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd()
245 else if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_start_cmd()
269 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd()
271 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd()
295 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) { in stm32_sdmmc2_end_cmd()
302 if (status & SDMMC_STA_CMDREND && cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd()
304 if (cmd->resp_type & MMC_RSP_136) { in stm32_sdmmc2_end_cmd()
420 stop_cmd.resp_type = MMC_RSP_R1b; in stm32_sdmmc2_send_cmd()
H A Dmmc_write.c54 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t()
69 cmd.resp_type = MMC_RSP_R1b; in mmc_erase_t()
188 cmd.resp_type = MMC_RSP_R1; in mmc_write_blocks()
206 cmd.resp_type = MMC_RSP_R1b; in mmc_write_blocks()
H A Ddavinci_mmc.c152 switch (cmd->resp_type) { in dmmc_send_cmd()
219 if (cmd->resp_type & MMC_RSP_CRC) in dmmc_send_cmd()
228 if (cmd->resp_type == MMC_RSP_R1b) in dmmc_send_cmd()
234 if (cmd->resp_type & MMC_RSP_136) { in dmmc_send_cmd()
239 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in dmmc_send_cmd()
H A Darm_pl180_mmci.c28 if ((cmd->resp_type & MMC_RSP_PRESENT)) in wait_for_command_end()
42 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end()
47 if (cmd->resp_type & MMC_RSP_PRESENT) { in wait_for_command_end()
70 if (cmd->resp_type) { in do_command()
72 if (cmd->resp_type & MMC_RSP_136) in do_command()
H A Dsdhci.c44 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done()
191 if (!(cmd->resp_type & MMC_RSP_PRESENT))
193 else if (cmd->resp_type & MMC_RSP_136)
195 else if (cmd->resp_type & MMC_RSP_BUSY) {
202 if (cmd->resp_type & MMC_RSP_CRC)
204 if (cmd->resp_type & MMC_RSP_OPCODE)
259 } else if (cmd->resp_type & MMC_RSP_BUSY) {
588 cmd.resp_type = MMC_RSP_R1;
H A Dpxa_mmc_gen.c106 if (cmd->resp_type & MMC_RSP_BUSY) in pxa_mmc_start_cmd()
110 switch (cmd->resp_type) { in pxa_mmc_start_cmd()
170 && cmd->resp_type & MMC_RSP_CRC) { in pxa_mmc_cmd_done()
172 if (cmd->resp_type & MMC_RSP_136 in pxa_mmc_cmd_done()
H A Dmxcmmc.c169 switch (cmd->resp_type) { in mxcmci_start_cmd()
184 cmd->resp_type); in mxcmci_start_cmd()
242 } else if (stat & STATUS_RESP_CRC_ERR && cmd->resp_type & MMC_RSP_CRC) { in mxcmci_read_response()
247 if (cmd->resp_type & MMC_RSP_PRESENT) { in mxcmci_read_response()
248 if (cmd->resp_type & MMC_RSP_136) { in mxcmci_read_response()
H A Dsunxi_mmc.c333 if (cmd->resp_type & MMC_RSP_BUSY) in sunxi_mmc_send_cmd_common()
340 if (cmd->resp_type & MMC_RSP_PRESENT) in sunxi_mmc_send_cmd_common()
342 if (cmd->resp_type & MMC_RSP_136) in sunxi_mmc_send_cmd_common()
344 if (cmd->resp_type & MMC_RSP_CRC) in sunxi_mmc_send_cmd_common()
406 if (cmd->resp_type & MMC_RSP_BUSY) { in sunxi_mmc_send_cmd_common()
419 if (cmd->resp_type & MMC_RSP_136) { in sunxi_mmc_send_cmd_common()
H A Dmxsmmc.c174 if (!(cmd->resp_type & MMC_RSP_CRC)) in mxsmmc_send_cmd()
176 if (cmd->resp_type & MMC_RSP_PRESENT) /* Need to get response */ in mxsmmc_send_cmd()
178 if (cmd->resp_type & MMC_RSP_136) /* It's a 136 bits response */ in mxsmmc_send_cmd()
265 if (cmd->resp_type & MMC_RSP_136) { in mxsmmc_send_cmd()
H A Domap_hsmmc.c380 if (!(cmd->resp_type & MMC_RSP_PRESENT))
382 else if (cmd->resp_type & MMC_RSP_136)
384 else if (cmd->resp_type & MMC_RSP_BUSY)
393 if (cmd->resp_type & MMC_RSP_CRC)
395 if (cmd->resp_type & MMC_RSP_OPCODE)
435 if (cmd->resp_type & MMC_RSP_PRESENT) {
436 if (cmd->resp_type & MMC_RSP_136) {
H A Dgen_atmel_mci.c177 if (cmd->resp_type & MMC_RSP_CRC)
179 if (cmd->resp_type & MMC_RSP_136)
181 else if (cmd->resp_type & MMC_RSP_BUSY)
183 else if (cmd->resp_type & MMC_RSP_PRESENT)
286 if (cmd->resp_type & MMC_RSP_136) {
H A Dfsl_esdhc.c144 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp()
146 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp()
148 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp()
150 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp()
152 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp()
442 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common()
460 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common()
H A Dmmc_spi.c181 cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mmc_spi_request()
194 } else if (cmd->resp_type == MMC_RSP_R2) { in mmc_spi_request()
H A Drpmb.c74 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_request()
106 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_response()
H A Dsh_mmcif.c312 if (cmd->resp_type & MMC_RSP_136) { in sh_mmcif_get_response()
337 switch (cmd->resp_type) { in sh_mmcif_set_cmd()
H A Duniphier-sd.c437 switch (cmd->resp_type) { in uniphier_sd_send_cmd()
467 if (cmd->resp_type & MMC_RSP_136) { in uniphier_sd_send_cmd()
H A Dftsdc010_mci.c41 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
H A Dsh_sdhi.c434 if (cmd->resp_type & MMC_RSP_136) { in sh_sdhi_get_response()
542 opc, cmd->cmdarg, cmd->resp_type); in sh_sdhi_start_cmd()
/rk3399_rockchip-uboot/include/
H A Dmmc.h391 uint resp_type; member