Home
last modified time | relevance | path

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

/drivers/net/ethernet/realtek/
D8139cp.c108 #define CP_TX_RING_SIZE 64 macro
111 (sizeof(struct cp_desc) * CP_TX_RING_SIZE) + \
113 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1))
117 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
344 struct sk_buff *tx_skb[CP_TX_RING_SIZE];
345 u32 tx_opts[CP_TX_RING_SIZE];
752 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0; in cp_start_xmit()
835 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0; in cp_start_xmit()
1104 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE); in cp_init_rings()
1105 cp->tx_ring[CP_TX_RING_SIZE - 1].opts1 = cpu_to_le32(RingEnd); in cp_init_rings()
[all …]