Lines Matching +full:dma +full:- +full:related
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"
33 /* Descriptor related parameters */
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; \
212 /* Common Tx and Rx DMA hardware descriptor */
220 /* Page allocation related values */
239 /* Tx-related desc data */
245 /* Rx-related desc data */
283 * dma_desc_addr: DMA address of descriptor
289 * skb_dma: DMA address of SKB data
290 * skb_dma_len: Length of SKB DMA area
296 /* Tx/Rx -related data */
304 * context descriptor) has not been DMA'd yet the current state
316 /* Per packet related information */
319 /* Virtual/DMA addresses of DMA descriptor list and the total count */
324 /* Array of descriptor data corresponding the DMA descriptor
334 * cur - Tx: index of descriptor to be used for current transfer
336 * dirty - Tx: index of descriptor to check for transfer complete
361 /* Queue index and base address of queue's DMA registers */
369 /* Netdev related settings */
424 /* For descriptor related operation */
440 /* For Vlan related config */
467 /* For TX DMA Operate on Second Frame config */
502 unsigned int rwk; /* PMT remote wake-up packet */
506 unsigned int ts; /* IEEE 1588-2008 Advanced Timestamp */
518 unsigned int dma_width; /* DMA width */
522 unsigned int dma_debug; /* DMA Debug Registers */
526 unsigned int l3l4_filter_num; /* Number of L3-L4 Filters */
531 unsigned int rx_ch_cnt; /* Number of DMA Receive Channels */
532 unsigned int tx_ch_cnt; /* Number of DMA Transmit Channels */
562 /* Rings for Tx/Rx on a DMA channel */
607 /* Netdev related settings */