Searched refs:fan_status (Results 1 – 6 of 6) sorted by relevance
202 u8 fan_status[3]; /* Register value */ member259 if ((data->fan_status[nr] & 0x04) /* overflow flag */ in pc87360_autodiv()261 if ((data->fan_status[nr] & 0x60) != 0x60) { in pc87360_autodiv()262 data->fan_status[nr] += 0x20; in pc87360_autodiv()267 FAN_DIV_FROM_REG(data->fan_status[nr]), nr + 1); in pc87360_autodiv()273 && (data->fan_status[nr] & 0x60) != 0x00) { in pc87360_autodiv()274 data->fan_status[nr] -= 0x20; in pc87360_autodiv()279 FAN_DIV_FROM_REG(data->fan_status[nr]), in pc87360_autodiv()305 data->fan_status[i] = in pc87360_update_device()318 data->fan_status[i]); in pc87360_update_device()[all …]
281 u8 fan_status[7]; /* fan status */ member485 if (data->fan_status[index] & FSCHMD_FAN_ALARM) in fan_alarm_show()497 if (data->fan_status[index] & FSCHMD_FAN_NOT_PRESENT) in fan_fault_show()1183 data->fan_status[i / 5] = in fschmd_probe()1187 if (data->fan_status[i / 5] & FSCHMD_FAN_DISABLED) in fschmd_probe()1333 data->fan_status[i] = i2c_smbus_read_byte_data(client, in fschmd_update_device()1345 if ((data->fan_status[i] & FSCHMD_FAN_ALARM) && in fschmd_update_device()1349 data->fan_status[i]); in fschmd_update_device()
56 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 fan_alarm_show()421 return sprintf(buf, "%d\n", !!(data->fan_status[nr] in fan_fault_show()
264 u8 fan_status; member465 data->fan_status = f71882fg_read8(data, in f71882fg_update_device()1082 if (data->fan_status & (1 << nr)) in show_fan_alarm()
190 u8 fan_status; member788 result |= (b1.fan_status & 0x0f) << 16; in LM93_ALARMS_FROM_REG()
8053 static void fan_quirk1_handle(u8 *fan_status) in fan_quirk1_handle() argument8056 if (*fan_status != fan_control_initial_status) { in fan_quirk1_handle()8064 *fan_status = TP_EC_FAN_AUTO; in fan_quirk1_handle()