Searched refs:lvl_conf (Results 1 – 2 of 2) sorted by relevance
3472 struct ath12k_wmi_therm_throt_level_config_param *lvl_conf; in ath12k_wmi_send_thermal_mitigation_cmd() local3479 len = sizeof(*cmd) + TLV_HDR_SIZE + (arg->num_levels * sizeof(*lvl_conf)); in ath12k_wmi_send_thermal_mitigation_cmd()3496 arg->num_levels * sizeof(*lvl_conf)); in ath12k_wmi_send_thermal_mitigation_cmd()3498 lvl_conf = (struct ath12k_wmi_therm_throt_level_config_param *)tlv->value; in ath12k_wmi_send_thermal_mitigation_cmd()3501 lvl_conf->tlv_header = in ath12k_wmi_send_thermal_mitigation_cmd()3503 sizeof(*lvl_conf)); in ath12k_wmi_send_thermal_mitigation_cmd()3505 lvl_conf->temp_lwm = a_cpu_to_sle32(arg->levelconf[i].tmplwm); in ath12k_wmi_send_thermal_mitigation_cmd()3506 lvl_conf->temp_hwm = a_cpu_to_sle32(arg->levelconf[i].tmphwm); in ath12k_wmi_send_thermal_mitigation_cmd()3507 lvl_conf->dc_off_percent = cpu_to_le32(arg->levelconf[i].dcoffpercent); in ath12k_wmi_send_thermal_mitigation_cmd()3511 lvl_conf->pout_reduction_25db = in ath12k_wmi_send_thermal_mitigation_cmd()[all …]
3089 struct wmi_therm_throt_level_config_info *lvl_conf; in ath11k_wmi_send_thermal_mitigation_param_cmd() local3118 lvl_conf = (struct wmi_therm_throt_level_config_info *)(skb->data + in ath11k_wmi_send_thermal_mitigation_param_cmd()3122 lvl_conf->tlv_header = in ath11k_wmi_send_thermal_mitigation_param_cmd()3124 FIELD_PREP(WMI_TLV_LEN, sizeof(*lvl_conf) - TLV_HDR_SIZE); in ath11k_wmi_send_thermal_mitigation_param_cmd()3126 lvl_conf->temp_lwm = param->levelconf[i].tmplwm; in ath11k_wmi_send_thermal_mitigation_param_cmd()3127 lvl_conf->temp_hwm = param->levelconf[i].tmphwm; in ath11k_wmi_send_thermal_mitigation_param_cmd()3128 lvl_conf->dc_off_percent = param->levelconf[i].dcoffpercent; in ath11k_wmi_send_thermal_mitigation_param_cmd()3129 lvl_conf->prio = param->levelconf[i].priority; in ath11k_wmi_send_thermal_mitigation_param_cmd()3130 lvl_conf++; in ath11k_wmi_send_thermal_mitigation_param_cmd()