Searched refs:fan_st_flg (Results 1 – 1 of 1) sorted by relevance
179 u8 fan_st_flg; member280 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 …]