Lines Matching refs:resp_data_len
620 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local
634 resp_data_len = CDX_DWORD_FIELD(outbuf[0], MCDI_HEADER_DATALEN); in cdx_mcdi_complete_cmd()
636 resp_data_len = 0; in cdx_mcdi_complete_cmd()
639 resp_data_len = in cdx_mcdi_complete_cmd()
643 if ((resp_hdr_len + resp_data_len) > len) { in cdx_mcdi_complete_cmd()
645 len, (resp_hdr_len + resp_data_len)); in cdx_mcdi_complete_cmd()
646 resp_data_len = 0; in cdx_mcdi_complete_cmd()
652 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd()
654 if (error && resp_data_len == 0) { in cdx_mcdi_complete_cmd()
658 if (WARN_ON_ONCE(error && resp_data_len < 4)) in cdx_mcdi_complete_cmd()
659 resp_data_len = 4; in cdx_mcdi_complete_cmd()
665 if (resp_data_len >= MC_CMD_ERR_ARG_OFST + 4) { in cdx_mcdi_complete_cmd()
694 cmd->outlen = resp_data_len; in cdx_mcdi_complete_cmd()