Lines Matching refs:vchnl_msg_resp

207 	struct i40iw_virtchnl_resp_buf *vchnl_msg_resp = (struct i40iw_virtchnl_resp_buf *)resp_buffer;  in vchnl_pf_send_get_ver_resp()  local
210 vchnl_msg_resp->iw_chnl_op_ctx = vchnl_msg->iw_chnl_op_ctx; in vchnl_pf_send_get_ver_resp()
211 vchnl_msg_resp->iw_chnl_buf_len = sizeof(resp_buffer); in vchnl_pf_send_get_ver_resp()
212 vchnl_msg_resp->iw_op_ret_code = I40IW_SUCCESS; in vchnl_pf_send_get_ver_resp()
213 *((u32 *)vchnl_msg_resp->iw_chnl_buf) = I40IW_VCHNL_CHNL_VER_V0; in vchnl_pf_send_get_ver_resp()
233 struct i40iw_virtchnl_resp_buf *vchnl_msg_resp = (struct i40iw_virtchnl_resp_buf *)resp_buffer; in vchnl_pf_send_get_hmc_fcn_resp() local
236 vchnl_msg_resp->iw_chnl_op_ctx = vchnl_msg->iw_chnl_op_ctx; in vchnl_pf_send_get_hmc_fcn_resp()
237 vchnl_msg_resp->iw_chnl_buf_len = sizeof(resp_buffer); in vchnl_pf_send_get_hmc_fcn_resp()
238 vchnl_msg_resp->iw_op_ret_code = I40IW_SUCCESS; in vchnl_pf_send_get_hmc_fcn_resp()
239 *((u16 *)vchnl_msg_resp->iw_chnl_buf) = hmc_fcn; in vchnl_pf_send_get_hmc_fcn_resp()
261 struct i40iw_virtchnl_resp_buf *vchnl_msg_resp = (struct i40iw_virtchnl_resp_buf *)resp_buffer; in vchnl_pf_send_get_pe_stats_resp() local
264 vchnl_msg_resp->iw_chnl_op_ctx = vchnl_msg->iw_chnl_op_ctx; in vchnl_pf_send_get_pe_stats_resp()
265 vchnl_msg_resp->iw_chnl_buf_len = sizeof(resp_buffer); in vchnl_pf_send_get_pe_stats_resp()
266 vchnl_msg_resp->iw_op_ret_code = I40IW_SUCCESS; in vchnl_pf_send_get_pe_stats_resp()
267 *((struct i40iw_dev_hw_stats *)vchnl_msg_resp->iw_chnl_buf) = *hw_stats; in vchnl_pf_send_get_pe_stats_resp()
286 struct i40iw_virtchnl_resp_buf *vchnl_msg_resp = (struct i40iw_virtchnl_resp_buf *)resp_buffer; in vchnl_pf_send_error_resp() local
289 vchnl_msg_resp->iw_chnl_op_ctx = vchnl_msg->iw_chnl_op_ctx; in vchnl_pf_send_error_resp()
290 vchnl_msg_resp->iw_chnl_buf_len = sizeof(resp_buffer); in vchnl_pf_send_error_resp()
291 vchnl_msg_resp->iw_op_ret_code = (u16)op_ret_code; in vchnl_pf_send_error_resp()
566 struct i40iw_virtchnl_resp_buf *vchnl_msg_resp = (struct i40iw_virtchnl_resp_buf *)msg; in i40iw_vchnl_recv_vf() local
569 vchnl_req = (struct i40iw_virtchnl_req *)(uintptr_t)vchnl_msg_resp->iw_chnl_op_ctx; in i40iw_vchnl_recv_vf()
570 vchnl_req->ret_code = (enum i40iw_status_code)vchnl_msg_resp->iw_op_ret_code; in i40iw_vchnl_recv_vf()
571 if (len == (sizeof(*vchnl_msg_resp) + vchnl_req->parm_len - 1)) { in i40iw_vchnl_recv_vf()
573 memcpy(vchnl_req->parm, vchnl_msg_resp->iw_chnl_buf, vchnl_req->parm_len); in i40iw_vchnl_recv_vf()
580 len, (u32)(sizeof(*vchnl_msg_resp) + vchnl_req->parm_len - 1)); in i40iw_vchnl_recv_vf()