Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/platform/x86/amd/pmf/
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()
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()
Dpmf.h191 u32 fan_id; member
212 unsigned long fan_id; member
377 u32 fan_id; member
Dsps.c89 config_store.prop[i][j].fan_id = output.prop[idx].fan_id; in amd_pmf_load_defaults_sps()