Home
last modified time | relevance | path

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

/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 …]