Home
last modified time | relevance | path

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

12

/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.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()
Dmmc.c81 switch (cmd->resp_type) { in mmmc_trace_after_send()
213 cmd.resp_type = MMC_RSP_R1; in mmc_send_status()
261 cmd.resp_type = MMC_RSP_R1; in mmc_set_blocklen()
336 cmd.resp_type = MMC_RSP_R1; in mmc_send_tuning()
370 cmd.resp_type = MMC_RSP_R1; in mmc_read_blocks()
383 cmd.resp_type = MMC_RSP_R1b; in mmc_read_blocks()
461 cmd.resp_type = MMC_RSP_NONE; in mmc_go_idle()
488 cmd.resp_type = MMC_RSP_R1; in mmc_switch_voltage()
543 cmd.resp_type = MMC_RSP_R1; in sd_send_op_cond()
552 cmd.resp_type = MMC_RSP_R3; in sd_send_op_cond()
[all …]
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()
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()
Ddw_mmc.c241 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY))
249 if (cmd->resp_type & MMC_RSP_PRESENT) {
251 if (cmd->resp_type & MMC_RSP_136)
255 if (cmd->resp_type & MMC_RSP_CRC)
295 if (cmd->resp_type & MMC_RSP_PRESENT) {
296 if (cmd->resp_type & MMC_RSP_136) {
Ddavinci_mmc.c151 switch (cmd->resp_type) { in dmmc_send_cmd()
218 if (cmd->resp_type & MMC_RSP_CRC) in dmmc_send_cmd()
227 if (cmd->resp_type == MMC_RSP_R1b) in dmmc_send_cmd()
233 if (cmd->resp_type & MMC_RSP_136) { in dmmc_send_cmd()
238 } else if (cmd->resp_type & MMC_RSP_PRESENT) { in dmmc_send_cmd()
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()
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) {
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()
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()
Dsunxi_mmc.c337 if (cmd->resp_type & MMC_RSP_BUSY) in sunxi_mmc_send_cmd_common()
344 if (cmd->resp_type & MMC_RSP_PRESENT) in sunxi_mmc_send_cmd_common()
346 if (cmd->resp_type & MMC_RSP_136) in sunxi_mmc_send_cmd_common()
348 if (cmd->resp_type & MMC_RSP_CRC) in sunxi_mmc_send_cmd_common()
410 if (cmd->resp_type & MMC_RSP_BUSY) { in sunxi_mmc_send_cmd_common()
424 if (cmd->resp_type & MMC_RSP_136) { in sunxi_mmc_send_cmd_common()
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()
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()
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()
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) {
Dfsl_esdhc.c172 if (cmd->resp_type & MMC_RSP_CRC) in esdhc_xfertyp()
174 if (cmd->resp_type & MMC_RSP_OPCODE) in esdhc_xfertyp()
176 if (cmd->resp_type & MMC_RSP_136) in esdhc_xfertyp()
178 else if (cmd->resp_type & MMC_RSP_BUSY) in esdhc_xfertyp()
180 else if (cmd->resp_type & MMC_RSP_PRESENT) in esdhc_xfertyp()
479 if (!data && (cmd->resp_type & MMC_RSP_BUSY)) { in esdhc_send_cmd_common()
497 if (cmd->resp_type & MMC_RSP_136) { in esdhc_send_cmd_common()
788 cmd.resp_type = MMC_RSP_R1b; in esdhc_stop_tuning()
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()
Domap_hsmmc.c1006 if (!(cmd->resp_type & MMC_RSP_PRESENT))
1008 else if (cmd->resp_type & MMC_RSP_136)
1010 else if (cmd->resp_type & MMC_RSP_BUSY)
1020 if (cmd->resp_type & MMC_RSP_CRC)
1022 if (cmd->resp_type & MMC_RSP_OPCODE)
1072 if (cmd->resp_type & MMC_RSP_PRESENT) {
1073 if (cmd->resp_type & MMC_RSP_136) {
Dtmio-common.c438 switch (cmd->resp_type) { in tmio_sd_send_cmd()
468 if (cmd->resp_type & MMC_RSP_136) { in tmio_sd_send_cmd()
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()
Dzynq_sdhci.c116 cmd.resp_type = MMC_RSP_R1; in arasan_sdhci_execute_tuning()
/external/webrtc/webrtc/p2p/base/
Dturnserver.cc97 int resp_type = (req) ? GetStunSuccessResponseType(req->type()) : -1; in InitResponse() local
98 if (resp_type == -1) in InitResponse()
100 resp->SetType(resp_type); in InitResponse()
107 int resp_type = (req) ? GetStunErrorResponseType(req->type()) : -1; in InitErrorResponse() local
108 if (resp_type == -1) in InitErrorResponse()
110 resp->SetType(resp_type); in InitErrorResponse()

12