fan_min 276 drivers/hwmon/adm1026.c u8 fan_min[8]; /* Register value */ fan_min 393 drivers/hwmon/adm1026.c data->fan_min[i] = adm1026_read_value(client, fan_min 668 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 687 drivers/hwmon/adm1026.c data->fan_min[nr] = FAN_TO_REG(val, data->fan_div[nr]); fan_min 689 drivers/hwmon/adm1026.c data->fan_min[nr]); fan_min 695 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 697 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 699 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 701 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 703 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan5_min, fan_min, 4); fan_min 705 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan6_min, fan_min, 5); fan_min 707 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan7_min, fan_min, 6); fan_min 709 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RW(fan8_min, fan_min, 7); fan_min 720 drivers/hwmon/adm1026.c if (data->fan_min[fan] == 0 || data->fan_min[fan] == 0xff) fan_min 723 drivers/hwmon/adm1026.c new_min = data->fan_min[fan] * old_div / new_div; fan_min 725 drivers/hwmon/adm1026.c data->fan_min[fan] = new_min; fan_min 81 drivers/hwmon/adm1031.c u8 fan_min[2]; fan_min 179 drivers/hwmon/adm1031.c data->fan_min[chan] = fan_min 581 drivers/hwmon/adm1031.c FAN_FROM_REG(data->fan_min[nr], fan_min 600 drivers/hwmon/adm1031.c data->fan_min[nr] = fan_min 603 drivers/hwmon/adm1031.c data->fan_min[nr] = 0xff; fan_min 605 drivers/hwmon/adm1031.c adm1031_write_value(client, ADM1031_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 638 drivers/hwmon/adm1031.c data->fan_min[nr] = adm1031_read_value(client, fan_min 644 drivers/hwmon/adm1031.c new_min = data->fan_min[nr] * old_div / val; fan_min 645 drivers/hwmon/adm1031.c data->fan_min[nr] = new_min > 0xff ? 0xff : new_min; fan_min 650 drivers/hwmon/adm1031.c data->fan_min[nr]); fan_min 659 drivers/hwmon/adm1031.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 662 drivers/hwmon/adm1031.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 135 drivers/hwmon/adm9240.c u8 fan_min[2]; /* rw fan1_min */ fan_min 204 drivers/hwmon/adm9240.c if (data->fan_min[i] < 255 && fan_min 205 drivers/hwmon/adm9240.c data->fan_min[i] >= 2) fan_min 206 drivers/hwmon/adm9240.c data->fan_min[i] /= 2; fan_min 223 drivers/hwmon/adm9240.c data->fan_min[i] = i2c_smbus_read_byte_data(client, fan_min 398 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[attr->index], fan_min 440 drivers/hwmon/adm9240.c data->fan_min[nr] = 255; fan_min 448 drivers/hwmon/adm9240.c data->fan_min[nr] = 254; fan_min 464 drivers/hwmon/adm9240.c data->fan_min[nr] = new_min; fan_min 475 drivers/hwmon/adm9240.c data->fan_min[nr]); fan_min 482 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 485 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 206 drivers/hwmon/adt7462.c u8 fan_min[ADT7462_FAN_COUNT]; fan_min 742 drivers/hwmon/adt7462.c data->fan_min[i] = i2c_smbus_read_byte_data(client, fan_min 1002 drivers/hwmon/adt7462.c temp = data->fan_min[attr->index]; fan_min 1030 drivers/hwmon/adt7462.c data->fan_min[attr->index] = temp; fan_min 1508 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 1509 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 1510 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 1511 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 1512 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan5_min, fan_min, 4); fan_min 1513 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan6_min, fan_min, 5); fan_min 1514 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan7_min, fan_min, 6); fan_min 1515 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RW(fan8_min, fan_min, 7); fan_min 154 drivers/hwmon/adt7470.c u16 fan_min[ADT7470_FAN_COUNT]; fan_min 370 drivers/hwmon/adt7470.c data->fan_min[i] = adt7470_read_word_data(client, fan_min 593 drivers/hwmon/adt7470.c if (FAN_DATA_VALID(data->fan_min[attr->index])) fan_min 595 drivers/hwmon/adt7470.c FAN_PERIOD_TO_RPM(data->fan_min[attr->index])); fan_min 616 drivers/hwmon/adt7470.c data->fan_min[attr->index] = temp; fan_min 1032 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 1033 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 1034 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 1035 drivers/hwmon/adt7470.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 194 drivers/hwmon/asb100.c u8 fan_min[3]; /* Register value */ fan_min 301 drivers/hwmon/asb100.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 327 drivers/hwmon/asb100.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 328 drivers/hwmon/asb100.c asb100_write_value(client, ASB100_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 356 drivers/hwmon/asb100.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 380 drivers/hwmon/asb100.c data->fan_min[nr] = fan_min 382 drivers/hwmon/asb100.c asb100_write_value(client, ASB100_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 802 drivers/hwmon/asb100.c data->fan_min[0] = asb100_read_value(client, ASB100_REG_FAN_MIN(0)); fan_min 803 drivers/hwmon/asb100.c data->fan_min[1] = asb100_read_value(client, ASB100_REG_FAN_MIN(1)); fan_min 804 drivers/hwmon/asb100.c data->fan_min[2] = asb100_read_value(client, ASB100_REG_FAN_MIN(2)); fan_min 966 drivers/hwmon/asb100.c data->fan_min[i] = asb100_read_value(client, fan_min 228 drivers/hwmon/dme1737.c u16 fan_min[6]; fan_min 689 drivers/hwmon/dme1737.c data->fan_min[ix] = dme1737_read(data, fan_min 691 drivers/hwmon/dme1737.c data->fan_min[ix] |= dme1737_read(data, fan_min 1097 drivers/hwmon/dme1737.c res = FAN_FROM_REG(data->fan_min[ix], fan_min 1139 drivers/hwmon/dme1737.c data->fan_min[ix] = FAN_TO_REG(val, 0); fan_min 1145 drivers/hwmon/dme1737.c data->fan_min[ix] = FAN_TO_REG(val, fan_min 1149 drivers/hwmon/dme1737.c data->fan_min[ix] & 0xff); fan_min 1151 drivers/hwmon/dme1737.c data->fan_min[ix] >> 8); fan_min 97 drivers/hwmon/f75375s.c u16 fan_min[2]; fan_min 195 drivers/hwmon/f75375s.c data->fan_min[nr] = fan_min 299 drivers/hwmon/f75375s.c data->fan_min[nr] = rpm_to_reg(val); fan_min 300 drivers/hwmon/f75375s.c f75375_write16(client, F75375_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 654 drivers/hwmon/f75375s.c show_fan(fan_min); fan_min 283 drivers/hwmon/fschmd.c u8 fan_min[7]; /* fan min value for rps */ fan_min 511 drivers/hwmon/fschmd.c int val = data->fan_min[index]; fan_min 543 drivers/hwmon/fschmd.c data->fan_min[index] = v; fan_min 1343 drivers/hwmon/fschmd.c data->fan_min[i] = i2c_smbus_read_byte_data( fan_min 117 drivers/hwmon/gl518sm.c u8 fan_min[2]; fan_min 183 drivers/hwmon/gl518sm.c data->fan_min[0] = (val >> 8) & 0xff; fan_min 184 drivers/hwmon/gl518sm.c data->fan_min[1] = val & 0xff; fan_min 268 drivers/hwmon/gl518sm.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 357 drivers/hwmon/gl518sm.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 359 drivers/hwmon/gl518sm.c | (data->fan_min[nr] << (8 * (1 - nr))); fan_min 363 drivers/hwmon/gl518sm.c if (data->fan_min[nr] == 0) fan_min 426 drivers/hwmon/gl518sm.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 427 drivers/hwmon/gl518sm.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 76 drivers/hwmon/gl520sm.c u8 fan_min[2]; fan_min 139 drivers/hwmon/gl520sm.c data->fan_min[0] = (val >> 8) & 0xff; fan_min 140 drivers/hwmon/gl520sm.c data->fan_min[1] = val & 0xff; fan_min 354 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[n], fan_min 391 drivers/hwmon/gl520sm.c data->fan_min[n] = r; fan_min 403 drivers/hwmon/gl520sm.c if (data->fan_min[n] == 0) fan_min 491 drivers/hwmon/gl520sm.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 492 drivers/hwmon/gl520sm.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 848 drivers/hwmon/gl520sm.c if (data->fan_min[0] == 0) fan_min 850 drivers/hwmon/gl520sm.c if (data->fan_min[1] == 0) fan_min 127 drivers/hwmon/lm78.c u8 fan_min[3]; /* Register value */ fan_min 309 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 327 drivers/hwmon/lm78.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 328 drivers/hwmon/lm78.c lm78_write_value(data, LM78_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 363 drivers/hwmon/lm78.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 398 drivers/hwmon/lm78.c data->fan_min[nr] = fan_min 400 drivers/hwmon/lm78.c lm78_write_value(data, LM78_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 407 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 409 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 411 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 723 drivers/hwmon/lm78.c data->fan_min[i] = lm78_read_value(data, fan_min 753 drivers/hwmon/lm78.c data->fan_min[i] = fan_min 308 drivers/hwmon/lm85.c u16 fan_min[4]; /* Register value */ fan_min 479 drivers/hwmon/lm85.c data->fan_min[i] = fan_min 565 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr])); fan_min 583 drivers/hwmon/lm85.c data->fan_min[nr] = FAN_TO_REG(val); fan_min 584 drivers/hwmon/lm85.c lm85_write_value(client, LM85_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 590 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 592 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 594 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 596 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 162 drivers/hwmon/lm87.c u8 fan_min[2]; /* register value */ fan_min 218 drivers/hwmon/lm87.c data->fan_min[i] = lm87_read_value(client, fan_min 478 drivers/hwmon/lm87.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 507 drivers/hwmon/lm87.c data->fan_min[nr] = FAN_TO_REG(val, fan_min 509 drivers/hwmon/lm87.c lm87_write_value(client, LM87_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 537 drivers/hwmon/lm87.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 569 drivers/hwmon/lm87.c data->fan_min[nr] = FAN_TO_REG(min, val); fan_min 571 drivers/hwmon/lm87.c data->fan_min[nr]); fan_min 578 drivers/hwmon/lm87.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 581 drivers/hwmon/lm87.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 1654 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 1655 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 1656 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 1657 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 319 drivers/hwmon/nct6683.c u16 fan_min[NCT6683_NUM_REG_FAN]; fan_min 635 drivers/hwmon/nct6683.c data->fan_min[i] = nct6683_read16(data, fan_min 726 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", data->fan_min[nr]); fan_min 762 drivers/hwmon/nct6683.c SENSOR_TEMPLATE(fan_min, "fan%d_min", S_IRUGO, show_fan_min, NULL, 0); fan_min 1148 drivers/hwmon/nct6775.c u16 fan_min[NUM_FAN]; fan_min 1564 drivers/hwmon/nct6775.c for (i = 0; i < ARRAY_SIZE(data->fan_min); i++) { fan_min 1579 drivers/hwmon/nct6775.c u16 fan_min; fan_min 1601 drivers/hwmon/nct6775.c fan_min = data->fan_min[nr]; fan_min 1603 drivers/hwmon/nct6775.c if (fan_min != 255 && fan_min > 1) fan_min 1604 drivers/hwmon/nct6775.c fan_min >>= 1; fan_min 1606 drivers/hwmon/nct6775.c if (fan_min != 255) { fan_min 1607 drivers/hwmon/nct6775.c fan_min <<= 1; fan_min 1608 drivers/hwmon/nct6775.c if (fan_min > 254) fan_min 1609 drivers/hwmon/nct6775.c fan_min = 254; fan_min 1612 drivers/hwmon/nct6775.c if (fan_min != data->fan_min[nr]) { fan_min 1613 drivers/hwmon/nct6775.c data->fan_min[nr] = fan_min; fan_min 1615 drivers/hwmon/nct6775.c fan_min); fan_min 1806 drivers/hwmon/nct6775.c data->fan_min[i] = nct6775_read_value(data, fan_min 2106 drivers/hwmon/nct6775.c data->fan_from_reg_min(data->fan_min[nr], fan_min 2147 drivers/hwmon/nct6775.c data->fan_min[nr] = val; fan_min 2152 drivers/hwmon/nct6775.c data->fan_min[nr] = 255; fan_min 2163 drivers/hwmon/nct6775.c data->fan_min[nr] = 254; fan_min 2173 drivers/hwmon/nct6775.c data->fan_min[nr] = 1; fan_min 2189 drivers/hwmon/nct6775.c data->fan_min[nr] = reg; fan_min 2208 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_FAN_MIN[nr], data->fan_min[nr]); fan_min 2285 drivers/hwmon/nct6775.c SENSOR_TEMPLATE(fan_min, "fan%d_min", S_IWUSR | S_IRUGO, show_fan_min, fan_min 4681 drivers/hwmon/nct6775.c for (i = 0; i < ARRAY_SIZE(data->fan_min); i++) { fan_min 4686 drivers/hwmon/nct6775.c data->fan_min[i]); fan_min 809 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(fan1_min, fan_min, 0x49, 0x4c); fan_min 813 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(fan2_min, fan_min, 0x4a, 0x4d); fan_min 817 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(fan3_min, fan_min, 0x4b, 0x4e); fan_min 189 drivers/hwmon/pc87360.c u8 fan_min[3]; /* Register value */ fan_min 257 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", FAN_FROM_REG(data->fan_min[attr->index], fan_min 282 drivers/hwmon/pc87360.c long fan_min; fan_min 285 drivers/hwmon/pc87360.c err = kstrtol(buf, 10, &fan_min); fan_min 290 drivers/hwmon/pc87360.c fan_min = FAN_TO_REG(fan_min, fan_min 294 drivers/hwmon/pc87360.c while (fan_min > 255 fan_min 296 drivers/hwmon/pc87360.c fan_min >>= 1; fan_min 300 drivers/hwmon/pc87360.c data->fan_min[attr->index] = fan_min > 255 ? 255 : fan_min; fan_min 303 drivers/hwmon/pc87360.c data->fan_min[attr->index]); fan_min 329 drivers/hwmon/pc87360.c static struct sensor_device_attribute fan_min[] = { fan_min 330 drivers/hwmon/pc87360.c SENSOR_ATTR_RW(fan1_min, fan_min, 0), fan_min 331 drivers/hwmon/pc87360.c SENSOR_ATTR_RW(fan2_min, fan_min, 1), fan_min 332 drivers/hwmon/pc87360.c SENSOR_ATTR_RW(fan3_min, fan_min, 2), fan_min 339 drivers/hwmon/pc87360.c &fan_min[X].dev_attr.attr, \ fan_min 1538 drivers/hwmon/pc87360.c u8 old_min = data->fan_min[nr]; fan_min 1545 drivers/hwmon/pc87360.c data->fan_min[nr] >>= 1; fan_min 1553 drivers/hwmon/pc87360.c while (!(data->fan_min[nr] & 0x80) /* min "nails" divider */ fan_min 1557 drivers/hwmon/pc87360.c data->fan_min[nr] <<= 1; fan_min 1567 drivers/hwmon/pc87360.c if (old_min != data->fan_min[nr]) { fan_min 1570 drivers/hwmon/pc87360.c data->fan_min[nr]); fan_min 1592 drivers/hwmon/pc87360.c data->fan_min[i] = pc87360_read_value(data, fan_min 55 drivers/hwmon/pc87427.c u16 fan_min[8]; /* register values */ fan_min 190 drivers/hwmon/pc87427.c data->fan_min[nr] = inw(iobase + PC87427_REG_FAN_MIN); fan_min 402 drivers/hwmon/pc87427.c return sprintf(buf, "%lu\n", fan_from_reg(data->fan_min[nr])); fan_min 445 drivers/hwmon/pc87427.c data->fan_min[nr] = fan_to_reg(val); fan_min 446 drivers/hwmon/pc87427.c outw(data->fan_min[nr], iobase + PC87427_REG_FAN_MIN); fan_min 462 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 463 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 464 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 465 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan4_min, fan_min, 3); fan_min 466 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan5_min, fan_min, 4); fan_min 467 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan6_min, fan_min, 5); fan_min 468 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan7_min, fan_min, 6); fan_min 469 drivers/hwmon/pc87427.c static SENSOR_DEVICE_ATTR_RW(fan8_min, fan_min, 7); fan_min 73 drivers/hwmon/sch5627.c u16 fan_min[SCH5627_NO_FANS]; fan_min 169 drivers/hwmon/sch5627.c data->fan_min[i] = val; fan_min 284 drivers/hwmon/sch5627.c int val = reg_to_rpm(data->fan_min[attr->index]); fan_min 358 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(fan1_min, fan_min, 0); fan_min 359 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(fan2_min, fan_min, 1); fan_min 360 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(fan3_min, fan_min, 2); fan_min 361 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(fan4_min, fan_min, 3); fan_min 184 drivers/hwmon/sis5595.c u8 fan_min[2]; /* Register value */ fan_min 375 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 393 drivers/hwmon/sis5595.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 394 drivers/hwmon/sis5595.c sis5595_write_value(data, SIS5595_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 430 drivers/hwmon/sis5595.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 464 drivers/hwmon/sis5595.c data->fan_min[nr] = fan_min 466 drivers/hwmon/sis5595.c sis5595_write_value(data, SIS5595_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 472 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 475 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 615 drivers/hwmon/sis5595.c data->fan_min[i] = sis5595_read_value(data, fan_min 712 drivers/hwmon/sis5595.c data->fan_min[i] = fan_min 423 drivers/hwmon/smsc47m1.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 429 drivers/hwmon/smsc47m1.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 435 drivers/hwmon/smsc47m1.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 419 drivers/hwmon/tc654.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 420 drivers/hwmon/tc654.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 314 drivers/hwmon/via686a.c u8 fan_min[2]; /* Register value */ fan_min 511 drivers/hwmon/via686a.c FAN_FROM_REG(data->fan_min[nr], fan_min 534 drivers/hwmon/via686a.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 535 drivers/hwmon/via686a.c via686a_write_value(data, VIA686A_REG_FAN_MIN(nr+1), data->fan_min[nr]); fan_min 562 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 565 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 768 drivers/hwmon/via686a.c data->fan_min[i - 1] = via686a_read_value(data, fan_min 119 drivers/hwmon/vt1211.c u8 fan_min[2]; fan_min 287 drivers/hwmon/vt1211.c data->fan_min[ix] = vt1211_read8(data, fan_min 505 drivers/hwmon/vt1211.c res = RPM_FROM_REG(data->fan_min[ix], data->fan_div[ix]); fan_min 547 drivers/hwmon/vt1211.c data->fan_min[ix] = RPM_TO_REG(val, data->fan_div[ix]); fan_min 549 drivers/hwmon/vt1211.c data->fan_min[ix]); fan_min 158 drivers/hwmon/vt8231.c u8 fan_min[2]; /* Register value */ fan_min 509 drivers/hwmon/vt8231.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[nr], fan_min 537 drivers/hwmon/vt8231.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 538 drivers/hwmon/vt8231.c vt8231_write_value(data, VT8231_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 552 drivers/hwmon/vt8231.c long min = FAN_FROM_REG(data->fan_min[nr], fan_min 583 drivers/hwmon/vt8231.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 584 drivers/hwmon/vt8231.c vt8231_write_value(data, VT8231_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 593 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 596 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 895 drivers/hwmon/vt8231.c data->fan_min[i] = vt8231_read_value(data, fan_min 921 drivers/hwmon/vt8231.c if (!data->fan[0] && data->fan_min[0]) fan_min 923 drivers/hwmon/vt8231.c else if (data->fan[0] && !data->fan_min[0]) fan_min 926 drivers/hwmon/vt8231.c if (!data->fan[1] && data->fan_min[1]) fan_min 928 drivers/hwmon/vt8231.c else if (data->fan[1] && !data->fan_min[1]) fan_min 456 drivers/hwmon/w83627ehf.c u16 fan_min[5]; fan_min 824 drivers/hwmon/w83627ehf.c data->fan_min[i] = w83627ehf_read_value(data, fan_min 844 drivers/hwmon/w83627ehf.c && data->fan_min[i] >= 2 fan_min 845 drivers/hwmon/w83627ehf.c && data->fan_min[i] != 255) fan_min 848 drivers/hwmon/w83627ehf.c (data->fan_min[i] /= 2)); fan_min 1047 drivers/hwmon/w83627ehf.c data->fan_from_reg_min(data->fan_min[nr], fan_min 1091 drivers/hwmon/w83627ehf.c data->fan_min[nr] = val; fan_min 1096 drivers/hwmon/w83627ehf.c data->fan_min[nr] = 255; fan_min 1104 drivers/hwmon/w83627ehf.c data->fan_min[nr] = 254; fan_min 1114 drivers/hwmon/w83627ehf.c data->fan_min[nr] = 1; fan_min 1130 drivers/hwmon/w83627ehf.c data->fan_min[nr] = reg; fan_min 1148 drivers/hwmon/w83627ehf.c data->fan_min[nr]); fan_min 2640 drivers/hwmon/w83627ehf.c data->fan_min[i]); fan_min 365 drivers/hwmon/w83627hf.c u8 fan_min[3]; /* Register value */ fan_min 434 drivers/hwmon/w83627hf.c data->fan_min[i]); fan_min 678 drivers/hwmon/w83627hf.c return sprintf(buf, "%ld\n", FAN_FROM_REG(data->fan_min[nr], fan_min 695 drivers/hwmon/w83627hf.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 697 drivers/hwmon/w83627hf.c data->fan_min[nr]); fan_min 704 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0); fan_min 706 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1); fan_min 708 drivers/hwmon/w83627hf.c static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2); fan_min 1008 drivers/hwmon/w83627hf.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 1024 drivers/hwmon/w83627hf.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 1025 drivers/hwmon/w83627hf.c w83627hf_write_value(data, W83627HF_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 1433 drivers/hwmon/w83627hf.c data->fan_min[i] = w83627hf_read_value( fan_min 1850 drivers/hwmon/w83627hf.c data->fan_min[i] = fan_min 216 drivers/hwmon/w83781d.c u8 fan_min[3]; /* Register value */ fan_min 310 drivers/hwmon/w83781d.c show_fan_reg(fan_min); fan_min 327 drivers/hwmon/w83781d.c data->fan_min[nr] = fan_min 330 drivers/hwmon/w83781d.c data->fan_min[nr]); fan_min 653 drivers/hwmon/w83781d.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 674 drivers/hwmon/w83781d.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 675 drivers/hwmon/w83781d.c w83781d_write_value(data, W83781D_REG_FAN_MIN(nr), data->fan_min[nr]); fan_min 1438 drivers/hwmon/w83781d.c data->fan_min[i] = w83781d_read_value(data, fan_min 1472 drivers/hwmon/w83781d.c data->fan_min[i] = fan_min 286 drivers/hwmon/w83791d.c u8 fan_min[NUMBER_OF_FANIN]; /* Register value */ fan_min 532 drivers/hwmon/w83791d.c show_fan_reg(fan_min); fan_min 549 drivers/hwmon/w83791d.c data->fan_min[nr] = fan_to_reg(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 550 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_FAN_MIN[nr], data->fan_min[nr]); fan_min 593 drivers/hwmon/w83791d.c min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); fan_min 650 drivers/hwmon/w83791d.c data->fan_min[nr] = fan_to_reg(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 651 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_FAN_MIN[nr], data->fan_min[nr]); fan_min 1384 drivers/hwmon/w83791d.c data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]); fan_min 1515 drivers/hwmon/w83791d.c data->fan_min[i] = w83791d_read(client, fan_min 1635 drivers/hwmon/w83791d.c dev_dbg(dev, "fan[%d] min is: 0x%02x\n", i, data->fan_min[i]); fan_min 275 drivers/hwmon/w83792d.c u8 fan_min[7]; /* Register value */ fan_min 406 drivers/hwmon/w83792d.c show_fan_reg(fan_min); fan_min 424 drivers/hwmon/w83792d.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 426 drivers/hwmon/w83792d.c data->fan_min[nr]); fan_min 469 drivers/hwmon/w83792d.c min = FAN_FROM_REG(data->fan_min[nr], fan_min 482 drivers/hwmon/w83792d.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 483 drivers/hwmon/w83792d.c w83792d_write_value(client, W83792D_REG_FAN_MIN[nr], data->fan_min[nr]); fan_min 1384 drivers/hwmon/w83792d.c data->fan_min[i] = w83792d_read_value(client, fan_min 1518 drivers/hwmon/w83792d.c data->fan_min[i] = w83792d_read_value(client, fan_min 1627 drivers/hwmon/w83792d.c dev_dbg(dev, "fan[%d] min is: 0x%x\n", i, data->fan_min[i]); fan_min 222 drivers/hwmon/w83793.c u16 fan_min[12]; /* Register value combine */ fan_min 477 drivers/hwmon/w83793.c val = data->fan_min[index] & 0x0fff; fan_min 500 drivers/hwmon/w83793.c data->fan_min[index] = val; fan_min 1966 drivers/hwmon/w83793.c for (i = 0; i < ARRAY_SIZE(data->fan_min); i++) { fan_min 1970 drivers/hwmon/w83793.c data->fan_min[i] = fan_min 1972 drivers/hwmon/w83793.c data->fan_min[i] |= fan_min 336 drivers/hwmon/w83795.c u16 fan_min[14]; /* Register value combine */ fan_min 489 drivers/hwmon/w83795.c data->fan_min[i] = fan_min 491 drivers/hwmon/w83795.c data->fan_min[i] |= fan_min 787 drivers/hwmon/w83795.c val = data->fan_min[index] & 0x0fff; fan_min 808 drivers/hwmon/w83795.c data->fan_min[index] = val; fan_min 126 drivers/hwmon/w83l786ng.c u8 fan_min[2]; fan_min 176 drivers/hwmon/w83l786ng.c data->fan_min[i] = w83l786ng_read_value(client, fan_min 288 drivers/hwmon/w83l786ng.c show_fan_reg(fan_min); fan_min 305 drivers/hwmon/w83l786ng.c data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); fan_min 307 drivers/hwmon/w83l786ng.c data->fan_min[nr]); fan_min 351 drivers/hwmon/w83l786ng.c min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); fan_min 375 drivers/hwmon/w83l786ng.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); fan_min 377 drivers/hwmon/w83l786ng.c data->fan_min[nr]); fan_min 729 drivers/hwmon/w83l786ng.c data->fan_min[i] = w83l786ng_read_value(client, fan_min 368 drivers/macintosh/windfarm_rm31.c int speed, dspeed, fan_min; fan_min 408 drivers/macintosh/windfarm_rm31.c fan_min = (dspeed * 100) / 14000; fan_min 409 drivers/macintosh/windfarm_rm31.c fan_min = max(fan_min, backside_param.min); fan_min 410 drivers/macintosh/windfarm_rm31.c speed = max(speed, fan_min);