Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dnpcm750-pwm-fan.c179 u8 fan_st_flg; member
280 if (data->fan_dev[fan_id].fan_st_flg != FAN_DISABLE) { in npcm7xx_fan_start_capture()
284 data->fan_dev[fan_id].fan_st_flg = FAN_INIT; in npcm7xx_fan_start_capture()
384 if (data->fan_dev[fan_id].fan_st_flg == FAN_INIT) { in npcm7xx_fan_compute()
386 data->fan_dev[fan_id].fan_st_flg = in npcm7xx_fan_compute()
391 } else if (data->fan_dev[fan_id].fan_st_flg < FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
399 data->fan_dev[fan_id].fan_st_flg++; in npcm7xx_fan_compute()
402 if (data->fan_dev[fan_id].fan_st_flg == FAN_ENOUGH_SAMPLE) { in npcm7xx_fan_compute()
411 data->fan_dev[fan_id].fan_st_flg = FAN_INIT; in npcm7xx_fan_compute()
781 data->fan_dev[ch].fan_st_flg = FAN_DISABLE; in npcm7xx_fan_init()
[all …]