Lines Matching +full:ucc +full:- +full:hdlc

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * Internal header file for UCC SLOW unit routines.
19 #include <soc/fsl/qe/ucc.h>
28 #define T_A 0x04000000 /* Address - the data transmitted as address
33 #define T_P 0x01000000 /* Preamble - send Preamble sequence before
80 /* UCC Slow Channel Protocol Mode */
87 /* UCC Slow Transparent Transmit CRC (TCRC) */
89 /* 16-bit CCITT CRC (HDLC). (X16 + X12 + X5 + 1) */
93 /* 32-bit CCITT CRC (Ethernet and HDLC) */
97 /* UCC Slow oversampling rate for transmitter (TDCR) */
109 /* UCC Slow Oversampling rate for receiver (RDCR)
122 /* UCC Slow Transmitter encoding method (TENC)
129 /* UCC Slow Receiver decoding method (RENC)
136 /* UCC Slow Diagnostic mode (DIAG)
186 struct ucc_slow __iomem *us_regs; /* Ptr to memory map of UCC regs */
217 * Initializes Slow UCC according to provided parameters.
219 * us_info - (In) pointer to the slow UCC info structure.
220 * uccs_ret - (Out) pointer to the slow UCC structure.
225 * Frees all resources for slow UCC.
227 * uccs - (In) pointer to the slow UCC structure.
232 * Enables a fast UCC port.
233 * This routine enables Tx and/or Rx through the General UCC Mode Register.
235 * uccs - (In) pointer to the slow UCC structure.
236 * mode - (In) TX, RX, or both.
241 * Disables a fast UCC port.
242 * This routine disables Tx and/or Rx through the General UCC Mode Register.
244 * uccs - (In) pointer to the slow UCC structure.
245 * mode - (In) TX, RX, or both.
250 * Smoothly stops transmission on a specified slow UCC.
252 * uccs - (In) pointer to the slow UCC structure.
257 * Stops transmission on a specified slow UCC.
259 * uccs - (In) pointer to the slow UCC structure.
264 * Restarts transmitting on a specified slow UCC.
266 * uccs - (In) pointer to the slow UCC structure.