/linux-master/tools/testing/selftests/mm/ |
H A D | hugetlb_reparenting_test.sh | 73 local tolerance=$((5 * 1024 * 1024)) 77 if [[ $actual_a -lt $(($expected_a - $tolerance)) ]] || 78 [[ $actual_a -gt $(($expected_a + $tolerance)) ]]; then 89 if [[ $actual_a_hugetlb -lt $(($expected_a_hugetlb - $tolerance)) ]] || 90 [[ $actual_a_hugetlb -gt $(($expected_a_hugetlb + $tolerance)) ]]; then 105 if [[ $actual_b -lt $(($expected_b - $tolerance)) ]] || 106 [[ $actual_b -gt $(($expected_b + $tolerance)) ]]; then 117 if [[ $actual_b_hugetlb -lt $(($expected_b_hugetlb - $tolerance)) ]] || 118 [[ $actual_b_hugetlb -gt $(($expected_b_hugetlb + $tolerance)) ]]; then
|
/linux-master/drivers/media/rc/img-ir/ |
H A D | img-ir-rc5.c | 58 .tolerance = 16,
|
H A D | img-ir-hw.c | 166 * @tolerance: Tolerance as a fraction of 128 (roughly percent). 171 * tolerance, and shifts for the register, rounding in the right direction. 176 unsigned int tolerance, 182 /* add a tolerance */ 183 min = min - (min*tolerance >> 7); 184 max = max + (max*tolerance >> 7); 196 * @tolerance: Timing tolerance where 0-128 represents 0-100% 204 unsigned int tolerance, 214 tolerance, clock_h 174 img_ir_timing_range_convert(struct img_ir_timing_range *out, const struct img_ir_timing_range *in, unsigned int tolerance, unsigned long clock_hz, unsigned int shift) argument 203 img_ir_symbol_timing(const struct img_ir_symbol_timing *timing, unsigned int tolerance, unsigned long clock_hz, unsigned int pd_shift, unsigned int w_shift) argument 290 img_ir_timings_convert(struct img_ir_timing_regvals *regs, const struct img_ir_timings *timings, unsigned int tolerance, unsigned int clock_hz) argument [all...] |
H A D | img-ir-sharp.c | 80 .tolerance = 20, /* 20% */
|
H A D | img-ir-rc6.c | 80 .tolerance = 20,
|
H A D | img-ir-hw.h | 57 * and is taken care of by the tolerance) 148 * @tolerance: Timing tolerance as a percentage (default 10%). 167 unsigned int tolerance; member in struct:img_ir_decoder
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.h | 38 unsigned int tolerance);
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 39 uint64_t tolerance, thresh_low, thresh_high; local 41 tolerance = expected / 100; 42 thresh_low = expected - tolerance; 43 thresh_high = expected + tolerance;
|
/linux-master/include/uapi/linux/ |
H A D | timex.h | 74 __kernel_long_t tolerance;/* clock frequency tolerance (ppm) member in struct:timex 113 long long tolerance;/* clock frequency tolerance (ppm) member in struct:__kernel_timex
|
/linux-master/include/linux/ |
H A D | time32.h | 36 s32 tolerance; member in struct:old_timex32
|
/linux-master/net/tipc/ |
H A D | eth_media.c | 92 .tolerance = TIPC_DEF_LINK_TOL,
|
H A D | ib_media.c | 98 .tolerance = TIPC_DEF_LINK_TOL,
|
H A D | bearer.h | 95 * @tolerance: default time (in ms) before declaring link failure 122 u32 tolerance; member in struct:tipc_media 144 * @tolerance: default link tolerance for bearer 169 u32 tolerance; member in struct:tipc_bearer
|
H A D | link.c | 89 * @tolerance: minimum link continuity loss needed to reset link [in ms] 149 u32 tolerance; member in struct:tipc_link 255 int tolerance, int priority, 347 return l->tolerance; 464 * @tolerance: link tolerance to be used by link 484 int tolerance, char net_plane, u32 mtu, int priority, 522 l->tolerance = tolerance; 524 bc_rcvlink->tolerance 483 tipc_link_create(struct net *net, char *if_name, int bearer_id, int tolerance, char net_plane, u32 mtu, int priority, u32 min_win, u32 max_win, u32 session, u32 self, u32 peer, u8 *peer_id, u16 peer_caps, struct tipc_link *bc_sndlink, struct tipc_link *bc_rcvlink, struct sk_buff_head *inputq, struct sk_buff_head *namedq, struct tipc_link **link) argument 1841 tipc_link_build_proto_msg(struct tipc_link *l, int mtyp, bool probe, bool probe_reply, u16 rcvgap, int tolerance, int priority, struct sk_buff_head *xmitq) argument [all...] |
H A D | bearer.c | 336 b->tolerance = m->tolerance; 843 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, bearer->tolerance)) 1141 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); 1205 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_TOL, media->tolerance)) 1338 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]);
|
H A D | link.h | 75 int tolerance, char net_plane, u32 mtu, int priority,
|
/linux-master/include/drm/ |
H A D | drm_fixed.h | 196 s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000); 205 while (term >= tolerance) {
|
/linux-master/arch/alpha/kernel/ |
H A D | time.c | 398 unsigned long cycle_freq, tolerance; 426 tolerance = cycle_freq / 4000; 430 if ((unsigned long)diff > tolerance) { 393 unsigned long cycle_freq, tolerance; local
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_pixpll.c | 198 const unsigned int tolerance = 1000; local 199 unsigned int min = tolerance; 239 if (min < tolerance) {
|
/linux-master/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 41 * pde_get_multiple() - get number of multiples considering a given tolerance 42 * Return value: factor if abs(val - factor*fraction) <= tolerance, 0 otherwise 44 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) argument 55 if (delta <= tolerance) 56 /* val and fraction are within tolerance */ 61 if (remainder > tolerance) { 63 if ((fraction - remainder) <= tolerance) 64 /* remainder is within tolerance */
|
/linux-master/kernel/time/ |
H A D | time.c | 302 txc->tolerance = tx32.tolerance; 331 tx32.tolerance = txc->tolerance;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clock_source.c | 182 * checking for tolerance. 187 * @tolerance: Tolerance for Calculated Pixel Clock to be within 191 * if calculated values are within required tolerance 192 * It returns - true if error is within tolerance 193 * - false if error is not within tolerance 200 uint32_t tolerance) 235 if (abs_err <= tolerance) { 262 uint32_t tolerance; local 266 tolerance = (pll_settings->adjusted_pix_clk_100hz * err_tolerance) / 268 if (tolerance < CALC_PLL_CLK_SRC_ERR_TOLERANC 195 calc_fb_divider_checking_tolerance( struct calc_pll_clock_source *calc_pll_cs, struct pll_settings *pll_settings, uint32_t ref_divider, uint32_t post_divider, uint32_t tolerance) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | w83l786ng.c | 134 u8 tolerance[2]; member in struct:w83l786ng_data 205 /* Update Smart Fan I/II tolerance */ 207 data->tolerance[0] = reg_tmp & 0x0f; 208 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; 578 return sprintf(buf, "%ld\n", (long)data->tolerance[nr]); 601 data->tolerance[nr] = tol_tmp;
|
H A D | w83793.c | 245 u8 tolerance[3]; /* Temp tolerance(Smart Fan I/II) */ member in struct:w83793_data 777 * If Temp higher or lower than target with this tolerance, w83793 779 * temperature within the tolerance range. 804 val = data->tolerance[index >> 1] >> ((index & 0x01) ? 4 : 0); 857 data->tolerance[i] = 860 data->tolerance[i] &= ~(0x0f << shift); 861 data->tolerance[i] |= TEMP_TO_REG(val, 0, 0x0f) << shift; 863 data->tolerance[i]); 1072 SENSOR_ATTR_2(tolerance##inde [all...] |
/linux-master/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 45 self.tolerance = t 102 Get bounds and tolerance from lb, ub, and error. 103 If missing lb, use 0.0; missing ub, use float('inf); missing error, use self.tolerance. 107 @param error: float/str, error tolerance 110 tolerance, denormalized base on upper bound value 134 t = get_bound_value(error, self.tolerance, ridx) 481 'ErrorThreshold': self.tolerance,
|