Searched refs:fan_status (Results 1 – 6 of 6) sorted by relevance
203 u8 fan_status[3]; /* Register value */ member264 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in show_fan_input()272 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in show_fan_min()280 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in show_fan_div()288 FAN_STATUS_FROM_REG(data->fan_status[attr->index])); in show_fan_status()305 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in set_fan_min()309 && (data->fan_status[attr->index] & 0x60) != 0x60) { in set_fan_min()312 data->fan_status[attr->index] += 0x20; in set_fan_min()322 data->fan_status[attr->index] & 0xF9); in set_fan_min()333 static struct sensor_device_attribute fan_status[] = { variable[all …]
295 u8 fan_status[7]; /* fan status */ member496 if (data->fan_status[index] & FSCHMD_FAN_ALARM) in show_fan_alarm()508 if (data->fan_status[index] & FSCHMD_FAN_NOT_PRESENT) in show_fan_fault()1199 data->fan_status[i / 5] = in fschmd_probe()1203 if (data->fan_status[i / 5] & FSCHMD_FAN_DISABLED) in fschmd_probe()1351 data->fan_status[i] = i2c_smbus_read_byte_data(client, in fschmd_update_device()1363 if ((data->fan_status[i] & FSCHMD_FAN_ALARM) && in fschmd_update_device()1367 data->fan_status[i]); in fschmd_update_device()
64 u8 fan_status[8]; /* register values */ member191 data->fan_status[nr] = inb(iobase + PC87427_REG_FAN_STATUS); in pc87427_readall_fan()193 outb(data->fan_status[nr], iobase + PC87427_REG_FAN_STATUS); in pc87427_readall_fan()411 return sprintf(buf, "%d\n", !!(data->fan_status[nr] in show_fan_alarm()421 return sprintf(buf, "%d\n", !!(data->fan_status[nr] in show_fan_fault()
253 u8 fan_status; member1277 data->fan_status = f71882fg_read8(data, in f71882fg_update_device()1406 if (data->fan_status & (1 << nr)) in show_fan_alarm()
202 u8 fan_status; member800 result |= (b1.fan_status & 0x0f) << 16; in LM93_ALARMS_FROM_REG()
7317 static void fan_quirk1_handle(u8 *fan_status) in fan_quirk1_handle() argument7320 if (*fan_status != fan_control_initial_status) { in fan_quirk1_handle()7328 *fan_status = TP_EC_FAN_AUTO; in fan_quirk1_handle()