Searched refs:config_store (Results 1 – 4 of 4) sorted by relevance
15 static struct auto_mode_mode_config config_store; variable115 struct power_table_control *pwr_ctrl = &config_store.mode_set[idx].power_control; in amd_pmf_set_automode()128 apmf_update_fan_idx(dev, config_store.mode_set[idx].fan_control.manual, in amd_pmf_set_automode()129 config_store.mode_set[idx].fan_control.fan_id); in amd_pmf_set_automode()160 if ((config_store.transition[i].shifting_up && avg_power >= in amd_pmf_trans_automode()161 config_store.transition[i].power_threshold) || in amd_pmf_trans_automode()162 (!config_store.transition[i].shifting_up && avg_power <= in amd_pmf_trans_automode()163 config_store.transition[i].power_threshold)) { in amd_pmf_trans_automode()164 if (config_store.transition[i].timer < in amd_pmf_trans_automode()165 config_store.transition[i].time_constant) in amd_pmf_trans_automode()[all …]
15 static struct cnqf_config config_store; variable77 pc = &config_store.mode_set[src][idx].power_control; in amd_pmf_set_cnqf()91 config_store.mode_set[src][idx].fan_control.manual, in amd_pmf_set_cnqf()92 config_store.mode_set[src][idx].fan_control.fan_id); in amd_pmf_set_cnqf()102 tp = &config_store.trans_param[src][CNQF_TRANSITION_TO_QUIET]; in amd_pmf_update_power_threshold()103 ts = &config_store.mode_set[src][CNQF_MODE_BALANCE]; in amd_pmf_update_power_threshold()106 tp = &config_store.trans_param[src][CNQF_TRANSITION_TO_TURBO]; in amd_pmf_update_power_threshold()107 ts = &config_store.mode_set[src][CNQF_MODE_PERFORMANCE]; in amd_pmf_update_power_threshold()110 tp = &config_store.trans_param[src][CNQF_TRANSITION_FROM_BALANCE_TO_PERFORMANCE]; in amd_pmf_update_power_threshold()111 ts = &config_store.mode_set[src][CNQF_MODE_BALANCE]; in amd_pmf_update_power_threshold()[all …]
14 static struct amd_pmf_static_slider_granular config_store; variable171 memset(&config_store, 0, sizeof(config_store)); in amd_pmf_load_defaults_sps()176 config_store.prop[i][j].spl = output.prop[idx].spl; in amd_pmf_load_defaults_sps()177 config_store.prop[i][j].sppt = output.prop[idx].sppt; in amd_pmf_load_defaults_sps()178 config_store.prop[i][j].sppt_apu_only = in amd_pmf_load_defaults_sps()180 config_store.prop[i][j].fppt = output.prop[idx].fppt; in amd_pmf_load_defaults_sps()181 config_store.prop[i][j].stt_min = output.prop[idx].stt_min; in amd_pmf_load_defaults_sps()182 config_store.prop[i][j].stt_skin_temp[STT_TEMP_APU] = in amd_pmf_load_defaults_sps()184 config_store.prop[i][j].stt_skin_temp[STT_TEMP_HS2] = in amd_pmf_load_defaults_sps()186 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()[all …]
150 static ssize_t config_store(struct device *dev, in config_store() function