Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwmon/
Dnpcm750-pwm-fan.c175 u8 fan_st_flg; member
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()
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()
386 } else if (data->fan_dev[fan_id].fan_st_flg < FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
394 data->fan_dev[fan_id].fan_st_flg++; in npcm7xx_fan_compute()
397 if (data->fan_dev[fan_id].fan_st_flg == FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
406 data->fan_dev[fan_id].fan_st_flg = FAN_INIT; in npcm7xx_fan_compute()
764 data->fan_dev[ch].fan_st_flg = FAN_DISABLE; in npcm7xx_fan_init()
[all …]