Searched refs:CP_TX_RING_SIZE (Results 1 – 1 of 1) sorted by relevance
117 #define CP_TX_RING_SIZE 64 macro120 (sizeof(struct cp_desc) * CP_TX_RING_SIZE) + \122 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1))126 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \352 struct sk_buff *tx_skb[CP_TX_RING_SIZE];769 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0; in cp_start_xmit()831 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0; in cp_start_xmit()1096 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE); in cp_init_rings()1097 cp->tx_ring[CP_TX_RING_SIZE - 1].opts1 = cpu_to_le32(RingEnd); in cp_init_rings()1133 for (i = 0; i < CP_TX_RING_SIZE; i++) { in cp_clean_rings()[all …]