Home
last modified time | relevance | path

Searched refs:config_store (Results 1 – 4 of 4) sorted by relevance

/drivers/platform/x86/amd/pmf/
Dauto-mode.c15 static struct auto_mode_mode_config config_store; variable
21 struct power_table_control *pwr_ctrl = &config_store.mode_set[idx].power_control; in amd_pmf_set_automode()
34 apmf_update_fan_idx(dev, config_store.mode_set[idx].fan_control.manual, in amd_pmf_set_automode()
35 config_store.mode_set[idx].fan_control.fan_id); in amd_pmf_set_automode()
66 if ((config_store.transition[i].shifting_up && avg_power >= in amd_pmf_trans_automode()
67 config_store.transition[i].power_threshold) || in amd_pmf_trans_automode()
68 (!config_store.transition[i].shifting_up && avg_power <= in amd_pmf_trans_automode()
69 config_store.transition[i].power_threshold)) { in amd_pmf_trans_automode()
70 if (config_store.transition[i].timer < in amd_pmf_trans_automode()
71 config_store.transition[i].time_constant) in amd_pmf_trans_automode()
[all …]
Dcnqf.c14 static struct cnqf_config config_store; variable
21 pc = &config_store.mode_set[src][idx].power_control; in amd_pmf_set_cnqf()
35 config_store.mode_set[src][idx].fan_control.manual, in amd_pmf_set_cnqf()
36 config_store.mode_set[src][idx].fan_control.fan_id); in amd_pmf_set_cnqf()
46 tp = &config_store.trans_param[src][CNQF_TRANSITION_TO_QUIET]; in amd_pmf_update_power_threshold()
47 ts = &config_store.mode_set[src][CNQF_MODE_BALANCE]; in amd_pmf_update_power_threshold()
50 tp = &config_store.trans_param[src][CNQF_TRANSITION_TO_TURBO]; in amd_pmf_update_power_threshold()
51 ts = &config_store.mode_set[src][CNQF_MODE_PERFORMANCE]; in amd_pmf_update_power_threshold()
54 tp = &config_store.trans_param[src][CNQF_TRANSITION_FROM_BALANCE_TO_PERFORMANCE]; in amd_pmf_update_power_threshold()
55 ts = &config_store.mode_set[src][CNQF_MODE_BALANCE]; in amd_pmf_update_power_threshold()
[all …]
Dsps.c13 static struct amd_pmf_static_slider_granular config_store; variable
20 memset(&config_store, 0, sizeof(config_store)); in amd_pmf_load_defaults_sps()
25 config_store.prop[i][j].spl = output.prop[idx].spl; in amd_pmf_load_defaults_sps()
26 config_store.prop[i][j].sppt = output.prop[idx].sppt; in amd_pmf_load_defaults_sps()
27 config_store.prop[i][j].sppt_apu_only = in amd_pmf_load_defaults_sps()
29 config_store.prop[i][j].fppt = output.prop[idx].fppt; in amd_pmf_load_defaults_sps()
30 config_store.prop[i][j].stt_min = output.prop[idx].stt_min; in amd_pmf_load_defaults_sps()
31 config_store.prop[i][j].stt_skin_temp[STT_TEMP_APU] = in amd_pmf_load_defaults_sps()
33 config_store.prop[i][j].stt_skin_temp[STT_TEMP_HS2] = in amd_pmf_load_defaults_sps()
35 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()
[all …]
/drivers/s390/crypto/
Dap_card.c151 static ssize_t config_store(struct device *dev, in config_store() function