Searched refs:ut_cmd (Results 1 – 2 of 2) sorted by relevance
6734 struct wmi_unit_test_cmd ut_cmd, in ath12k_wmi_send_unit_test_cmd() argument6747 arg_len = sizeof(u32) * le32_to_cpu(ut_cmd.num_args); in ath12k_wmi_send_unit_test_cmd()6748 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath12k_wmi_send_unit_test_cmd()6756 sizeof(ut_cmd)); in ath12k_wmi_send_unit_test_cmd()6758 cmd->vdev_id = ut_cmd.vdev_id; in ath12k_wmi_send_unit_test_cmd()6759 cmd->module_id = ut_cmd.module_id; in ath12k_wmi_send_unit_test_cmd()6760 cmd->num_args = ut_cmd.num_args; in ath12k_wmi_send_unit_test_cmd()6761 cmd->diag_token = ut_cmd.diag_token; in ath12k_wmi_send_unit_test_cmd()6763 ptr = skb->data + sizeof(ut_cmd); in ath12k_wmi_send_unit_test_cmd()6771 for (i = 0; i < le32_to_cpu(ut_cmd.num_args); i++) in ath12k_wmi_send_unit_test_cmd()
8815 struct wmi_unit_test_cmd ut_cmd, in ath11k_wmi_send_unit_test_cmd() argument8828 arg_len = sizeof(u32) * ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()8829 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath11k_wmi_send_unit_test_cmd()8837 FIELD_PREP(WMI_TLV_LEN, sizeof(ut_cmd) - TLV_HDR_SIZE); in ath11k_wmi_send_unit_test_cmd()8839 cmd->vdev_id = ut_cmd.vdev_id; in ath11k_wmi_send_unit_test_cmd()8840 cmd->module_id = ut_cmd.module_id; in ath11k_wmi_send_unit_test_cmd()8841 cmd->num_args = ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()8842 cmd->diag_token = ut_cmd.diag_token; in ath11k_wmi_send_unit_test_cmd()8844 ptr = skb->data + sizeof(ut_cmd); in ath11k_wmi_send_unit_test_cmd()8853 for (i = 0; i < ut_cmd.num_args; i++) in ath11k_wmi_send_unit_test_cmd()