Lines Matching +full:tx +full:- +full:enable
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #define ENE_STATUS 0 /* hardware status - unused */
24 #define ENE_FW1_ENABLE 0x01 /* enable fw processing */
25 #define ENE_FW1_TXIRQ 0x02 /* TX interrupt pending */
30 #define ENE_FW1_WPATTERN 0x20 /* enable wake pattern */
31 #define ENE_FW1_WAKE 0x40 /* enable wake from S3 */
32 #define ENE_FW1_IRQ 0x80 /* enable interrupt */
39 #define ENE_FW2_EMMITER1_CONN 0x10 /* TX emmiter 1 connected */
40 #define ENE_FW2_EMMITER2_CONN 0x20 /* TX emmiter 2 connected */
43 #define ENE_FW2_LEARNING 0x80 /* hardware supports learning and TX */
56 #define ENE_GPIOFS1_GPIO0D 0x20 /* enable tx output on GPIO0D */
58 #define ENE_GPIOFS8_GPIO41 0x02 /* enable tx output on GPIO40 */
80 #define ENE_CIRCFG_RX_EN 0x01 /* RX enable */
81 #define ENE_CIRCFG_RX_IRQ 0x02 /* Enable hardware interrupt */
83 #define ENE_CIRCFG_CARR_DEMOD 0x08 /* Enable carrier demodulator */
85 #define ENE_CIRCFG_TX_EN 0x10 /* TX enable */
86 #define ENE_CIRCFG_TX_IRQ 0x20 /* Send interrupt on TX done */
87 #define ENE_CIRCFG_TX_POL_REV 0x40 /* TX polarity reversed */
88 #define ENE_CIRCFG_TX_CARR 0x80 /* send TX carrier or not */
96 #define ENE_CIRCFG2_CARR_DETECT 0x10 /* Enable carrier detection */
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 */
117 /* Two byte RLC TX buffer */
125 * Low nibble - number of carrier pulses to average
126 * High nibble - number of initial carrier pulses to discard
137 /* TX period (resolution: 500 ns, minimum 2)*/
139 #define ENE_CIRMOD_PRD_POL 0x80 /* TX carrier polarity*/
144 /* TX pulse width (resolution: 500 ns)*/
195 bool hw_learning_and_tx_capable; /* learning & tx capable */
209 int tx_reg; /* current reg used for TX */
211 unsigned int tx_sample; /* current sample for TX */
214 /* TX buffer */
217 int tx_len; /* current len of tx buffer */
220 struct completion tx_complete; /* TX completion */
223 /* TX settings */