Home
last modified time | relevance | path

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

/linux-4.1.27/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.c47 unsigned long volt = 0, volt_old = 0, tol = 0; in set_target() local
74 tol = volt * priv->voltage_tolerance / 100; in set_target()
86 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
98 regulator_set_voltage_tol(cpu_reg, volt_old, tol); in set_target()
104 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
/linux-4.1.27/net/tipc/
Dlink.c100 static void link_set_supervision_props(struct tipc_link *l_ptr, u32 tol);
1737 static void link_set_supervision_props(struct tipc_link *l_ptr, u32 tol) in link_set_supervision_props() argument
1739 unsigned long intv = ((tol / 4) > 500) ? 500 : tol / 4; in link_set_supervision_props()
1741 if ((tol < TIPC_MIN_LINK_TOL) || (tol > TIPC_MAX_LINK_TOL)) in link_set_supervision_props()
1744 l_ptr->tolerance = tol; in link_set_supervision_props()
1746 l_ptr->abort_limit = tol / (jiffies_to_msecs(l_ptr->cont_intv) / 4); in link_set_supervision_props()
1853 u32 tol; in tipc_nl_parse_link_prop() local
1855 tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_parse_link_prop()
1856 if ((tol < TIPC_MIN_LINK_TOL) || (tol > TIPC_MAX_LINK_TOL)) in tipc_nl_parse_link_prop()
1919 u32 tol; in tipc_nl_link_set() local
[all …]
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
Ddma.h19 unsigned tol : 1; member
Ddma_defs.h255 unsigned int tol : 1; member
/linux-4.1.27/arch/arm/boot/dts/
Dat91sam9261ek.dts148 ti,debounce-tol = /bits/ 16 <65535>;
Domap3-cm-t3x.dtsi238 ti,debounce-tol = /bits/ 16 <10>;
Domap5-cm-t54.dts359 ti,debounce-tol = /bits/ 16 <10>;
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dads7846.txt60 ti,debounce-tol Tolerance used for filtering (u16).
/linux-4.1.27/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()