Lines Matching refs:resp_data_len
624 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local
638 resp_data_len = CDX_DWORD_FIELD(outbuf[0], MCDI_HEADER_DATALEN); in cdx_mcdi_complete_cmd()
640 resp_data_len = 0; in cdx_mcdi_complete_cmd()
643 resp_data_len = in cdx_mcdi_complete_cmd()
647 if ((resp_hdr_len + resp_data_len) > len) { in cdx_mcdi_complete_cmd()
649 len, (resp_hdr_len + resp_data_len)); in cdx_mcdi_complete_cmd()
650 resp_data_len = 0; in cdx_mcdi_complete_cmd()
656 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd()
658 if (error && resp_data_len == 0) { in cdx_mcdi_complete_cmd()
662 if (WARN_ON_ONCE(error && resp_data_len < 4)) in cdx_mcdi_complete_cmd()
663 resp_data_len = 4; in cdx_mcdi_complete_cmd()
669 if (resp_data_len >= MC_CMD_ERR_ARG_OFST + 4) { in cdx_mcdi_complete_cmd()
698 cmd->outlen = resp_data_len; in cdx_mcdi_complete_cmd()