Searched refs:old_div (Results 1 – 4 of 4) sorted by relevance
304 int new_range_bits, old_div = 8 / data->fan_multiplier; in fan1_div_store() local311 if (new_div == old_div) /* No change */ in fan1_div_store()348 u16 new_target = (data->fan_target * old_div) / new_div; in fan1_div_store()
313 u8 old_div = DIV_FROM_REG(data->fan_div[nr]); in fan_div_store() local319 if (new_div == old_div) /* No change */ in fan_div_store()359 tmp = 192 - (old_div * (192 - data->fan_preload[nr]) in fan_div_store()
617 int old_div; in fan_div_store() local641 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); in fan_div_store()643 new_min = data->fan_min[nr] * old_div / val; in fan_div_store()
712 static void fixup_fan_min(struct device *dev, int fan, int old_div) in fixup_fan_min() argument723 new_min = data->fan_min[fan] * old_div / new_div; in fixup_fan_min()