/openbmc/u-boot/drivers/mmc/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | meson_gx_mmc.c | 106 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 D | stm32_sdmmc2.c | 245 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 D | mmc.c | 81 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 D | dw_mmc.c | 273 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 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()
|
H A D | rpmb.c | 85 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 D | sdhci.c | 43 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 D | bcm2835_sdhost.c | 410 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 D | mxcmmc.c | 169 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 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()
|
H A D | davinci_mmc.c | 189 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 D | mxsmmc.c | 173 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 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()
|
H A 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()
|
H A 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) {
|
H A 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()
|
H A D | fsl_esdhc.c | 174 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 D | mmc_spi.c | 181 cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mmc_spi_request() 194 } else if (cmd->resp_type == MMC_RSP_R2) { in mmc_spi_request()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 863 struct response_type *resp_type = msg->private; in zcrypt_msgtype6_receive() local 873 switch (resp_type->type) { in zcrypt_msgtype6_receive() 908 complete(&resp_type->work); in zcrypt_msgtype6_receive() 927 struct response_type *resp_type = msg->private; in zcrypt_msgtype6_receive_ep11() local 937 switch (resp_type->type) { in zcrypt_msgtype6_receive_ep11() 958 complete(&resp_type->work); in zcrypt_msgtype6_receive_ep11() 974 struct response_type resp_type = { in zcrypt_msgtype6_modexpo() local 986 ap_msg->private = &resp_type; in zcrypt_msgtype6_modexpo() 990 init_completion(&resp_type.work); in zcrypt_msgtype6_modexpo() 994 rc = wait_for_completion_interruptible(&resp_type.work); in zcrypt_msgtype6_modexpo() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_pfvf_pf_proto.c | 126 u8 resp_type = ADF_PF2VF_BLKMSG_RESP_TYPE_ERROR; in handle_blkmsg_req() local 162 resp_type = ADF_PF2VF_BLKMSG_RESP_TYPE_CRC; in handle_blkmsg_req() 171 resp_type = ADF_PF2VF_BLKMSG_RESP_TYPE_DATA; in handle_blkmsg_req() 175 resp.data = FIELD_PREP(ADF_PF2VF_BLKMSG_RESP_TYPE_MASK, resp_type) | in handle_blkmsg_req()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 130 static int sd_status_index(int resp_type) in sd_status_index() argument 132 if (resp_type == SD_RSP_TYPE_R0) in sd_status_index() 134 else if (resp_type == SD_RSP_TYPE_R2) in sd_status_index() 438 int resp_type; in sd_read_long_data() local 444 resp_type = sd_response_type(cmd); in sd_read_long_data() 445 if (resp_type < 0) in sd_read_long_data() 446 return resp_type; in sd_read_long_data() 468 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2 | resp_type); in sd_read_long_data()
|
H A D | cqhci-core.c | 537 u8 resp_type; in cqhci_prep_dcmd_desc() local 544 resp_type = 0x0; in cqhci_prep_dcmd_desc() 548 resp_type = 0x3; in cqhci_prep_dcmd_desc() 551 resp_type = 0x2; in cqhci_prep_dcmd_desc() 564 CQHCI_CMD_TIMING(timing) | CQHCI_RESP_TYPE(resp_type)); in cqhci_prep_dcmd_desc() 570 mmc_hostname(mmc), mrq->cmd->opcode, timing, resp_type); in cqhci_prep_dcmd_desc()
|