Lines Matching refs:new_div
362 u8 new_div; in set_fan_min() local
368 new_div = data->fan_div[nr]; in set_fan_min()
374 new_div = 3; in set_fan_min()
378 nr + 1, FAN_FROM_REG(254, 1 << new_div)); in set_fan_min()
383 new_div = 0; in set_fan_min()
384 while (new_min > 192 && new_div < 3) { in set_fan_min()
385 new_div++; in set_fan_min()
394 nr + 1, FAN_FROM_REG(new_min, 1 << new_div)); in set_fan_min()
397 if (new_div != data->fan_div[nr]) { in set_fan_min()
398 data->fan_div[nr] = new_div; in set_fan_min()
399 adm9240_write_fan_div(client, nr, new_div); in set_fan_min()