Searched refs:fan_dev (Results 1 – 2 of 2) sorted by relevance
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()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 …]
3216 static int fan_curve_get_factory_default(struct asus_wmi *asus, u32 fan_dev) in fan_curve_get_factory_default() argument3231 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() argument3263 err = fan_curve_get_factory_default(asus, fan_dev); in fan_curve_check_present()