Lines Matching refs:resp_data_len
658 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local
672 resp_data_len = CDX_DWORD_FIELD(outbuf[0], MCDI_HEADER_DATALEN); in cdx_mcdi_complete_cmd()
674 resp_data_len = 0; in cdx_mcdi_complete_cmd()
677 resp_data_len = in cdx_mcdi_complete_cmd()
681 if ((resp_hdr_len + resp_data_len) > len) { in cdx_mcdi_complete_cmd()
683 len, (resp_hdr_len + resp_data_len)); in cdx_mcdi_complete_cmd()
684 resp_data_len = 0; in cdx_mcdi_complete_cmd()
690 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd()
692 if (error && resp_data_len == 0) { in cdx_mcdi_complete_cmd()
696 if (WARN_ON_ONCE(error && resp_data_len < 4)) in cdx_mcdi_complete_cmd()
697 resp_data_len = 4; in cdx_mcdi_complete_cmd()
703 if (resp_data_len >= MC_CMD_ERR_ARG_OFST + 4) { in cdx_mcdi_complete_cmd()
732 cmd->outlen = resp_data_len; in cdx_mcdi_complete_cmd()