Lines Matching defs:timing
77 static void img_ir_symbol_timing_preprocess(struct img_ir_symbol_timing *timing,
80 img_ir_timing_preprocess(&timing->pulse, unit);
81 img_ir_timing_preprocess(&timing->space, unit);
109 static void img_ir_symbol_timing_defaults(struct img_ir_symbol_timing *timing,
112 img_ir_timing_defaults(&timing->pulse, &defaults->pulse);
113 img_ir_timing_defaults(&timing->space, &defaults->space);
164 * @out: Output timing range in clock cycles with a shift.
165 * @in: Input timing range in microseconds.
194 * img_ir_symbol_timing() - Convert symbol timing struct to register value.
195 * @timing: Symbol timing data
201 * Returns: Symbol timing register value based on arguments.
203 static u32 img_ir_symbol_timing(const struct img_ir_symbol_timing *timing,
211 hw_period.min = timing->pulse.min + timing->space.min;
212 hw_period.max = timing->pulse.max + timing->space.max;
215 img_ir_timing_range_convert(&hw_pulse, &timing->pulse,
225 * img_ir_free_timing() - Convert free time timing struct to register value.
226 * @timing: Free symbol timing data
229 * Returns: Free symbol timing register value.
231 static u32 img_ir_free_timing(const struct img_ir_free_timing *timing,
236 if (timing->minlen < 30)
237 minlen = timing->minlen & -2;
241 if (timing->maxlen < 48)
242 maxlen = (timing->maxlen + 1) & -2;
246 ft_min = (timing->ft_min*clock_hz + 999999) / 1000000;
285 * @regs: Output timing register values
286 * @timings: Input timing data
314 * Ensures that the symbol timing ranges are valid with respect to ordering, and
341 * Fills out the repeat timings and timing register values for a specific clock
368 * Write timing register values @regs to the hardware, taking into account the