new_div 717 drivers/hwmon/adm1026.c int new_div = data->fan_div[fan]; new_div 723 drivers/hwmon/adm1026.c new_min = data->fan_min[fan] * old_div / new_div; new_div 747 drivers/hwmon/adm1026.c int orig_div, new_div; new_div 754 drivers/hwmon/adm1026.c new_div = DIV_TO_REG(val); new_div 758 drivers/hwmon/adm1026.c data->fan_div[nr] = DIV_FROM_REG(new_div); new_div 429 drivers/hwmon/adm9240.c u8 new_div; new_div 441 drivers/hwmon/adm9240.c new_div = data->fan_div[nr]; new_div 447 drivers/hwmon/adm9240.c new_div = 3; new_div 451 drivers/hwmon/adm9240.c nr + 1, FAN_FROM_REG(254, 1 << new_div)); new_div 456 drivers/hwmon/adm9240.c new_div = 0; new_div 457 drivers/hwmon/adm9240.c while (new_min > 192 && new_div < 3) { new_div 458 drivers/hwmon/adm9240.c new_div++; new_div 467 drivers/hwmon/adm9240.c nr + 1, FAN_FROM_REG(new_min, 1 << new_div)); new_div 470 drivers/hwmon/adm9240.c if (new_div != data->fan_div[nr]) { new_div 471 drivers/hwmon/adm9240.c data->fan_div[nr] = new_div; new_div 472 drivers/hwmon/adm9240.c adm9240_write_fan_div(client, nr, new_div); new_div 305 drivers/hwmon/emc2103.c long new_div; new_div 307 drivers/hwmon/emc2103.c int status = kstrtol(buf, 10, &new_div); new_div 311 drivers/hwmon/emc2103.c if (new_div == old_div) /* No change */ new_div 314 drivers/hwmon/emc2103.c switch (new_div) { new_div 344 drivers/hwmon/emc2103.c data->fan_multiplier = 8 / new_div; new_div 348 drivers/hwmon/emc2103.c u16 new_target = (data->fan_target * old_div) / new_div; new_div 2129 drivers/hwmon/nct6775.c u8 new_div; new_div 2153 drivers/hwmon/nct6775.c new_div = data->fan_div[nr]; /* No change */ new_div 2164 drivers/hwmon/nct6775.c new_div = 7; /* 128 == BIT(7) */ new_div 2174 drivers/hwmon/nct6775.c new_div = 0; /* 1 == BIT(0) */ new_div 2184 drivers/hwmon/nct6775.c new_div = 0; new_div 2185 drivers/hwmon/nct6775.c while (reg > 192 && new_div < 7) { new_div 2187 drivers/hwmon/nct6775.c new_div++; new_div 2197 drivers/hwmon/nct6775.c if (new_div != data->fan_div[nr]) { new_div 2200 drivers/hwmon/nct6775.c div_from_reg(new_div)); new_div 2201 drivers/hwmon/nct6775.c data->fan_div[nr] = new_div; new_div 310 drivers/hwmon/smsc47m1.c long new_div; new_div 315 drivers/hwmon/smsc47m1.c err = kstrtol(buf, 10, &new_div); new_div 319 drivers/hwmon/smsc47m1.c if (new_div == old_div) /* No change */ new_div 323 drivers/hwmon/smsc47m1.c switch (new_div) { new_div 360 drivers/hwmon/smsc47m1.c + new_div / 2) / new_div; new_div 1071 drivers/hwmon/w83627ehf.c u8 new_div; new_div 1097 drivers/hwmon/w83627ehf.c new_div = data->fan_div[nr]; /* No change */ new_div 1105 drivers/hwmon/w83627ehf.c new_div = 7; /* 128 == (1 << 7) */ new_div 1115 drivers/hwmon/w83627ehf.c new_div = 0; /* 1 == (1 << 0) */ new_div 1125 drivers/hwmon/w83627ehf.c new_div = 0; new_div 1126 drivers/hwmon/w83627ehf.c while (reg > 192 && new_div < 7) { new_div 1128 drivers/hwmon/w83627ehf.c new_div++; new_div 1137 drivers/hwmon/w83627ehf.c if (new_div != data->fan_div[nr]) { new_div 1140 drivers/hwmon/w83627ehf.c div_from_reg(new_div)); new_div 1141 drivers/hwmon/w83627ehf.c data->fan_div[nr] = new_div;