Home
last modified time | relevance | path

Searched refs:fan_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/hwmon/
H A Dnpcm750-pwm-fan.c385 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()
395 data->fan_dev[fan_id].fan_cnt_tmp += in npcm7xx_fan_compute()
398 data->fan_dev[fan_id].fan_st_flg++; in npcm7xx_fan_compute()
402 data->fan_dev[fan_id].fan_cnt_tmp += in npcm7xx_fan_compute()
406 data->fan_dev[fan_id].fan_cnt = in npcm7xx_fan_compute()
407 data->fan_dev[fan_id].fan_cnt_tmp / in npcm7xx_fan_compute()
476 data->fan_dev[fan_id].fan_cnt = 0; in npcm7xx_check_cmp()
575 (data->fan_dev[channel].fan_cnt * in npcm7xx_read_fan()
782 data->fan_dev[ch].fan_pls_per_rev = in npcm7xx_fan_init()
[all …]
/linux-6.15/drivers/platform/x86/
H A Dasus-wmi.c3216 static int fan_curve_get_factory_default(struct asus_wmi *asus, u32 fan_dev) in fan_curve_get_factory_default() argument
3231 err = asus_wmi_evaluate_method_buf(asus->dsts_id, fan_dev, mode, buf, in fan_curve_get_factory_default()
3234 pr_warn("%s (0x%08x) failed: %d\n", __func__, fan_dev, err); in fan_curve_get_factory_default()
3239 if (fan_dev == ASUS_WMI_DEVID_GPU_FAN_CURVE) in fan_curve_get_factory_default()
3242 if (fan_dev == ASUS_WMI_DEVID_MID_FAN_CURVE) in fan_curve_get_factory_default()
3246 curves->device_id = fan_dev; in fan_curve_get_factory_default()
3254 u32 fan_dev) in fan_curve_check_present() argument
3263 err = fan_curve_get_factory_default(asus, fan_dev); in fan_curve_check_present()