Lines Matching refs:fan
23 static bool fan_installed(struct device *dev, int fan)
30 return !!(val & BIT(fan));
33 static long fan_failed(struct device *dev, int fan)
40 return !!(val & BIT(fan));
43 static long fan_enabled(struct device *dev, int fan)
50 * reported for the PWM will be incorrect. Report fan as
55 return !!((val & BIT(POWER_BIT)) && fan_installed(dev, fan));
172 HWMON_CHANNEL_INFO(fan,
237 { .compatible = "hpe,gxp-fan-ctrl", },
245 .name = "gxp-fan-ctrl",
252 MODULE_DESCRIPTION("HPE GXP fan controller");