Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.h50 struct enetc_bdr { struct
77 static inline void enetc_bdr_idx_inc(struct enetc_bdr *bdr, int *i) in enetc_bdr_idx_inc() argument
83 static inline int enetc_bd_unused(struct enetc_bdr *bdr) in enetc_bd_unused()
161 struct enetc_bdr rx_ring ____cacheline_aligned_in_smp;
162 struct enetc_bdr tx_ring[0];
191 struct enetc_bdr *tx_ring[16];
192 struct enetc_bdr *rx_ring[16];
Denetc.c16 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb,
22 struct enetc_bdr *tx_ring; in enetc_xmit()
85 static void enetc_unmap_tx_buff(struct enetc_bdr *tx_ring, in enetc_unmap_tx_buff()
97 static void enetc_free_tx_skb(struct enetc_bdr *tx_ring, in enetc_free_tx_skb()
109 static int enetc_map_tx_buffs(struct enetc_bdr *tx_ring, struct sk_buff *skb, in enetc_map_tx_buffs()
265 static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget);
266 static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring,
300 static int enetc_bd_ready_count(struct enetc_bdr *tx_ring, int ci) in enetc_bd_ready_count()
331 static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget) in enetc_clean_tx_ring()
410 static bool enetc_new_page(struct enetc_bdr *rx_ring, in enetc_new_page()
[all …]