Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dnpcm750-pwm-fan.c181 u16 fan_cnt; member
407 data->fan_dev[fan_id].fan_cnt = in npcm7xx_fan_compute()
477 data->fan_dev[fan_id].fan_cnt = 0; in npcm7xx_check_cmp()
569 if (data->fan_dev[channel].fan_cnt <= 0) in npcm7xx_read_fan()
570 return data->fan_dev[channel].fan_cnt; in npcm7xx_read_fan()
573 if (data->fan_dev[channel].fan_cnt > 0 && in npcm7xx_read_fan()
576 (data->fan_dev[channel].fan_cnt * in npcm7xx_read_fan()
784 data->fan_dev[ch].fan_cnt = 0; in npcm7xx_fan_init()
885 int ret, fan_cnt; in npcm7xx_en_pwm_fan() local
904 fan_cnt = of_property_count_u8_elems(child, "fan-tach-ch"); in npcm7xx_en_pwm_fan()
[all …]