Lines Matching +full:rx +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
28 #define T_A 0x04000000 /* Address - the data transmitted as address
31 #define T_CM 0x02000000 /* continuous mode */
33 #define T_P 0x01000000 /* Preamble - send Preamble sequence before
54 #define R_CM 0x02000000 /* continuous mode */
57 mode */
62 #define R_NO 0x00100000 /* Rx Non Octet Aligned Packet */
74 /* Rx Data buffer must be 4 bytes aligned in most cases.*/
80 /* UCC Slow Channel Protocol Mode */
89 /* 16-bit CCITT CRC (HDLC). (X16 + X12 + X5 + 1) */
93 /* 32-bit CCITT CRC (Ethernet and HDLC) */
99 /* 1x clock mode */
101 /* 8x clock mode */
103 /* 16x clock mode */
105 /* 32x clock mode */
112 /* 1x clock mode */
114 /* 8x clock mode */
116 /* 16x clock mode */
118 /* 32x clock mode */
136 /* UCC Slow Diagnostic mode (DIAG)
176 enum ucc_slow_channel_protocol_mode mode; member
190 int enabled_rx; /* Whether channel is enabled for Rx (ENR) */
193 int stopped_rx; /* Whether channel has been stopped for Rx */
198 s32 rx_base_offset; /* first BD in Rx BD table offset (In MURAM) */
201 struct qe_bd __iomem *rx_bd; /* next BD to collect after Rx */
205 u16 saved_uccm; /* a saved mask for the RX Interrupt bits */
219 * us_info - (In) pointer to the slow UCC info structure.
220 * uccs_ret - (Out) pointer to the slow UCC structure.
227 * uccs - (In) pointer to the slow UCC structure.
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.
238 void ucc_slow_enable(struct ucc_slow_private * uccs, enum comm_dir mode);
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.
247 void ucc_slow_disable(struct ucc_slow_private * uccs, enum comm_dir mode);
252 * uccs - (In) pointer to the slow UCC structure.
259 * uccs - (In) pointer to the slow UCC structure.
266 * uccs - (In) pointer to the slow UCC structure.