Home
last modified time | relevance | path

Searched refs:xgmac_dma_desc (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dcalxedaxgmac.c205 struct xgmac_dma_desc { struct
215 static inline void desc_set_buf_len(struct xgmac_dma_desc *p, u32 buf_sz) in desc_set_buf_len() argument
224 static inline int desc_get_buf_len(struct xgmac_dma_desc *p) in desc_get_buf_len()
231 static inline void desc_init_rx_desc(struct xgmac_dma_desc *p, int ring_size, in desc_init_rx_desc()
234 struct xgmac_dma_desc *end = p + ring_size - 1; in desc_init_rx_desc()
244 static inline void desc_init_tx_desc(struct xgmac_dma_desc *p, u32 ring_size) in desc_init_tx_desc()
250 static inline int desc_get_owner(struct xgmac_dma_desc *p) in desc_get_owner()
255 static inline void desc_set_rx_owner(struct xgmac_dma_desc *p) in desc_set_rx_owner()
261 static inline void desc_set_tx_owner(struct xgmac_dma_desc *p, u32 flags) in desc_set_tx_owner()
269 static inline void *desc_get_buf_addr(struct xgmac_dma_desc *p) in desc_get_buf_addr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/calxeda/
H A Dxgmac.c324 struct xgmac_dma_desc { struct
355 struct xgmac_dma_desc *dma_rx;
360 struct xgmac_dma_desc *dma_tx;
404 static inline void desc_set_buf_len(struct xgmac_dma_desc *p, u32 buf_sz) in desc_set_buf_len()
413 static inline int desc_get_buf_len(struct xgmac_dma_desc *p) in desc_get_buf_len()
420 static inline void desc_init_rx_desc(struct xgmac_dma_desc *p, int ring_size, in desc_init_rx_desc()
423 struct xgmac_dma_desc *end = p + ring_size - 1; in desc_init_rx_desc()
433 static inline void desc_init_tx_desc(struct xgmac_dma_desc *p, u32 ring_size) in desc_init_tx_desc()
439 static inline int desc_get_owner(struct xgmac_dma_desc *p) in desc_get_owner()
444 static inline void desc_set_rx_owner(struct xgmac_dma_desc *p) in desc_set_rx_owner()
[all …]