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 */
47 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
97 ((_ring)->desc_data_head + \
98 ((idx) & ((_ring)->dma_desc_count - 1))); \
104 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
111 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
119 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
120 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
128 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
129 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
213 /* Common Tx and Rx DMA hardware descriptor */
221 /* Page allocation related values */
240 /* Tx-related desc data */
246 /* Rx-related desc data */
284 * dma_desc_addr: DMA address of descriptor
290 * skb_dma: DMA address of SKB data
291 * skb_dma_len: Length of SKB DMA area
297 /* Tx/Rx -related data */
305 * context descriptor) has not been DMA'd yet the current state
317 /* Per packet related information */
320 /* Virtual/DMA addresses of DMA descriptor list and the total count */
325 /* Array of descriptor data corresponding the DMA descriptor
335 * cur - Tx: index of descriptor to be used for current transfer
337 * dirty - Tx: index of descriptor to check for transfer complete
362 /* Queue index and base address of queue's DMA registers */
370 /* Netdev related settings */
425 /* For descriptor related operation */
441 /* For Vlan related config */
468 /* For TX DMA Operate on Second Frame config */
503 unsigned int rwk; /* PMT remote wake-up packet */
507 unsigned int ts; /* IEEE 1588-2008 Advanced Timestamp */
519 unsigned int dma_width; /* DMA width */
523 unsigned int dma_debug; /* DMA Debug Registers */
527 unsigned int l3l4_filter_num; /* Number of L3-L4 Filters */
532 unsigned int rx_ch_cnt; /* Number of DMA Receive Channels */
533 unsigned int tx_ch_cnt; /* Number of DMA Transmit Channels */
563 /* Rings for Tx/Rx on a DMA channel */
608 /* Netdev related settings */