Lines Matching +full:rx +full:- +full:watermark
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
36 * it is Copyrighted (C) 2007-2008 SMSC.
42 * ---------------
43 * Tx frames are prefixed with an 8-byte header which describes the frame
46 * +------------+------------+--- . . . . . . . . . . . . ---+
48 * +------------+------------+--- . . . . . . . . . . . . ---+
75 * --------------
76 * Rx frames are prefixed with an 4-byte status header which describes any
80 * +------------+--- . . . . . . . . . . . . ---+
82 * +------------+--- . . . . . . . . . . . . ---+
162 #define SMSC_HW_CFG_RXDOFF (0x3UL << 9) /* RX pkt alignment */
176 /* Hi watermark = 15.5Kb (~10 mtu pkts) */
177 /* low watermark = 3k (~2 mtu pkts) */
202 #define SMSC_MAC_CSR_RXEN (0x1UL << 2) /* RX enable */
224 #define SMSC_COE_CTRL_RX_EN (0x1UL << 0) /* Rx H/W csum enable */
273 #define SMSC_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
274 #define SMSC_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
275 #define SMSC_LOCK_ASSERT(_sc, t) mtx_assert(&(_sc)->sc_mtx, t)