Searched refs:fan_ch (Results 1 – 2 of 2) sorted by relevance
31 const struct gsc_hwmon_channel *fan_ch[GSC_HWMON_MAX_FAN_CH]; member163 ch = hwmon->fan_ch[channel]; in gsc_hwmon_read()225 *buf = hwmon->fan_ch[channel]->name; in gsc_hwmon_read_string()356 hwmon->fan_ch[i_fan] = ch; in gsc_hwmon_probe()
883 u8 *fan_ch; in npcm7xx_en_pwm_fan() local910 fan_ch = devm_kcalloc(dev, fan_cnt, sizeof(*fan_ch), GFP_KERNEL); in npcm7xx_en_pwm_fan()911 if (!fan_ch) in npcm7xx_en_pwm_fan()914 ret = of_property_read_u8_array(child, "fan-tach-ch", fan_ch, fan_cnt); in npcm7xx_en_pwm_fan()919 index = fan_ch[ch]; in npcm7xx_en_pwm_fan()