Lines Matching +full:ks8851 +full:- +full:mll
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* drivers/net/ethernet/micrel/ks8851.h
7 * KS8851 register definitions
16 #define CCR_LE (1 << 10) /* KSZ8851-16MLL */
19 #define CCR_8BIT (1 << 7) /* KSZ8851-16MLL */
20 #define CCR_16BIT (1 << 6) /* KSZ8851-16MLL */
21 #define CCR_32BIT (1 << 5) /* KSZ8851-16MLL */
22 #define CCR_SHARED (1 << 4) /* KSZ8851-16MLL */
23 #define CCR_48PIN (1 << 1) /* KSZ8851-16MLL */
27 #define KS_MAR(_m) (0x14 - (_m))
180 #define RXFDPR_WST (1 << 12) /* KSZ8851-16MLL */
181 #define RXFDPR_EMS (1 << 11) /* KSZ8851-16MLL */
310 * struct ks8851_rxctrl - KS8851 driver rx control
311 * @mchash: Multicast hash-table data.
316 * such as the multicast hash-filter and the receive register settings. This
328 * union ks8851_tx_hdr - tx header data
330 * @txw: The header as 16bit, little-endian words
342 * struct ks8851_net - KS8851 driver private data
349 * @txh: Space for generating packet TX header in DMA-able data
350 * @rxd: Space for receiving SPI data, in DMA-able space.
351 * @txd: Space for transmitting SPI data, in DMA-able space.
359 * @eeprom: 93CX6 EEPROM state for accessing on-board EEPROM.
438 * ks8851_done_tx - update and then free skbuff after transmitting
445 struct net_device *dev = ks->netdev; in ks8851_done_tx()
447 dev->stats.tx_bytes += txb->len; in ks8851_done_tx()
448 dev->stats.tx_packets++; in ks8851_done_tx()