Lines Matching refs:resp_cp
473 struct iwl_mcc_update_resp *resp_cp; in iwl_mvm_update_mcc() local
511 resp_cp = kmemdup(mcc_resp, resp_len, GFP_KERNEL); in iwl_mvm_update_mcc()
512 if (!resp_cp) { in iwl_mvm_update_mcc()
513 resp_cp = ERR_PTR(-ENOMEM); in iwl_mvm_update_mcc()
522 resp_cp = kzalloc(resp_len, GFP_KERNEL); in iwl_mvm_update_mcc()
523 if (!resp_cp) { in iwl_mvm_update_mcc()
524 resp_cp = ERR_PTR(-ENOMEM); in iwl_mvm_update_mcc()
528 resp_cp->status = mcc_resp_v1->status; in iwl_mvm_update_mcc()
529 resp_cp->mcc = mcc_resp_v1->mcc; in iwl_mvm_update_mcc()
530 resp_cp->cap = mcc_resp_v1->cap; in iwl_mvm_update_mcc()
531 resp_cp->source_id = mcc_resp_v1->source_id; in iwl_mvm_update_mcc()
532 resp_cp->n_channels = mcc_resp_v1->n_channels; in iwl_mvm_update_mcc()
533 memcpy(resp_cp->channels, mcc_resp_v1->channels, in iwl_mvm_update_mcc()
537 status = le32_to_cpu(resp_cp->status); in iwl_mvm_update_mcc()
539 mcc = le16_to_cpu(resp_cp->mcc); in iwl_mvm_update_mcc()
544 resp_cp->mcc = cpu_to_le16(mcc); in iwl_mvm_update_mcc()
554 return resp_cp; in iwl_mvm_update_mcc()