Searched refs:old_div (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dsmsc47m1.c319 u8 old_div = DIV_FROM_REG(data->fan_div[nr]); set_fan_div() local
325 if (new_div == old_div) /* No change */ set_fan_div()
363 tmp = 192 - (old_div * (192 - data->fan_preload[nr]) set_fan_div()
H A Demc2103.c315 int new_range_bits, old_div = 8 / data->fan_multiplier; set_fan_div() local
322 if (new_div == old_div) /* No change */ set_fan_div()
359 u16 new_target = (data->fan_target * old_div) / new_div; set_fan_div()
H A Dadm1031.c636 int old_div; set_fan_div() local
660 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); set_fan_div()
662 new_min = data->fan_min[nr] * old_div / val; set_fan_div()
H A Dadm1026.c692 static void fixup_fan_min(struct device *dev, int fan, int old_div) fixup_fan_min() argument
703 new_min = data->fan_min[fan] * old_div / new_div; fixup_fan_min()

Completed in 124 milliseconds