Lines Matching +full:convert +full:- +full:rate
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2010-2014 Imagination Technologies Ltd.
12 #include <media/rc-core.h>
18 #define IMG_IR_CODETYPE_BIPHASE 0x2 /* RC-5/6 */
19 #define IMG_IR_CODETYPE_2BITPULSEPOS 0x3 /* RC-MM */
25 * struct img_ir_control - Decoder control settings
53 * struct img_ir_timing_range - range of timing values
65 * struct img_ir_symbol_timing - timing data for a symbol
75 * struct img_ir_free_timing - timing data for free time symbol
88 * struct img_ir_timings - Timing values.
102 * struct img_ir_filter - Filter IR events.
116 * struct img_ir_timing_regvals - Calculated timing register values.
132 * struct img_ir_scancode_req - Scancode request data.
146 * struct img_ir_decoder - Decoder settings for an IR protocol.
155 * @scancode: Pointer to function to convert the IR data into a scancode (it
159 * Returns -errno (e.g. -EINVAL) on error.
160 * @filter: Pointer to function to convert scancode filter to raw hardware
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.
222 * @clk_hz: Current core clock rate in Hz.
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()