Lines Matching +full:channel +full:- +full:5
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * cyclades cyclom-y serial driver
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 */
90 #define CD1400_MISR_RId (1<<5) /* RI delta */
95 * Channel registers.
98 #define CD1400_CCR 0x05 /* channel control */
102 #define CD1400_CCR_CHANRESET 0 /* current channel */
107 #define CD1400_CCR_CMDSENDSC (1<<5) /* enables following: */
108 #define CD1400_CCR_SC (7<<0) /* special char 1-4 */
120 #define CD1400_COR1 0x08 /* channel option 1 */
122 #define CD1400_COR1_PARNORMAL (2<<5)
123 #define CD1400_COR1_PARFORCE (1<<5) /* odd/even = force 1/0 */
124 #define CD1400_COR1_PARNONE (0<<5)
133 #define CD1400_COR2 0x09 /* channel option 2 */
135 #define CD1400_COR2_IXOFF (1<<6) /* in-band tx flow control */
136 #define CD1400_COR2_ETC (1<<5) /* embedded tx command */
146 #define CD1400_COR3 0x0A /* channel option 3 */
148 #define CD1400_COR3_SCD34 (1<<6) /* special char detect 3-4 */
149 #define CD1400_COR3_FTC (1<<5) /* flow control transparency */
150 #define CD1400_COR3_SCD12 (1<<4) /* special char detect 1-2 */
152 #define CD1400_COR4 0x1E /* channel option 4 */
155 #define CD1400_COR4_INLCR (1<<5)
163 #define CD1400_COR5 0x1F /* channel option 5 */
166 #define CD1400_COR5_CMOE (1<<5) /* char matching on error */
170 #define CD1400_CCSR 0x0B /* channel control status */
180 #define CD1400_MCOR1_DSRzd (1<<7) /* DSR one-to-zero delta */
182 #define CD1400_MCOR1_RIzd (1<<5)
186 #define CD1400_MCOR2_DSRod (1<<7) /* DSR zero-to-one delta */
188 #define CD1400_MCOR2_RIod (1<<5)
196 #define CD1400_MSVR2_RI (1<<5) /* !RI line (r) */