Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dultra45_env.c96 #define FAN_DATA_VALID(x) ((x) && (x) != FAN_PERIOD_INVALID) macro
108 if (FAN_DATA_VALID(period)) in show_fan_speed()
H A Dadt7470.c137 #define FAN_DATA_VALID(x) ((x) && (x) != FAN_PERIOD_INVALID) macro
633 if (FAN_DATA_VALID(data->fan[channel])) in adt7470_fan_read()
639 if (FAN_DATA_VALID(data->fan_min[channel])) in adt7470_fan_read()
645 if (FAN_DATA_VALID(data->fan_max[channel])) in adt7470_fan_read()
H A Dadt7462.c186 #define FAN_DATA_VALID(x) ((x) && (x) != FAN_PERIOD_INVALID) macro
1006 !FAN_DATA_VALID(temp)) in fan_min_show()
1045 !FAN_DATA_VALID(data->fan[attr->index])) in fan_show()