Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Dnpcm750-pwm-fan.c267 u8 fan_id; in npcm7xx_fan_start_capture() local
272 fan_id = NPCM7XX_FAN_INPUT(fan, cmp); in npcm7xx_fan_start_capture()
275 if (data->fan_dev[fan_id].fan_st_flg != FAN_DISABLE) { in npcm7xx_fan_start_capture()
279 data->fan_dev[fan_id].fan_st_flg = FAN_INIT; in npcm7xx_fan_start_capture()
364 u8 fan, u8 cmp, u8 fan_id, u8 flag_int, in npcm7xx_fan_compute() argument
379 if (data->fan_dev[fan_id].fan_st_flg == FAN_INIT) { in npcm7xx_fan_compute()
381 data->fan_dev[fan_id].fan_st_flg = in npcm7xx_fan_compute()
385 data->fan_dev[fan_id].fan_cnt_tmp = 0; in npcm7xx_fan_compute()
386 } else if (data->fan_dev[fan_id].fan_st_flg < FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
391 data->fan_dev[fan_id].fan_cnt_tmp += in npcm7xx_fan_compute()
[all …]
/linux-6.1.9/drivers/platform/x86/amd/pmf/
Dcnqf.c36 config_store.mode_set[src][idx].fan_control.fan_id); in amd_pmf_set_cnqf()
212 ms->fan_control.fan_id = out.ps[APMF_CNQF_QUIET].fan_id; in amd_pmf_update_mode_set()
226 ms->fan_control.fan_id = out.ps[APMF_CNQF_BALANCE].fan_id; in amd_pmf_update_mode_set()
240 ms->fan_control.fan_id = out.ps[APMF_CNQF_PERFORMANCE].fan_id; in amd_pmf_update_mode_set()
254 ms->fan_control.fan_id = out.ps[APMF_CNQF_TURBO].fan_id; in amd_pmf_update_mode_set()
292 if (config_store.mode_set[i][j].fan_control.fan_id == FAN_INDEX_AUTO) in amd_pmf_load_defaults_cnqf()
Dauto-mode.c35 config_store.mode_set[idx].fan_control.fan_id); in amd_pmf_set_automode()
235 config_store.mode_set[AUTO_QUIET].fan_control.fan_id = output.fan_id_quiet; in amd_pmf_load_defaults_auto_mode()
236 config_store.mode_set[AUTO_BALANCE].fan_control.fan_id = output.fan_id_balanced; in amd_pmf_load_defaults_auto_mode()
237 config_store.mode_set[AUTO_PERFORMANCE].fan_control.fan_id = output.fan_id_perf; in amd_pmf_load_defaults_auto_mode()
238 config_store.mode_set[AUTO_PERFORMANCE_ON_LAP].fan_control.fan_id = in amd_pmf_load_defaults_auto_mode()
256 if (config_store.mode_set[i].fan_control.fan_id == FAN_INDEX_AUTO) in amd_pmf_load_defaults_auto_mode()
Dpmf.h181 u32 fan_id; member
197 unsigned long fan_id; member
362 u32 fan_id; member
Dsps.c35 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()