Lines Matching +full:mtl +full:- +full:tx +full:- +full:config

5  * This program is dual-licensed; you may select either version 2 of
21 #include <linux/dma-mapping.h>
29 #define XLGMAC_DRV_NAME "dwc-xlgmac"
46 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
96 ((_ring)->desc_data_head + \
97 ((idx) & ((_ring)->dma_desc_count - 1))); \
103 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
110 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
118 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
119 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
127 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
128 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
147 /* MMC TX counters */
212 /* Common Tx and Rx DMA hardware descriptor */
239 /* Tx-related desc data */
245 /* Rx-related desc data */
296 /* Tx/Rx -related data */
297 struct xlgmac_tx_desc_data tx; member
334 * cur - Tx: index of descriptor to be used for current transfer
336 * dirty - Tx: index of descriptor to check for transfer complete
351 } tx; member
440 /* For Vlan related config */
455 /* For RX and TX threshold config */
461 /* For RX and TX Store and Forward Mode config */
467 /* For TX DMA Operate on Second Frame config */
470 /* For RX and TX PBL config */
502 unsigned int rwk; /* PMT remote wake-up packet */
506 unsigned int ts; /* IEEE 1588-2008 Advanced Timestamp */
508 unsigned int tx_coe; /* Tx Checksum Offload */
515 unsigned int rx_fifo_size; /* MTL Receive FIFO Size */
516 unsigned int tx_fifo_size; /* MTL Transmit FIFO Size */
526 unsigned int l3l4_filter_num; /* Number of L3-L4 Filters */
529 unsigned int rx_q_cnt; /* Number of MTL Receive Queues */
530 unsigned int tx_q_cnt; /* Number of MTL Transmit Queues */
562 /* Rings for Tx/Rx on a DMA channel */
572 /* Tx/Rx common settings */
575 /* Tx settings */
586 /* Tx coalescing settings */