Home
last modified time | relevance | path

Searched refs:tol (Results 1 – 3 of 3) sorted by relevance

/drivers/cpufreq/
Domap-cpufreq.c46 unsigned long freq, volt = 0, volt_old = 0, tol = 0; in omap_target() local
73 tol = volt * OPP_TOLERANCE / 100; in omap_target()
83 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
95 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
Dcpufreq-dt.c53 unsigned long volt = 0, volt_old = 0, tol = 0; in set_target() local
80 tol = volt * priv->voltage_tolerance / 100; in set_target()
92 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
104 regulator_set_voltage_tol(cpu_reg, volt_old, tol); in set_target()
110 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
/drivers/atm/
Dhorizon.c693 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol, in make_rate_with_tolerance() argument
698 c, (r == round_up) ? "up" : (r == round_down) ? "down" : "nearest", tol); in make_rate_with_tolerance()
708 if (c - tol <= *actual && *actual <= c + tol) in make_rate_with_tolerance()