Lines Matching refs:rsp_type

113 			       u32 arg, u8 rsp_type, u8 *rsp, int rsp_len)  argument
127 if (rsp_type == SD_RSP_TYPE_R1b)
140 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG2, 0xFF, rsp_type);
149 if (rsp_type == SD_RSP_TYPE_R2) {
155 } else if (rsp_type != SD_RSP_TYPE_R0) {
176 if (rsp_type & SD_WAIT_BUSY_END) {
194 if (rsp_type == SD_RSP_TYPE_R0)
204 if (!(rsp_type & SD_NO_CHECK_CRC7)) {
221 if ((rsp_type == SD_RSP_TYPE_R1) || (rsp_type == SD_RSP_TYPE_R1b)) {
3576 u8 rsp_type, u8 *rsp, int rsp_len, argument
3588 if (rsp_type == SD_RSP_TYPE_R1b)
3601 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG2, 0xFF, rsp_type);
3609 if (rsp_type == SD_RSP_TYPE_R2) {
3615 } else if (rsp_type != SD_RSP_TYPE_R0) {
3631 if (rsp_type & SD_WAIT_BUSY_END) {
3642 if (rsp_type == SD_RSP_TYPE_R0)
3652 if (!(rsp_type & SD_NO_CHECK_CRC7)) {
3686 if (rsp_type == SD_RSP_TYPE_R2) {
3699 int ext_sd_get_rsp(struct rtsx_chip *chip, int len, u8 *rsp, u8 rsp_type) argument
3704 if (rsp_type == SD_RSP_TYPE_R0)
3709 if (rsp_type == SD_RSP_TYPE_R2) {
3715 } else if (rsp_type != SD_RSP_TYPE_R0) {
3812 static inline int get_rsp_type(struct scsi_cmnd *srb, u8 *rsp_type, argument
3815 if (!rsp_type || !rsp_len)
3820 *rsp_type = SD_RSP_TYPE_R0;
3825 *rsp_type = SD_RSP_TYPE_R1;
3830 *rsp_type = SD_RSP_TYPE_R1b;
3835 *rsp_type = SD_RSP_TYPE_R2;
3840 *rsp_type = SD_RSP_TYPE_R3;
3856 u8 cmd_idx, rsp_type; local
3885 retval = get_rsp_type(srb, &rsp_type, &rsp_len);
3890 sd_card->last_rsp_type = rsp_type;
3932 retval = ext_sd_send_cmd_get_rsp(chip, cmd_idx, arg, rsp_type,
3969 u8 cmd_idx, rsp_type, bus_width; local
4001 retval = get_rsp_type(srb, &rsp_type, &rsp_len);
4006 sd_card->last_rsp_type = rsp_type;
4109 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG2, 0xFF, rsp_type);
4132 retval = ext_sd_get_rsp(chip, rsp_len, sd_card->rsp, rsp_type);
4203 u8 cmd_idx, rsp_type; local
4249 retval = get_rsp_type(srb, &rsp_type, &rsp_len);
4254 sd_card->last_rsp_type = rsp_type;
4304 retval = ext_sd_send_cmd_get_rsp(chip, cmd_idx, arg, rsp_type,