Home
last modified time | relevance | path

Searched refs:fan_id (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/hwmon/
H A Dnpcm750-pwm-fan.c271 u8 fan_id; in npcm7xx_fan_start_capture() local
276 fan_id = NPCM7XX_FAN_INPUT(fan, cmp); in npcm7xx_fan_start_capture()
279 if (data->fan_dev[fan_id].fan_st_flg != FAN_DISABLE) { in npcm7xx_fan_start_capture()
283 data->fan_dev[fan_id].fan_st_flg = FAN_INIT; in npcm7xx_fan_start_capture()
368 u8 fan, u8 cmp, u8 fan_id, u8 flag_int, in npcm7xx_fan_compute() argument
383 if (data->fan_dev[fan_id].fan_st_flg == FAN_INIT) { in npcm7xx_fan_compute()
385 data->fan_dev[fan_id].fan_st_flg = in npcm7xx_fan_compute()
389 data->fan_dev[fan_id].fan_cnt_tmp = 0; in npcm7xx_fan_compute()
390 } else if (data->fan_dev[fan_id].fan_st_flg < FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
395 data->fan_dev[fan_id].fan_cnt_tmp += in npcm7xx_fan_compute()
[all …]
/linux/drivers/platform/x86/amd/pmf/
H A Dcnqf.c63 pr_debug("fan_id_%s: %u\n", state_as_str_cnqf(i), data->ps[i].fan_id); in amd_pmf_cnqf_dump_defaults()
92 config_store.mode_set[src][idx].fan_control.fan_id); in amd_pmf_set_cnqf()
287 ms->fan_control.fan_id = out->ps[APMF_CNQF_QUIET].fan_id; in amd_pmf_update_mode_set()
301 ms->fan_control.fan_id = out->ps[APMF_CNQF_BALANCE].fan_id; in amd_pmf_update_mode_set()
315 ms->fan_control.fan_id = out->ps[APMF_CNQF_PERFORMANCE].fan_id; in amd_pmf_update_mode_set()
329 ms->fan_control.fan_id = out->ps[APMF_CNQF_TURBO].fan_id; in amd_pmf_update_mode_set()
368 if (config_store.mode_set[i][j].fan_control.fan_id == FAN_INDEX_AUTO) in amd_pmf_load_defaults_cnqf()
H A Dauto-mode.c100 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()
129 config_store.mode_set[idx].fan_control.fan_id); in amd_pmf_set_automode()
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()
H A Dpmf.h384 u32 fan_id; member
421 unsigned long fan_id; member
586 u32 fan_id; member
H A Dsps.c186 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()