Lines Matching +full:rx +full:- +full:input
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #define ENE_STATUS 0 /* hardware status - unused */
37 #define ENE_FW2_RXIRQ 0x04 /* RX IRQ pending*/
38 #define ENE_FW2_GP0A 0x08 /* Use GPIO0A for demodulated input */
42 #define ENE_FW2_FAN_INPUT 0x40 /* fan input used for demodulated data*/
45 /* firmware RX pointer for new style buffer */
48 /* high parts of samples for fan input (8 samples)*/
52 #define ENE_FW_SAMPLE_PERIOD_FAN 61 /* fan input has fixed sample period */
66 /* fan as input settings */
80 #define ENE_CIRCFG_RX_EN 0x01 /* RX enable */
82 #define ENE_CIRCFG_REV_POL 0x04 /* Input polarity reversed */
97 #define ENE_CIRCFG2_GPIO0A 0x20 /* Use GPIO0A instead of GPIO40 for input */
101 /* Knobs for protocol decoding - will document when/if will use them */
108 /* Actual register which contains RLC RX data - read by firmware */
112 /* RLC configuration - sample period (1us resolution) + idle mode */
125 * Low nibble - number of carrier pulses to average
126 * High nibble - number of initial carrier pulses to discard
130 /* detected RX carrier period (resolution: 500 ns) */
134 /* detected RX carrier pulse width (resolution: 500 ns) */
192 bool hw_use_gpio_0a; /* gpio0a is demodulated input*/
194 bool hw_fan_input; /* fan input is IR data source */
199 /* Extra RX buffer location */
208 bool rx_fan_input_inuse; /* is fan input in use for rx*/
215 unsigned *tx_buffer; /* input samples buffer*/
228 /* RX settings */
229 bool learning_mode_enabled; /* learning input enabled */