Lines Matching +full:mtl +full:- +full:rx +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; \
167 /* MMC RX counters */
212 /* Common Tx and Rx DMA hardware descriptor */
239 /* Tx-related desc data */
245 /* Rx-related desc data */
296 /* Tx/Rx -related data */
298 struct xlgmac_rx_desc_data rx; member
329 /* Page allocation for RX buffers */
334 * cur - Tx: index of descriptor to be used for current transfer
335 * Rx: index of descriptor to check for packet availability
336 * dirty - Tx: index of descriptor to check for transfer complete
337 * Rx: index of descriptor to check for buffer reallocation
440 /* For Vlan related config */
447 /* For RX coalescing */
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 */
509 unsigned int rx_coe; /* Rx 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 */
581 /* Rx settings */
590 /* Rx coalescing settings */
595 /* Current Rx buffer size */