Lines Matching defs:tolerance
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_hz, pd_shift);
216 tolerance, clock_hz, w_shift);
287 * @tolerance: Timing tolerance where 0-128 represents 0-100%
292 unsigned int tolerance,
296 regs->ldr = img_ir_symbol_timing(&timings->ldr, tolerance, clock_hz,
299 regs->s00 = img_ir_symbol_timing(&timings->s00, tolerance, clock_hz,
301 regs->s01 = img_ir_symbol_timing(&timings->s01, tolerance, clock_hz,
303 regs->s10 = img_ir_symbol_timing(&timings->s10, tolerance, clock_hz,
305 regs->s11 = img_ir_symbol_timing(&timings->s11, tolerance, clock_hz,
319 /* default tolerance */
320 if (!decoder->tolerance)
321 decoder->tolerance = 10; /* percent */
322 /* and convert tolerance to fraction out of 128 */
323 decoder->tolerance = decoder->tolerance * 128 / 100;
353 decoder->tolerance, clock_hz);
358 &decoder->rtimings, decoder->tolerance,
858 /* update timer, but allowing for 1/8th tolerance */