Searched refs:tol (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/cpufreq/
H A Domap-cpufreq.c46 unsigned long freq, volt = 0, volt_old = 0, tol = 0; omap_target() local
73 tol = volt * OPP_TOLERANCE / 100; omap_target()
83 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); omap_target()
95 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); omap_target()
H A Dcpufreq-dt.c47 unsigned long volt = 0, volt_old = 0, tol = 0; set_target() local
74 tol = volt * priv->voltage_tolerance / 100; set_target()
86 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); set_target()
98 regulator_set_voltage_tol(cpu_reg, volt_old, tol); set_target()
104 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); set_target()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Ddma.h19 unsigned tol : 1; member in struct:dma_descr_group
H A Ddma_defs.h255 unsigned int tol : 1; member in struct:__anon429
/linux-4.1.27/net/tipc/
H A 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) link_set_supervision_props() argument
1739 unsigned long intv = ((tol / 4) > 500) ? 500 : tol / 4; link_set_supervision_props()
1741 if ((tol < TIPC_MIN_LINK_TOL) || (tol > TIPC_MAX_LINK_TOL)) link_set_supervision_props()
1744 l_ptr->tolerance = tol; link_set_supervision_props()
1746 l_ptr->abort_limit = tol / (jiffies_to_msecs(l_ptr->cont_intv) / 4); link_set_supervision_props()
1853 u32 tol; tipc_nl_parse_link_prop() local
1855 tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); tipc_nl_parse_link_prop()
1856 if ((tol < TIPC_MIN_LINK_TOL) || (tol > TIPC_MAX_LINK_TOL)) tipc_nl_parse_link_prop()
1919 u32 tol; tipc_nl_link_set() local
1921 tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); tipc_nl_link_set()
1922 link_set_supervision_props(link, tol); tipc_nl_link_set()
1923 tipc_link_proto_xmit(link, STATE_MSG, 0, 0, tol, 0); tipc_nl_link_set()
/linux-4.1.27/drivers/atm/
H A Dhorizon.c693 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol, make_rate_with_tolerance() argument
697 PRINTD (DBG_QOS|DBG_FLOW, "make_rate_with_tolerance c=%u, %s, tol=%u", make_rate_with_tolerance()
698 c, (r == round_up) ? "up" : (r == round_down) ? "down" : "nearest", tol); make_rate_with_tolerance()
708 if (c - tol <= *actual && *actual <= c + tol) make_rate_with_tolerance()
/linux-4.1.27/drivers/input/touchscreen/
H A Dads7846.c1231 of_property_read_u16(node, "ti,debounce-tol", &pdata->debounce_tol); ads7846_probe_dt()

Completed in 378 milliseconds