Lines Matching +full:ucc +full:- +full:hdlc
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Internal header file for UCC FAST unit routines.
18 #include <soc/fsl/qe/ucc.h>
54 #define T_UN_S 0x0002 /* hdlc underrun */
55 #define T_CT_S 0x0001 /* hdlc carrier lost */
66 /* ucc_fast_channel_protocol_mode - UCC FAST mode */
86 /* ucc_fast_transparent_txrx - UCC Fast Transparent TX & RX */
92 /* UCC fast diagnostic mode */
100 /* UCC fast Sync length (transparent mode only) */
108 /* UCC fast RTS mode */
114 /* UCC fast receiver decoding mode */
122 /* UCC fast transmitter encoding mode */
130 /* UCC fast CRC length */
138 /* Fast UCC initialization structure */
179 struct ucc_fast __iomem *uf_regs; /* a pointer to the UCC regs. */
209 * Initializes Fast UCC according to user provided parameters.
211 * uf_info - (In) pointer to the fast UCC info structure.
212 * uccf_ret - (Out) pointer to the fast UCC structure.
217 * Frees all resources for fast UCC.
219 * uccf - (In) pointer to the fast UCC structure.
224 * Enables a fast UCC port.
225 * This routine enables Tx and/or Rx through the General UCC Mode Register.
227 * uccf - (In) pointer to the fast UCC structure.
228 * mode - (In) TX, RX, or both.
233 * Disables a fast UCC port.
234 * This routine disables Tx and/or Rx through the General UCC Mode Register.
236 * uccf - (In) pointer to the fast UCC structure.
237 * mode - (In) TX, RX, or both.
242 * Handles interrupts on fast UCC.
243 * Called from the general interrupt routine to handle interrupts on fast UCC.
245 * uccf - (In) pointer to the fast UCC structure.
258 * uccf - (In) pointer to the fast UCC structure.