Home
last modified time | relevance | path

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

/drivers/hwmon/
Demc2103.c304 int new_range_bits, old_div = 8 / data->fan_multiplier; in fan1_div_store() local
311 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()
Dsmsc47m1.c313 u8 old_div = DIV_FROM_REG(data->fan_div[nr]); in fan_div_store() local
319 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()
Dadm1031.c618 int old_div; in fan_div_store() local
642 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); in fan_div_store()
644 new_min = data->fan_min[nr] * old_div / val; in fan_div_store()
Dadm1026.c712 static void fixup_fan_min(struct device *dev, int fan, int old_div) in fixup_fan_min() argument
723 new_min = data->fan_min[fan] * old_div / new_div; in fixup_fan_min()