Searched refs:tx_ring_head (Results 1 - 8 of 8) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A D3c527.c174 atomic_t tx_ring_head; /* index to tx en-queue end */ member in struct:mc32_local
841 /* -1 so that tx_ring_head cannot "lap" tx_ring_tail */
845 atomic_set(&lp->tx_ring_head, 0);
875 atomic_set(&lp->tx_ring_head, 0);
998 * card itself, we must ensure that we update tx_ring_head only
1009 u32 head = atomic_read(&lp->tx_ring_head);
1048 atomic_set(&lp->tx_ring_head, head);
1225 * tx_ring_head wrapping to tail and confusing a 'queue empty'
1229 while (lp->tx_ring_tail != atomic_read(&lp->tx_ring_head))
H A Dsmsc9420.c65 int tx_ring_head, tx_ring_tail; member in struct:smsc9420_pdata
581 pd->tx_ring_head = 0;
954 while (pd->tx_ring_tail != pd->tx_ring_head) {
990 int index = pd->tx_ring_head;
993 (((pd->tx_ring_head + 2) % TX_RING_SIZE) == pd->tx_ring_tail);
1027 pd->tx_ring_head = (pd->tx_ring_head + 1) % TX_RING_SIZE;
1266 pd->tx_ring_head = 0;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A D3c527.c174 atomic_t tx_ring_head; /* index to tx en-queue end */ member in struct:mc32_local
841 /* -1 so that tx_ring_head cannot "lap" tx_ring_tail */
845 atomic_set(&lp->tx_ring_head, 0);
875 atomic_set(&lp->tx_ring_head, 0);
998 * card itself, we must ensure that we update tx_ring_head only
1009 u32 head = atomic_read(&lp->tx_ring_head);
1048 atomic_set(&lp->tx_ring_head, head);
1225 * tx_ring_head wrapping to tail and confusing a 'queue empty'
1229 while (lp->tx_ring_tail != atomic_read(&lp->tx_ring_head))
H A Dsmsc9420.c65 int tx_ring_head, tx_ring_tail; member in struct:smsc9420_pdata
581 pd->tx_ring_head = 0;
954 while (pd->tx_ring_tail != pd->tx_ring_head) {
990 int index = pd->tx_ring_head;
993 (((pd->tx_ring_head + 2) % TX_RING_SIZE) == pd->tx_ring_tail);
1027 pd->tx_ring_head = (pd->tx_ring_head + 1) % TX_RING_SIZE;
1266 pd->tx_ring_head = 0;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/tokenring/
H A D3c359.h258 int tx_ring_head, tx_ring_tail ; member in struct:xl_private
H A D3c359.c166 printk("tx_ring_head: %d, tx_ring_tail: %d, free_ent: %d\n",xl_priv->tx_ring_head,
727 xl_priv->tx_ring_head = 1 ;
1211 tx_head = xl_priv->tx_ring_head ;
1228 tx_prev = (xl_priv->tx_ring_head + XL_TX_RING_SIZE - 1) & (XL_TX_RING_SIZE - 1) ;
1230 xl_priv->tx_ring_head++ ;
1231 xl_priv->tx_ring_head &= (XL_TX_RING_SIZE - 1) ;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/tokenring/
H A D3c359.h258 int tx_ring_head, tx_ring_tail ; member in struct:xl_private
H A D3c359.c166 printk("tx_ring_head: %d, tx_ring_tail: %d, free_ent: %d\n",xl_priv->tx_ring_head,
727 xl_priv->tx_ring_head = 1 ;
1211 tx_head = xl_priv->tx_ring_head ;
1228 tx_prev = (xl_priv->tx_ring_head + XL_TX_RING_SIZE - 1) & (XL_TX_RING_SIZE - 1) ;
1230 xl_priv->tx_ring_head++ ;
1231 xl_priv->tx_ring_head &= (XL_TX_RING_SIZE - 1) ;

Completed in 96 milliseconds