Lines Matching refs:fan_st_flg
179 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()
919 data->fan_dev[index].fan_st_flg = FAN_INIT; in npcm7xx_en_pwm_fan()