Lines Matching +full:8 +full:- +full:channel
1 /* SPDX-License-Identifier: GPL-2.0 */
24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
39 #define R8 8
90 #define Rx8 0xc0 /* Rx 8 Bits/Character */
103 #define MONSYNC 0 /* 8 Bit Sync character */
118 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */
124 #define Tx8 0x60 /* Tx 8 bits/character */
128 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */
130 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */
136 #define RxFIFO_LVL 8 /* Receive FIFO interrupt level */
141 /* Write Register 8 (transmit buffer) */
147 #define MIE 8 /* Master Interrupt Enable */
151 #define CHRB 0x40 /* Reset channel B */
152 #define CHRA 0x80 /* Reset channel A */
156 #define BIT6 1 /* 6 bit/8bit sync */
159 #define MARKIDLE 8 /* Mark/flag on idle */
174 #define TCTRxCP 8 /* Transmit clock = TRxC pin */
191 #define AUTOECHO 8 /* Auto Echo */
205 #define DCDIE 8 /* DCD IE */
224 /* Residue Data for 8 Rx bits/char programmed */
230 #define RES8 0x6 /* 0/8 */
231 #define RES18 0xe /* 1/8 */
232 #define RES28 0x0 /* 2/8 */
239 /* Read Register 2 (channel b only) - Interrupt vector */
251 #define CHBEXT 0x1 /* Channel B Ext/Stat IP */
252 #define CHBTxIP 0x2 /* Channel B Tx IP */
253 #define CHBRxIP 0x4 /* Channel B Rx IP */
254 #define CHAEXT 0x8 /* Channel A Ext/Stat IP */
255 #define CHATxIP 0x10 /* Channel A Tx IP */
256 #define CHARxIP 0x20 /* Channel A Rx IP */
262 /* Read Register 8 (receive data register) */
277 #define ZS_CLEARERR(channel) do { sbus_writeb(ERR_RES, &channel->control); \ argument
280 #define ZS_CLEARSTAT(channel) do { sbus_writeb(RES_EXT_INT, &channel->control); \ argument
283 #define ZS_CLEARFIFO(channel) do { sbus_readb(&channel->data); \ argument
285 sbus_readb(&channel->data); \
287 sbus_readb(&channel->data); \