Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dg760a.c49 u8 fan_sta; /* bit 0: set when actual fan speed more than 20% member
95 data->fan_sta = g760a_read_value(client, G760A_REG_FAN_STA); in g760a_update_client()
113 if (!(data->fan_sta & G760A_REG_FAN_STA_RPM_LOW)) in fan1_input_show()
125 int fan_alarm = (data->fan_sta & G760A_REG_FAN_STA_RPM_OFF) ? 1 : 0; in fan1_alarm_show()
H A Dg762.c132 u8 fan_sta; /* bit 0: set when actual fan speed is more than member
219 data->fan_sta = ret; in g762_update_client()
738 if (data->fan_sta & G762_REG_FAN_STA_OOC) { in fan1_input_show()
976 return sprintf(buf, "%u\n", !!(data->fan_sta & G762_REG_FAN_STA_FAIL)); in fan1_fault_show()
991 return sprintf(buf, "%u\n", !(data->fan_sta & G762_REG_FAN_STA_OOC)); in fan1_alarm_show()