Lines Matching refs:enetc_bdr
16 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()
434 static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt) in enetc_refill_rx_ring()
504 static void enetc_get_offloads(struct enetc_bdr *rx_ring, in enetc_get_offloads()
530 static void enetc_process_skb(struct enetc_bdr *rx_ring, in enetc_process_skb()
542 static void enetc_reuse_page(struct enetc_bdr *rx_ring, in enetc_reuse_page()
556 static struct enetc_rx_swbd *enetc_get_rx_buff(struct enetc_bdr *rx_ring, in enetc_get_rx_buff()
567 static void enetc_put_rx_buff(struct enetc_bdr *rx_ring, in enetc_put_rx_buff()
589 static struct sk_buff *enetc_map_rx_buff_to_skb(struct enetc_bdr *rx_ring, in enetc_map_rx_buff_to_skb()
611 static void enetc_add_rx_buff_to_skb(struct enetc_bdr *rx_ring, int i, in enetc_add_rx_buff_to_skb()
624 static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring, in enetc_clean_rx_ring()
750 static int enetc_dma_alloc_bdr(struct enetc_bdr *r, size_t bd_size) in enetc_dma_alloc_bdr()
767 static int enetc_alloc_txbdr(struct enetc_bdr *txr) in enetc_alloc_txbdr()
787 static void enetc_free_txbdr(struct enetc_bdr *txr) in enetc_free_txbdr()
831 static int enetc_alloc_rxbdr(struct enetc_bdr *rxr) in enetc_alloc_rxbdr()
852 static void enetc_free_rxbdr(struct enetc_bdr *rxr) in enetc_free_rxbdr()
893 static void enetc_free_tx_ring(struct enetc_bdr *tx_ring) in enetc_free_tx_ring()
910 static void enetc_free_rx_ring(struct enetc_bdr *rx_ring) in enetc_free_rx_ring()
1103 static void enetc_setup_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_setup_txbdr()
1137 static void enetc_setup_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_setup_rxbdr()
1186 static void enetc_clear_rxbdr(struct enetc_hw *hw, struct enetc_bdr *rx_ring) in enetc_clear_rxbdr()
1194 static void enetc_clear_txbdr(struct enetc_hw *hw, struct enetc_bdr *tx_ring) in enetc_clear_txbdr()
1435 struct enetc_bdr *tx_ring; in enetc_setup_tc()
1624 sizeof(struct enetc_bdr) * v_tx_rings; in enetc_alloc_msix()
1628 struct enetc_bdr *bdr; in enetc_alloc_msix()