Lines Matching +full:4 +full:- +full:channel

1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * cyclades cyclom-y serial driver
37 #define CD1400_NO_OF_CHANNELS 4 /* 4 serial channels per chip */
45 #define CD1400_CAR 0x68 /* channel access */
46 #define CD1400_CAR_CHAN (3<<0) /* channel select */
48 #define CD1400_GCR_PARALLEL (1<<7) /* channel 0 is parallel */
53 #define CD1400_RICR 0x44 /* receive interrupting channel */
54 #define CD1400_TICR 0x45 /* transmit interrupting channel */
55 #define CD1400_MICR 0x46 /* modem interrupting channel */
59 #define CD1400_RIR_CHAN (3<<0) /* channel select */
63 #define CD1400_TIR_CHAN (3<<0) /* channel select */
67 #define CD1400_MIR_CHAN (3<<0) /* channel select */
81 #define CD1400_RDSR_SPECIAL_SHIFT 4 /* rx special char shift */
82 #define CD1400_RDSR_SPECIAL (7<<4) /* rx special char */
91 #define CD1400_MISR_CDd (1<<4) /* CD delta */
95 * Channel registers.
98 #define CD1400_CCR 0x05 /* channel control */
102 #define CD1400_CCR_CHANRESET 0 /* current channel */
108 #define CD1400_CCR_SC (7<<0) /* special char 1-4 */
109 #define CD1400_CCR_CMDCHANCTL (1<<4) /* enables following: */
116 #define CD1400_SRER_RXDATA (1<<4) /* rx data */
120 #define CD1400_COR1 0x08 /* channel option 1 */
125 #define CD1400_COR1_NOINPCK (1<<4)
133 #define CD1400_COR2 0x09 /* channel option 2 */
135 #define CD1400_COR2_IXOFF (1<<6) /* in-band tx flow control */
141 #define CD1400_COR2_LLM (1<<4) /* local loopback mode */
146 #define CD1400_COR3 0x0A /* channel option 3 */
148 #define CD1400_COR3_SCD34 (1<<6) /* special char detect 3-4 */
150 #define CD1400_COR3_SCD12 (1<<4) /* special char detect 1-2 */
152 #define CD1400_COR4 0x1E /* channel option 4 */
156 #define CD1400_COR4_IGNBRK (1<<4)
158 #define CD1400_COR4_PFO_ESC (4<<0) /* parity/framing/overrun... */
163 #define CD1400_COR5 0x1F /* channel option 5 */
170 #define CD1400_CCSR 0x0B /* channel control status */
175 #define CD1400_SCHR4 0x1D /* special character 4 */
180 #define CD1400_MCOR1_DSRzd (1<<7) /* DSR one-to-zero delta */
183 #define CD1400_MCOR1_CDzd (1<<4)
186 #define CD1400_MCOR2_DSRod (1<<7) /* DSR zero-to-one delta */
189 #define CD1400_MCOR2_CDod (1<<4)
197 #define CD1400_MSVR2_CD (1<<4) /* !CD line (r) */