Home
last modified time | relevance | path

Searched refs:fan_status (Results 1 – 6 of 6) sorted by relevance

/drivers/hwmon/
Dpc87360.c203 u8 fan_status[3]; /* Register value */ member
264 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 …]
Dfschmd.c295 u8 fan_status[7]; /* fan status */ member
496 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()
Dpc87427.c64 u8 fan_status[8]; /* register values */ member
191 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()
Df71882fg.c253 u8 fan_status; member
1277 data->fan_status = f71882fg_read8(data, in f71882fg_update_device()
1406 if (data->fan_status & (1 << nr)) in show_fan_alarm()
Dlm93.c202 u8 fan_status; member
800 result |= (b1.fan_status & 0x0f) << 16; in LM93_ALARMS_FROM_REG()
/drivers/platform/x86/
Dthinkpad_acpi.c7317 static void fan_quirk1_handle(u8 *fan_status) in fan_quirk1_handle() argument
7320 if (*fan_status != fan_control_initial_status) { in fan_quirk1_handle()
7328 *fan_status = TP_EC_FAN_AUTO; in fan_quirk1_handle()