Lines Matching +defs:p +defs:limit

400 #define tx_dma_ring_space(p) \  argument
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()
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()
450 static inline void desc_set_tx_owner(struct xgmac_dma_desc *p, u32 flags) in desc_set_tx_owner()
458 static inline void desc_clear_tx_owner(struct xgmac_dma_desc *p) in desc_clear_tx_owner()
465 static inline int desc_get_tx_ls(struct xgmac_dma_desc *p) in desc_get_tx_ls()
470 static inline int desc_get_tx_fs(struct xgmac_dma_desc *p) in desc_get_tx_fs()
475 static inline u32 desc_get_buf_addr(struct xgmac_dma_desc *p) in desc_get_buf_addr()
480 static inline void desc_set_buf_addr(struct xgmac_dma_desc *p, in desc_set_buf_addr()
488 static inline void desc_set_buf_addr_and_size(struct xgmac_dma_desc *p, in desc_set_buf_addr_and_size()
495 static inline int desc_get_rx_frame_len(struct xgmac_dma_desc *p) in desc_get_rx_frame_len()
515 static int desc_get_tx_status(struct xgmac_priv *priv, struct xgmac_dma_desc *p) in desc_get_tx_status()
542 static int desc_get_rx_status(struct xgmac_priv *priv, struct xgmac_dma_desc *p) in desc_get_rx_status()
679 struct xgmac_dma_desc *p; in xgmac_rx_refill() local
792 struct xgmac_dma_desc *p; in xgmac_free_rx_skbufs() local
813 struct xgmac_dma_desc *p; in xgmac_free_tx_skbufs() local
871 struct xgmac_dma_desc *p = priv->dma_tx + entry; in xgmac_tx_complete() local
945 int limit; in xgmac_hw_init() local
1166 static int xgmac_rx(struct xgmac_priv *priv, int limit) in xgmac_rx()
1170 struct xgmac_dma_desc *p; in xgmac_rx() local
1473 static int xgmac_set_mac_address(struct net_device *dev, void *p) in xgmac_set_mac_address()
1594 void *p = priv; in xgmac_get_ethtool_stats() local
1621 u8 *p = data; in xgmac_get_strings() local