Lines Matching +full:rx +full:- +full:shared
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
72 if_softc_ctx_t shared; member
73 #define tx_num_queues shared->isc_ntxqsets
74 #define rx_num_queues shared->isc_nrxqsets
75 #define tx_queue_size shared->isc_ntxd[0]
76 #define rx_queue_size shared->isc_nrxd[0]
86 /* Default RX queue configuration. */
104 bus_read_4((sc)->regs, reg)
106 bus_write_4((sc)->regs, reg, value)
109 bus_read_8((sc)->regs, ENETC_PORT_BASE + (reg))
111 bus_read_4((sc)->regs, ENETC_PORT_BASE + (reg))
113 bus_write_4((sc)->regs, ENETC_PORT_BASE + (reg), value)
115 bus_read_2((sc)->regs, ENETC_PORT_BASE + (reg))
117 bus_write_2((sc)->regs, ENETC_PORT_BASE + (reg), value)
124 ENETC_RD4((sc), ENETC_BDR(RX, q, reg))
126 ENETC_WR4((sc), ENETC_BDR(RX, q, reg), value)
153 /* Rx threshold irq timeout, 100us */