Searched refs:enetc_bdr (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
| D | enetc.h | 85 struct enetc_bdr { struct 117 static inline void enetc_bdr_idx_inc(struct enetc_bdr *bdr, int *i) in enetc_bdr_idx_inc() argument 123 static inline int enetc_bd_unused(struct enetc_bdr *bdr) in enetc_bd_unused() 131 static inline int enetc_swbd_unused(struct enetc_bdr *bdr) in enetc_swbd_unused() 157 static inline union enetc_rx_bd *enetc_rxbd(struct enetc_bdr *rx_ring, int i) in enetc_rxbd() 168 static inline void enetc_rxbd_next(struct enetc_bdr *rx_ring, in enetc_rxbd_next() 272 struct enetc_bdr rx_ring; 273 struct enetc_bdr tx_ring[]; 336 struct enetc_bdr **xdp_tx_ring; 337 struct enetc_bdr *tx_ring[16]; [all …]
|
| D | enetc.c | 24 static struct enetc_bdr *enetc_rx_ring_from_xdp_tx_ring(struct enetc_ndev_priv *priv, in enetc_rx_ring_from_xdp_tx_ring() 25 struct enetc_bdr *tx_ring) in enetc_rx_ring_from_xdp_tx_ring() 49 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff() 66 static void enetc_free_tx_frame(struct enetc_bdr *tx_ring, in enetc_free_tx_frame() 85 static void enetc_update_tx_ring_tail(struct enetc_bdr *tx_ring) in enetc_update_tx_ring_tail() 124 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb) in enetc_map_tx_buffs() 321 struct enetc_bdr *tx_ring; in enetc_start_xmit() 436 static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci) in enetc_bd_ready_count() 448 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page() 487 static void enetc_recycle_xdp_tx_buff(struct enetc_bdr *tx_ring, in enetc_recycle_xdp_tx_buff() [all …]
|