Searched refs:XL_TX_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
228 #define XL_TX_RING_SIZE 16 /* must be a power of 2 */ macro257 struct sk_buff *tx_ring_skb[XL_TX_RING_SIZE], *rx_ring_skb[XL_RX_RING_SIZE];
640 …xl_priv->xl_tx_ring = kzalloc((sizeof(struct xl_tx_desc) * XL_TX_RING_SIZE) + 7, GFP_DMA | GFP_KER… in xl_open()690 …ingle(xl_priv->pdev,xl_priv->xl_tx_ring, sizeof(struct xl_tx_desc) * XL_TX_RING_SIZE,PCI_DMA_TODEV… in xl_open()694 xl_priv->free_ring_entries = XL_TX_RING_SIZE ; in xl_open()1030 …xl_priv->pdev,xl_priv->tx_ring_dma_addr, sizeof(struct xl_tx_desc) * XL_TX_RING_SIZE, PCI_DMA_TODE… in xl_freemem()1193 tx_prev = (xl_priv->tx_ring_head + XL_TX_RING_SIZE - 1) & (XL_TX_RING_SIZE - 1) ; in xl_xmit()1196 xl_priv->tx_ring_head &= (XL_TX_RING_SIZE - 1) ; in xl_xmit()1243 xl_priv->tx_ring_tail &= (XL_TX_RING_SIZE - 1) ; in xl_dn_comp()