Lines Matching +full:short +full:- +full:descriptor

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))
92 /* Helper macro for descriptor handling
93 * Always use XLGMAC_GET_DESC_DATA to access the descriptor data
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 */
240 /* Tx-related desc data */
246 /* Rx-related desc data */
251 unsigned short hdr_len; /* Length of received header */
252 unsigned short len; /* Length of received packet */
272 unsigned short mss;
274 unsigned short vlan_ctag;
283 /* dma_desc: Virtual address of descriptor
284 * dma_desc_addr: DMA address of descriptor
297 /* Tx/Rx -related data */
304 * or the last descriptor (last normal descriptor or a following
305 * context descriptor) has not been DMA'd yet the current state
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
336 * Rx: index of descriptor to check for packet availability
337 * dirty - Tx: index of descriptor to check for transfer complete
338 * Rx: index of descriptor to check for buffer reallocation
350 unsigned short cur_mss;
351 unsigned short cur_vlan_ctag;
425 /* For descriptor related operation */
503 unsigned int rwk; /* PMT remote wake-up packet */
507 unsigned int ts; /* IEEE 1588-2008 Advanced Timestamp */
527 unsigned int l3l4_filter_num; /* Number of L3-L4 Filters */