Lines Matching +full:timing +full:- +full:0
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2010-2014 Imagination Technologies Ltd.
12 #include <media/rc-core.h>
16 #define IMG_IR_CODETYPE_PULSELEN 0x0 /* Sony */
17 #define IMG_IR_CODETYPE_PULSEDIST 0x1 /* NEC, Toshiba, Micom, Sharp */
18 #define IMG_IR_CODETYPE_BIPHASE 0x2 /* RC-5/6 */
19 #define IMG_IR_CODETYPE_2BITPULSEPOS 0x3 /* RC-MM */
22 /* Timing information */
25 * struct img_ir_control - Decoder control settings
53 * struct img_ir_timing_range - range of timing values
54 * @min: Minimum timing value
55 * @max: Maximum timing value (if < @min, this will be set to @min during
65 * struct img_ir_symbol_timing - timing data for a symbol
66 * @pulse: Timing range for the length of the pulse in this symbol
67 * @space: Timing range for the length of the space in this symbol
75 * struct img_ir_free_timing - timing data for free time symbol
88 * struct img_ir_timings - Timing values.
89 * @ldr: Leader symbol timing data
90 * @s00: Zero symbol timing data for primary decoder
91 * @s01: One symbol timing data for primary decoder
92 * @s10: Zero symbol timing data for secondary (no leader symbol) decoder
93 * @s11: One symbol timing data for secondary (no leader symbol) decoder
94 * @ft: Free time symbol timing data
102 * struct img_ir_filter - Filter IR events.
116 * struct img_ir_timing_regvals - Calculated timing register values.
117 * @ldr: Leader symbol timing register value
118 * @s00: Zero symbol timing register value for primary decoder
119 * @s01: One symbol timing register value for primary decoder
120 * @s10: Zero symbol timing register value for secondary decoder
121 * @s11: One symbol timing register value for secondary decoder
122 * @ft: Free time symbol timing register value
128 #define IMG_IR_SCANCODE 0 /* new scancode */
132 * struct img_ir_scancode_req - Scancode request data.
137 * @toggle: Toggle bit (defaults to 0).
146 * struct img_ir_decoder - Decoder settings for an IR protocol.
148 * @tolerance: Timing tolerance as a percentage (default 10%).
159 * Returns -errno (e.g. -EINVAL) on error.
190 * struct img_ir_reg_timings - Reg values for decoder timings at clock rate.
214 * struct img_ir_priv_hw - Private driver data for hardware decoder.
219 * @suspend_timer: Timer to re-enable protocol.
223 * @reg_timings: Timing reg values for decoder at clock rate.
253 return hw->rdev; in img_ir_hw_enabled()
286 return -ENODEV; in img_ir_probe_hw()