/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | hugetlb_reparenting_test.sh | 69 local tolerance=$((5 * 1024 * 1024)) 73 if [[ $actual_a -lt $(($expected_a - $tolerance)) ]] || 74 [[ $actual_a -gt $(($expected_a + $tolerance)) ]]; then 85 if [[ $actual_a_hugetlb -lt $(($expected_a_hugetlb - $tolerance)) ]] || 86 [[ $actual_a_hugetlb -gt $(($expected_a_hugetlb + $tolerance)) ]]; then 101 if [[ $actual_b -lt $(($expected_b - $tolerance)) ]] || 102 [[ $actual_b -gt $(($expected_b + $tolerance)) ]]; then 113 if [[ $actual_b_hugetlb -lt $(($expected_b_hugetlb - $tolerance)) ]] || 114 [[ $actual_b_hugetlb -gt $(($expected_b_hugetlb + $tolerance)) ]]; then
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | hugetlb_reparenting_test.sh | 72 local tolerance=$((5 * 1024 * 1024)) 76 if [[ $actual_a -lt $(($expected_a - $tolerance)) ]] || 77 [[ $actual_a -gt $(($expected_a + $tolerance)) ]]; then 88 if [[ $actual_a_hugetlb -lt $(($expected_a_hugetlb - $tolerance)) ]] || 89 [[ $actual_a_hugetlb -gt $(($expected_a_hugetlb + $tolerance)) ]]; then 104 if [[ $actual_b -lt $(($expected_b - $tolerance)) ]] || 105 [[ $actual_b -gt $(($expected_b + $tolerance)) ]]; then 116 if [[ $actual_b_hugetlb -lt $(($expected_b_hugetlb - $tolerance)) ]] || 117 [[ $actual_b_hugetlb -gt $(($expected_b_hugetlb + $tolerance)) ]]; then
|
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/ |
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, in img_ir_timing_range_convert() 182 /* add a tolerance */ in img_ir_timing_range_convert() 183 min = min - (min*tolerance >> 7); in img_ir_timing_range_convert() 184 max = max + (max*tolerance >> 7); in img_ir_timing_range_convert() 196 * @tolerance: Timing tolerance where 0-128 represents 0-100% 204 unsigned int tolerance, in img_ir_symbol_timing() 214 tolerance, clock_h in img_ir_symbol_timing() 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) img_ir_timing_range_convert() 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) img_ir_symbol_timing() 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) img_ir_timings_convert() argument [all...] |
H A D | img-ir-rc6.c | 80 .tolerance = 20,
|
H A D | img-ir-rc5.c | 58 .tolerance = 16,
|
/kernel/linux/linux-6.6/drivers/media/rc/img-ir/ |
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, in img_ir_timing_range_convert() 182 /* add a tolerance */ in img_ir_timing_range_convert() 183 min = min - (min*tolerance >> 7); in img_ir_timing_range_convert() 184 max = max + (max*tolerance >> 7); in img_ir_timing_range_convert() 196 * @tolerance: Timing tolerance where 0-128 represents 0-100% 204 unsigned int tolerance, in img_ir_symbol_timing() 214 tolerance, clock_h in img_ir_symbol_timing() 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) img_ir_timing_range_convert() 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) img_ir_symbol_timing() 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) img_ir_timings_convert() argument [all...] |
H A D | img-ir-rc6.c | 80 .tolerance = 20,
|
H A D | img-ir-rc5.c | 58 .tolerance = 16,
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 39 uint64_t tolerance, thresh_low, thresh_high; in compare_tsc_freq() local 41 tolerance = expected / 100; in compare_tsc_freq() 42 thresh_low = expected - tolerance; in compare_tsc_freq() 43 thresh_high = expected + tolerance; in compare_tsc_freq()
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | timex.h | 32 __kernel_long_t tolerance; member 71 long long tolerance; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | timex.h | 32 __kernel_long_t tolerance; member 71 long long tolerance; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | timex.h | 74 __kernel_long_t tolerance;/* clock frequency tolerance (ppm) member 113 long long tolerance;/* clock frequency tolerance (ppm) member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | timex.h | 74 __kernel_long_t tolerance;/* clock frequency tolerance (ppm) member 113 long long tolerance;/* clock frequency tolerance (ppm) member
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_fixed.h | 190 s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000); 199 while (term >= tolerance) {
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_fixed.h | 196 s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000); 205 while (term >= tolerance) {
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | time.c | 398 unsigned long cycle_freq, tolerance; in time_init() 426 tolerance = cycle_freq / 4000; in time_init() 430 if ((unsigned long)diff > tolerance) { in time_init() 393 unsigned long cycle_freq, tolerance; time_init() local
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | time.c | 398 unsigned long cycle_freq, tolerance; in time_init() 426 tolerance = cycle_freq / 4000; in time_init() 430 if ((unsigned long)diff > tolerance) { in time_init() 393 unsigned long cycle_freq, tolerance; time_init() local
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_pixpll.c | 198 const unsigned int tolerance = 1000; in lsdc_pixel_pll_compute() local 199 unsigned int min = tolerance; in lsdc_pixel_pll_compute() 239 if (min < tolerance) { in lsdc_pixel_pll_compute()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | link.c | 92 * @tolerance: minimum link continuity loss needed to reset link [in ms] 136 u32 tolerance; member 242 int tolerance, int priority, 334 return l->tolerance; in tipc_link_tolerance() 451 * @tolerance: link tolerance to be used by link 470 int tolerance, char net_plane, u32 mtu, int priority, in tipc_link_create() 508 l->tolerance = tolerance; in tipc_link_create() 510 bc_rcvlink->tolerance in tipc_link_create() 469 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) tipc_link_create() argument 1820 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) tipc_link_build_proto_msg() argument [all...] |
H A D | bearer.h | 95 * @tolerance: default time (in ms) before declaring link failure 122 u32 tolerance; member 144 * @tolerance: default link tolerance for bearer 169 u32 tolerance; member
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | link.c | 92 * @tolerance: minimum link continuity loss needed to reset link [in ms] 164 u32 tolerance; member 270 int tolerance, int priority, 362 return l->tolerance; in tipc_link_tolerance() 479 * @tolerance: link tolerance to be used by link 499 int tolerance, char net_plane, u32 mtu, int priority, in tipc_link_create() 537 l->tolerance = tolerance; in tipc_link_create() 539 bc_rcvlink->tolerance in tipc_link_create() 498 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) tipc_link_create() argument 1856 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) tipc_link_build_proto_msg() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 42 * pde_get_multiple() - get number of multiples considering a given tolerance 43 * @return factor if abs(val - factor*fraction) <= tolerance, 0 otherwise 45 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) in pde_get_multiple() argument 56 if (delta <= tolerance) in pde_get_multiple() 57 /* val and fraction are within tolerance */ in pde_get_multiple() 62 if (remainder > tolerance) { in pde_get_multiple() 64 if ((fraction - remainder) <= tolerance) in pde_get_multiple() 65 /* remainder is within tolerance */ in pde_get_multiple()
|
/kernel/linux/linux-6.6/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) in pde_get_multiple() argument 55 if (delta <= tolerance) in pde_get_multiple() 56 /* val and fraction are within tolerance */ in pde_get_multiple() 61 if (remainder > tolerance) { in pde_get_multiple() 63 if ((fraction - remainder) <= tolerance) in pde_get_multiple() 64 /* remainder is within tolerance */ in pde_get_multiple()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.h | 38 unsigned int tolerance);
|
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.h | 38 unsigned int tolerance);
|