Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
D8139cp.c107 #define CP_RX_RING_SIZE 64 macro
110 ((sizeof(struct cp_desc) * CP_RX_RING_SIZE) + \
114 #define NEXT_RX(N) (((N) + 1) & (CP_RX_RING_SIZE - 1))
339 struct sk_buff *rx_skb[CP_RX_RING_SIZE];
544 if (rx_tail == (CP_RX_RING_SIZE - 1)) in cp_rx_poll()
1008 ring_dma += sizeof(struct cp_desc) * CP_RX_RING_SIZE; in cp_start_hw()
1063 for (i = 0; i < CP_RX_RING_SIZE; i++) { in cp_refill_rx()
1081 if (i == (CP_RX_RING_SIZE - 1)) in cp_refill_rx()
1124 cp->tx_ring = &cp->rx_ring[CP_RX_RING_SIZE]; in cp_alloc_rings()
1138 for (i = 0; i < CP_RX_RING_SIZE; i++) { in cp_clean_rings()
[all …]