Lines Matching refs:mode_set

36 	pr_debug("pfloor_perf: %u mW\n", data->mode_set[AUTO_PERFORMANCE].power_floor);  in amd_pmf_dump_auto_mode_defaults()
37 pr_debug("pfloor_balanced: %u mW\n", data->mode_set[AUTO_BALANCE].power_floor); in amd_pmf_dump_auto_mode_defaults()
38 pr_debug("pfloor_quiet: %u mW\n", data->mode_set[AUTO_QUIET].power_floor); in amd_pmf_dump_auto_mode_defaults()
51 its_mode = &data->mode_set[AUTO_PERFORMANCE_ON_LAP]; in amd_pmf_dump_auto_mode_defaults()
58 its_mode = &data->mode_set[AUTO_PERFORMANCE]; in amd_pmf_dump_auto_mode_defaults()
63 its_mode = &data->mode_set[AUTO_BALANCE]; in amd_pmf_dump_auto_mode_defaults()
68 its_mode = &data->mode_set[AUTO_QUIET]; in amd_pmf_dump_auto_mode_defaults()
74 its_mode = &data->mode_set[AUTO_PERFORMANCE_ON_LAP]; in amd_pmf_dump_auto_mode_defaults()
80 its_mode = &data->mode_set[AUTO_PERFORMANCE]; in amd_pmf_dump_auto_mode_defaults()
86 its_mode = &data->mode_set[AUTO_BALANCE]; in amd_pmf_dump_auto_mode_defaults()
92 its_mode = &data->mode_set[AUTO_QUIET]; in amd_pmf_dump_auto_mode_defaults()
100 data->mode_set[AUTO_PERFORMANCE].fan_control.fan_id); in amd_pmf_dump_auto_mode_defaults()
102 data->mode_set[AUTO_BALANCE].fan_control.fan_id); in amd_pmf_dump_auto_mode_defaults()
104 data->mode_set[AUTO_QUIET].fan_control.fan_id); in amd_pmf_dump_auto_mode_defaults()
115 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()
194 config_store.mode_set[i].power_floor, in amd_pmf_trans_automode()
246 config_store.mode_set[AUTO_BALANCE].power_floor - in amd_pmf_get_power_threshold()
250 config_store.mode_set[AUTO_BALANCE].power_floor - in amd_pmf_get_power_threshold()
254 config_store.mode_set[AUTO_QUIET].power_floor - in amd_pmf_get_power_threshold()
258 config_store.mode_set[AUTO_PERFORMANCE].power_floor - in amd_pmf_get_power_threshold()
264 config_store.mode_set[AUTO_BALANCE].power_floor, in amd_pmf_get_power_threshold()
269 config_store.mode_set[AUTO_BALANCE].power_floor, in amd_pmf_get_power_threshold()
275 config_store.mode_set[AUTO_QUIET].power_floor, in amd_pmf_get_power_threshold()
281 config_store.mode_set[AUTO_PERFORMANCE].power_floor, in amd_pmf_get_power_threshold()
320 config_store.mode_set[AUTO_QUIET].power_floor = output.pfloor_quiet; in amd_pmf_load_defaults_auto_mode()
321 config_store.mode_set[AUTO_BALANCE].power_floor = output.pfloor_balanced; in amd_pmf_load_defaults_auto_mode()
322 config_store.mode_set[AUTO_PERFORMANCE].power_floor = output.pfloor_perf; in amd_pmf_load_defaults_auto_mode()
323 config_store.mode_set[AUTO_PERFORMANCE_ON_LAP].power_floor = output.pfloor_perf; in amd_pmf_load_defaults_auto_mode()
339 pwr_ctrl = &config_store.mode_set[AUTO_QUIET].power_control; in amd_pmf_load_defaults_auto_mode()
348 pwr_ctrl = &config_store.mode_set[AUTO_BALANCE].power_control; in amd_pmf_load_defaults_auto_mode()
357 pwr_ctrl = &config_store.mode_set[AUTO_PERFORMANCE].power_control; in amd_pmf_load_defaults_auto_mode()
366 pwr_ctrl = &config_store.mode_set[AUTO_PERFORMANCE_ON_LAP].power_control; in amd_pmf_load_defaults_auto_mode()
376 config_store.mode_set[AUTO_QUIET].fan_control.fan_id = output.fan_id_quiet; in amd_pmf_load_defaults_auto_mode()
377 config_store.mode_set[AUTO_BALANCE].fan_control.fan_id = output.fan_id_balanced; in amd_pmf_load_defaults_auto_mode()
378 config_store.mode_set[AUTO_PERFORMANCE].fan_control.fan_id = output.fan_id_perf; in amd_pmf_load_defaults_auto_mode()
379 config_store.mode_set[AUTO_PERFORMANCE_ON_LAP].fan_control.fan_id = in amd_pmf_load_defaults_auto_mode()
397 if (config_store.mode_set[i].fan_control.fan_id == FAN_INDEX_AUTO) in amd_pmf_load_defaults_auto_mode()
398 config_store.mode_set[i].fan_control.manual = false; in amd_pmf_load_defaults_auto_mode()
400 config_store.mode_set[i].fan_control.manual = true; in amd_pmf_load_defaults_auto_mode()