Home
last modified time | relevance | path

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

/drivers/net/arm/
Dether3.c342 priv(dev)->tx_tail = 0; in ether3_init_for_open()
487 priv(dev)->tx_head, priv(dev)->tx_tail); in ether3_timeout()
488 ether3_setbuffer(dev, buffer_read, priv(dev)->tx_tail); in ether3_timeout()
495 priv(dev)->tx_head = priv(dev)->tx_tail = 0; in ether3_timeout()
527 if (priv(dev)->tx_tail == next_ptr) { in ether3_sendpacket()
561 if (priv(dev)->tx_tail == next_ptr) in ether3_sendpacket()
724 unsigned int tx_tail = priv(dev)->tx_tail; in ether3_tx() local
733 ether3_setbuffer(dev, buffer_read, tx_tail * 0x600); in ether3_tx()
756 tx_tail = (tx_tail + 1) & 15; in ether3_tx()
759 if (priv(dev)->tx_tail != tx_tail) { in ether3_tx()
[all …]
Dether1.c507 priv(dev)->tx_tail = TDR_ADDR; in ether1_init_for_open()
621 tail = priv(dev)->tx_tail; in ether1_txalloc()
760 caddr = priv(dev)->tx_tail; in ether1_xmit_done()
774 priv(dev)->tx_tail = NOP_ADDR; in ether1_xmit_done()
845 priv(dev)->tx_tail = caddr; in ether1_xmit_done()
Dether3.h165 unsigned char tx_tail; /* buffer nr of transmitting packet */ member
Dether1.h44 volatile unsigned int tx_tail; member
/drivers/net/irda/
Dau1k_ir.c313 aup->tx_tail = 0; in au1k_init()
439 ptxd = aup->tx_ring[aup->tx_tail]; in au1k_tx_ack()
440 while (!(ptxd->flags & AU_OWN) && (aup->tx_tail != aup->tx_head)) { in au1k_tx_ack()
447 aup->tx_tail = (aup->tx_tail + 1) & (NUM_IR_DESC - 1); in au1k_tx_ack()
448 ptxd = aup->tx_ring[aup->tx_tail]; in au1k_tx_ack()
456 if (aup->tx_tail == aup->tx_head) { in au1k_tx_ack()
492 if (aup->tx_tail == aup->tx_head) { in au1k_irda_hard_xmit()
509 else if (((aup->tx_head + 1) & (NUM_IR_DESC - 1)) == aup->tx_tail) { in au1k_irda_hard_xmit()
702 aup->tx_head = aup->tx_tail = aup->rx_head = 0; in au1k_irda_set_speed()
Dau1000_ircc.h104 u32 tx_tail; member
/drivers/net/tulip/
Dde2104x.c93 (((CP)->tx_tail <= (CP)->tx_head) ? \
94 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \
95 (CP)->tx_tail - (CP)->tx_head - 1)
285 unsigned tx_tail; member
496 dev->name, status, dr32(MacMode), de->rx_tail, de->tx_head, de->tx_tail); in de_interrupt()
531 unsigned tx_tail = de->tx_tail; in de_tx() local
533 while (tx_tail != tx_head) { in de_tx()
538 status = le32_to_cpu(de->tx_ring[tx_tail].opts1); in de_tx()
542 skb = de->tx_skb[tx_tail].skb; in de_tx()
548 pci_unmap_single(de->pdev, de->tx_skb[tx_tail].mapping, in de_tx()
[all …]
/drivers/net/hamradio/
Dbaycom_epp.c200 enum { tx_idle = 0, tx_keyup, tx_data, tx_tail } state; enumerator
354 bc->ch_params.tx_tail = data[1]; in do_kiss_params()
355 PKP("TX tail = %ums", bc->ch_params.tx_tail); in do_kiss_params()
437 if (bc->hdlctx.state == tx_tail && !(stat & EPP_PTTBIT)) in transmit()
482 bc->hdlctx.state = tx_tail; in transmit()
483 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail); in transmit()
495 case tx_tail: in transmit()
1029 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1039 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
Dhdlcdrv.c250 s->ch_params.tx_tail = data[1]; in do_kiss_params()
251 PKP("TX tail = %ums", s->ch_params.tx_tail); in do_kiss_params()
304 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail); in hdlcdrv_transmitter()
528 bi.data.cp.tx_tail = s->ch_params.tx_tail; in hdlcdrv_ioctl()
538 s->ch_params.tx_tail = bi.data.cp.tx_tail; in hdlcdrv_ioctl()
Ddmascc.c212 int tx_head, tx_tail, tx_count; member
753 priv->tx_head = priv->tx_tail = priv->tx_count = 0; in scc_open()
991 (int) priv->tx_buf[priv->tx_tail] + n); in tx_on()
993 priv->tx_len[priv->tx_tail] - n); in tx_on()
1010 priv->tx_buf[priv->tx_tail][i], 1); in tx_on()
1300 int i = priv->tx_tail, p = priv->tx_ptr; in tx_isr()
1337 i = priv->tx_tail; in es_isr()
1364 priv->tx_tail = (i + 1) % NUM_TX_BUF; in es_isr()
/drivers/net/
D8139cp.c125 (((CP)->tx_tail <= (CP)->tx_head) ? \
126 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
127 (CP)->tx_tail - (CP)->tx_head - 1)
350 unsigned tx_tail; member
686 unsigned tx_tail = cp->tx_tail; in cp_tx() local
688 while (tx_tail != tx_head) { in cp_tx()
689 struct cp_desc *txd = cp->tx_ring + tx_tail; in cp_tx()
698 skb = cp->tx_skb[tx_tail]; in cp_tx()
725 printk(KERN_DEBUG "%s: tx done, slot %d\n", cp->dev->name, tx_tail); in cp_tx()
730 cp->tx_skb[tx_tail] = NULL; in cp_tx()
[all …]
Dsc92031.c292 unsigned tx_tail; member
421 while (priv->tx_head - priv->tx_tail > 0) { in _sc92031_tx_clear()
422 priv->tx_tail++; in _sc92031_tx_clear()
425 priv->tx_head = priv->tx_tail = 0; in _sc92031_tx_clear()
667 old_tx_tail = priv->tx_tail; in _sc92031_tx_tasklet()
668 while (priv->tx_head - priv->tx_tail > 0) { in _sc92031_tx_tasklet()
669 entry = priv->tx_tail % NUM_TX_DESC; in _sc92031_tx_tasklet()
675 priv->tx_tail++; in _sc92031_tx_tasklet()
701 if (priv->tx_tail != old_tx_tail) in _sc92031_tx_tasklet()
967 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC); in sc92031_start_xmit()
[all …]
Dmacb.c43 (((bp)->tx_tail <= (bp)->tx_head) ? \
44 (bp)->tx_tail + (bp)->tx_pending - (bp)->tx_head : \
45 (bp)->tx_tail - (bp)->tx_head - TX_RING_GAP(bp))
335 for (tail = bp->tx_tail; tail != head; tail = NEXT_TX(tail)) { in macb_tx()
349 bp->tx_head = bp->tx_tail = 0; in macb_tx()
365 for (tail = bp->tx_tail; tail != head; tail = NEXT_TX(tail)) { in macb_tx()
388 bp->tx_tail = tail; in macb_tx()
649 bp->tx_head, bp->tx_tail); in macb_start_xmit()
772 bp->rx_tail = bp->tx_head = bp->tx_tail = 0; in macb_init_rings()
Dau1000_eth.h97 u32 tx_tail; member
Dau1000_eth.c834 aup->tx_tail = aup->tx_head; in au1000_init()
1069 ptxd = aup->tx_dma_ring[aup->tx_tail]; in au1000_tx_ack()
1077 aup->tx_tail = (aup->tx_tail + 1) & (NUM_TX_DMA - 1); in au1000_tx_ack()
1078 ptxd = aup->tx_dma_ring[aup->tx_tail]; in au1000_tx_ack()
Deexpress.c145 unsigned short tx_tail; /* previous tx buf to tx_head */ member
1023 outw(lp->tx_tail+0xc, ioaddr + WRITE_PTR); in eexp_hw_tx_pio()
1027 lp->tx_tail = lp->tx_head; in eexp_hw_tx_pio()
1289 lp->tx_link = lp->tx_tail + 0x08; in eexp_hw_lasttxstat()
1374 lp->tx_tail = tx_block - TX_BUF_SIZE; in eexp_hw_txinit()
1375 lp->tx_link = lp->tx_tail + 0x08; in eexp_hw_txinit()
Dmacb.h368 unsigned int tx_head, tx_tail; member
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c387 ++priv->tx_tail; in ipoib_ib_handle_tx_wc()
624 if ((int) priv->tx_tail - (int) ah->last_send >= 0) { in __ipoib_reap_ah()
822 while (priv->tx_head != priv->tx_tail || recvs_pending(dev)) { in ipoib_ib_dev_stop()
825 priv->tx_head - priv->tx_tail, recvs_pending(dev)); in ipoib_ib_dev_stop()
831 while ((int) priv->tx_tail - (int) priv->tx_head < 0) { in ipoib_ib_dev_stop()
832 tx_req = &priv->tx_ring[priv->tx_tail & in ipoib_ib_dev_stop()
836 ++priv->tx_tail; in ipoib_ib_dev_stop()
Dipoib_cm.c791 ++tx->tx_tail; in ipoib_cm_handle_tx_wc()
1156 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
1164 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1167 p->tx_head - p->tx_tail); in ipoib_cm_tx_destroy()
1177 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1178 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)]; in ipoib_cm_tx_destroy()
1182 ++p->tx_tail; in ipoib_cm_tx_destroy()
Dipoib.h225 unsigned tx_tail; member
324 unsigned tx_tail; member
Dipoib_main.c797 priv->tx_head, priv->tx_tail); in ipoib_timeout()
/drivers/infiniband/ulp/srp/
Dib_srp.h148 unsigned tx_tail; member
Dib_srp.c581 target->tx_tail = 0; in srp_reconnect_target()
920 ++target->tx_tail; in srp_completion()
973 if (target->tx_head - target->tx_tail >= SRP_SQ_SIZE) in __srp_get_tx_iu()
/drivers/net/tokenring/
D3c359.c1165 int tx_head, tx_tail, tx_prev ; in xl_xmit() local
1177 tx_tail = xl_priv->tx_ring_tail ; in xl_xmit()