Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/mmc/
H A 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()
H A 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()
H A 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()
H A Dmeson_gx_mmc.c106 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd()
107 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd()
110 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd()
113 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd()
164 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response()
H A 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()
H A Dstm32_sdmmc2.c245 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_start_cmd()
246 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd()
248 else if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_start_cmd()
272 if (cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd()
274 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd()
298 if (status & SDMMC_STA_CCRCFAIL && cmd->resp_type & MMC_RSP_CRC) { in stm32_sdmmc2_end_cmd()
305 if (status & SDMMC_STA_CMDREND && cmd->resp_type & MMC_RSP_PRESENT) { in stm32_sdmmc2_end_cmd()
307 if (cmd->resp_type & MMC_RSP_136) { in stm32_sdmmc2_end_cmd()
423 stop_cmd.resp_type = MMC_RSP_R1b; in stm32_sdmmc2_send_cmd()
H A Ddw_mmc.c273 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY))
281 if (cmd->resp_type & MMC_RSP_PRESENT) {
283 if (cmd->resp_type & MMC_RSP_136)
287 if (cmd->resp_type & MMC_RSP_CRC)
324 } else if ((cmd->resp_type & MMC_RSP_CRC) &&
331 if (cmd->resp_type & MMC_RSP_PRESENT) {
332 if (cmd->resp_type & MMC_RSP_136) {
H A Dmmc.c81 switch (cmd->resp_type) { in mmmc_trace_after_send()
215 cmd.resp_type = MMC_RSP_R1; in mmc_send_status()
263 cmd.resp_type = MMC_RSP_R1; in mmc_set_blocklen()
338 cmd.resp_type = MMC_RSP_R1; in mmc_send_tuning()
372 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks()
385 cmd.resp_type = MMC_RSP_R1b; in mmc_read_blocks()
463 cmd.resp_type = MMC_RSP_NONE; in mmc_go_idle()
490 cmd.resp_type = MMC_RSP_R1; in mmc_switch_voltage()
545 cmd.resp_type = MMC_RSP_R1; in sd_send_op_cond()
554 cmd.resp_type = MMC_RSP_R3; in sd_send_op_cond()
[all …]
H A Drpmb.c85 cmd.resp_type = MMC_RSP_R1; in mmc_set_blockcount()
106 cmd.resp_type = MMC_RSP_R1b; in mmc_rpmb_request()
138 cmd.resp_type = MMC_RSP_R1; in mmc_rpmb_response()
330 .resp_type = MMC_RSP_R1b, in send_write_mult_block()
347 .resp_type = MMC_RSP_R1, in send_read_mult_block()
H A 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()
H A Dsdhci.c43 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)
253 } else if (cmd->resp_type & MMC_RSP_BUSY) {
H A Dbcm2835_sdhost.c410 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) { in bcm2835_send_command()
436 if (!(cmd->resp_type & MMC_RSP_PRESENT)) { in bcm2835_send_command()
439 if (cmd->resp_type & MMC_RSP_136) in bcm2835_send_command()
441 if (cmd->resp_type & MMC_RSP_BUSY) { in bcm2835_send_command()
493 if (cmd->resp_type & MMC_RSP_PRESENT) { in bcm2835_finish_command()
494 if (cmd->resp_type & MMC_RSP_136) { in bcm2835_finish_command()
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 Dmxsmmc.c173 if (!(cmd->resp_type & MMC_RSP_CRC)) in mxsmmc_send_cmd()
175 if (cmd->resp_type & MMC_RSP_PRESENT) /* Need to get response */ in mxsmmc_send_cmd()
177 if (cmd->resp_type & MMC_RSP_136) /* It's a 136 bits response */ in mxsmmc_send_cmd()
264 if (cmd->resp_type & MMC_RSP_136) { in mxsmmc_send_cmd()
H A Ddavinci_mmc.c189 switch (cmd->resp_type) {
256 if (cmd->resp_type & MMC_RSP_CRC)
265 if (cmd->resp_type == MMC_RSP_R1b)
271 if (cmd->resp_type & MMC_RSP_136) {
276 } else if (cmd->resp_type & MMC_RSP_PRESENT) {
H A 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()
H A 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()
H A 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) {
H A 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()
H A Dfsl_esdhc.c174 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp()
176 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp()
178 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp()
180 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp()
182 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp()
506 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common()
524 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common()
853 cmd.resp_type = MMC_RSP_R1b; in esdhc_stop_tuning()
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 Dmtk-sd.c322 switch (cmd->resp_type) { in msdc_cmd_find_resp()
350 u32 resp_type = msdc_cmd_find_resp(host, cmd); in msdc_cmd_prepare_raw_cmd() local
383 ((resp_type << SDC_CMD_RSPTYP_S) & SDC_CMD_RSPTYP_M) | in msdc_cmd_prepare_raw_cmd()
399 if (cmd->resp_type & MMC_RSP_PRESENT) { in msdc_cmd_done()
400 if (cmd->resp_type & MMC_RSP_136) { in msdc_cmd_done()
470 host->last_resp_type = cmd->resp_type; in msdc_start_command()
H A Domap_hsmmc.c1099 if (!(cmd->resp_type & MMC_RSP_PRESENT))
1101 else if (cmd->resp_type & MMC_RSP_136)
1103 else if (cmd->resp_type & MMC_RSP_BUSY)
1113 if (cmd->resp_type & MMC_RSP_CRC)
1115 if (cmd->resp_type & MMC_RSP_OPCODE)
1165 if (cmd->resp_type & MMC_RSP_PRESENT) {
1166 if (cmd->resp_type & MMC_RSP_136) {
H A Dzynq_sdhci.c115 cmd.resp_type = MMC_RSP_R1; in arasan_sdhci_execute_tuning()
H A Dsh_mmcif.c315 if (cmd->resp_type & MMC_RSP_136) { in sh_mmcif_get_response()
340 switch (cmd->resp_type) { in sh_mmcif_set_cmd()

12