Searched refs:tx_head (Results 1 - 25 of 26) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsun3lance.c142 struct lance_tx_head tx_head[TX_RING_SIZE]; member in struct:lance_memory
170 /* tx_head flags */
182 /* tx_head misc field */
389 MEM->init.tdra = dvma_vtob(MEM->tx_head);
391 (dvma_vtob(MEM->tx_head) >> 16);
395 (dvma_vtob(MEM->tx_head))));
464 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]);
465 MEM->tx_head[i].flag = 0;
466 MEM->tx_head[i].base_hi =
468 MEM->tx_head[
[all...]
H A Dau1000_eth.h96 u32 tx_head; member in struct:au1000_private
H A Datarilance.c158 struct lance_tx_head tx_head[TX_RING_SIZE]; member in struct:lance_memory
271 /* tx_head flags */
283 /* tx_head misc field */
619 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head );
716 MEM->tx_head[i].base = offset;
717 MEM->tx_head[i].flag = TMD1_OWN_HOST;
718 MEM->tx_head[i].base_hi = 0;
719 MEM->tx_head[i].length = 0;
720 MEM->tx_head[i].misc = 0;
767 i, MEM->tx_head[
[all...]
H A Deexpress.c144 unsigned short tx_head; /* next free tx buf */ member in struct:net_local
146 unsigned short tx_tail; /* previous tx buf to tx_head */
999 outw(lp->tx_head, ioaddr + WRITE_PTR);
1003 outw(lp->tx_head+0x08, ioaddr + DATAPORT);
1004 outw(lp->tx_head+0x0e, ioaddr + DATAPORT);
1008 outw(lp->tx_head+0x08, ioaddr + DATAPORT);
1012 outw(lp->tx_head+0x16, ioaddr + DATAPORT);
1018 outw(lp->tx_head, ioaddr + DATAPORT);
1021 lp->tx_tail = lp->tx_head;
1022 if (lp->tx_head
[all...]
H A D3c507.c125 ushort tx_head; member in struct:net_local
751 lp->tx_head = lp->tx_reap = TX_BUF_START;
787 ushort tx_block = lp->tx_head;
818 lp->tx_head = tx_block + TX_BUF_SIZE;
819 if (lp->tx_head > RX_BUF_START - TX_BUF_SIZE)
820 lp->tx_head = TX_BUF_START;
824 dev->name, ioaddr, length, tx_block, lp->tx_head);
H A Dmacb.c44 (((bp)->tx_tail <= (bp)->tx_head) ? \
45 (bp)->tx_tail + (bp)->tx_pending - (bp)->tx_head : \
46 (bp)->tx_tail - (bp)->tx_head - TX_RING_GAP(bp))
293 bp->tx_head = bp->tx_tail = 0;
304 head = bp->tx_head;
597 dev_dbg(&bp->pdev->dev, "tx_head = %u, tx_tail = %u\n",
598 bp->tx_head, bp->tx_tail);
602 entry = bp->tx_head;
621 bp->tx_head = entry;
721 bp->rx_tail = bp->tx_head
[all...]
H A D8139cp.c131 (((CP)->tx_tail <= (CP)->tx_head) ? \
132 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
133 (CP)->tx_tail - (CP)->tx_head - 1)
355 unsigned tx_head ____cacheline_aligned;
697 unsigned tx_head = cp->tx_head; local
700 while (tx_tail != tx_head) {
780 entry = cp->tx_head;
895 cp->tx_head = entry;
995 cp->tx_head
[all...]
H A Dsc92031.c290 unsigned tx_head; member in struct:sc92031_priv
422 while (priv->tx_head - priv->tx_tail > 0) {
426 priv->tx_head = priv->tx_tail = 0;
669 while (priv->tx_head - priv->tx_tail > 0) {
973 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC);
975 entry = priv->tx_head++ % NUM_TX_DESC;
1002 if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC)
1033 priv->tx_head = priv->tx_tail = 0;
H A Dau1000_eth.c837 aup->tx_head = (aup->tx_dma_ring[0]->buff_stat & 0xC) >> 2;
838 aup->tx_tail = aup->tx_head;
1106 skb->data, aup->tx_head);
1108 ptxd = aup->tx_dma_ring[aup->tx_head];
1126 pDB = aup->tx_db_inuse[aup->tx_head];
1143 aup->tx_head = (aup->tx_head + 1) & (NUM_TX_DMA - 1);
H A Dmacb.h368 unsigned int tx_head, tx_tail; member in struct:macb
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dau1000_ircc.h103 u32 tx_head; member in struct:au1k_private
H A Dau1k_ir.c314 aup->tx_head = 0;
442 while (!(ptxd->flags & AU_OWN) && (aup->tx_tail != aup->tx_head)) {
458 if (aup->tx_tail == aup->tx_head) {
494 if (aup->tx_tail == aup->tx_head) {
502 ptxd = aup->tx_ring[aup->tx_head];
511 else if (((aup->tx_head + 1) & (NUM_IR_DESC - 1)) == aup->tx_tail) {
518 pDB = aup->tx_db_inuse[aup->tx_head];
544 aup->tx_head = (aup->tx_head + 1) & (NUM_IR_DESC - 1);
702 aup->tx_head
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arm/
H A Dether1.c507 priv(dev)->tx_head = NOP_ADDR + NOP_SIZE;
624 if (priv(dev)->tx_head + size > TX_AREA_END) {
625 if (tail > priv(dev)->tx_head)
630 priv(dev)->tx_head = start + size;
632 if (priv(dev)->tx_head < tail && (priv(dev)->tx_head + size) > tail)
634 start = priv(dev)->tx_head;
635 priv(dev)->tx_head += size;
743 tmp = priv(dev)->tx_head;
745 priv(dev)->tx_head
[all...]
H A Dether3.c342 priv(dev)->tx_head = 0;
488 priv(dev)->tx_head, priv(dev)->tx_tail);
496 priv(dev)->tx_head = priv(dev)->tx_tail = 0;
524 next_ptr = (priv(dev)->tx_head + 1) & 15;
534 ptr = 0x600 * priv(dev)->tx_head;
535 priv(dev)->tx_head = next_ptr;
557 next_ptr = (priv(dev)->tx_head + 1) & 15;
H A Dether1.h43 unsigned int tx_head; member in struct:ether1_priv
H A Dether3.h164 unsigned char tx_head; /* buffer nr to insert next packet */ member in struct:dev_priv
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/ulp/srp/
H A Dib_srp.h148 unsigned tx_head; member in struct:srp_target_port
H A Dib_srp.c547 target->tx_head = 0;
932 * req_lim and tx_head. Lock cannot be dropped between call here and
937 if (target->tx_head - target->tx_tail >= SRP_SQ_SIZE)
943 return target->tx_ring[target->tx_head & SRP_SQ_SIZE];
948 * req_lim and tx_head.
962 wr.wr_id = target->tx_head & SRP_SQ_SIZE;
971 ++target->tx_head;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c269 priv->tx_head - priv->tx_tail <= ipoib_sendq_size >> 1) {
384 tx_req = &priv->tx_ring[priv->tx_head & (ipoib_sendq_size - 1)];
395 if (unlikely(post_send(priv, priv->tx_head & (ipoib_sendq_size - 1),
404 address->last_send = priv->tx_head;
405 ++priv->tx_head;
407 if (priv->tx_head - priv->tx_tail == ipoib_sendq_size) {
593 while (priv->tx_head != priv->tx_tail || recvs_pending(dev)) {
596 priv->tx_head - priv->tx_tail, recvs_pending(dev));
602 while ((int) priv->tx_tail - (int) priv->tx_head < 0) {
H A Dipoib.h186 unsigned tx_head; member in struct:ipoib_cm_tx
270 unsigned tx_head; member in struct:ipoib_dev_priv
H A Dipoib_cm.c514 tx->tx_head, skb->len, tx->qp->qp_num);
523 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)];
534 if (unlikely(post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1),
542 ++tx->tx_head;
544 if (tx->tx_head - tx->tx_tail == ipoib_sendq_size) {
582 tx->tx_head - tx->tx_tail <= ipoib_sendq_size >> 1) {
958 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail);
973 while ((int) p->tx_tail - (int) p->tx_head < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dde2104x.c92 (((CP)->tx_tail <= (CP)->tx_head) ? \
93 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \
94 (CP)->tx_tail - (CP)->tx_head - 1)
285 unsigned tx_head; member in struct:de_private
497 dev->name, status, dr32(MacMode), de->rx_tail, de->tx_head, de->tx_tail);
531 unsigned tx_head = de->tx_head; local
534 while (tx_tail != tx_head) {
609 entry = de->tx_head;
630 de->tx_head
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/hamradio/
H A Ddmascc.c212 int tx_head, tx_tail, tx_count; member in struct:scc_priv
756 priv->tx_head = priv->tx_tail = priv->tx_count = 0;
932 i = priv->tx_head;
940 priv->tx_head = (i + 1) % NUM_TX_BUF;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tokenring/
H A D3c359.c1176 int tx_head, tx_tail, tx_prev ; local
1187 tx_head = xl_priv->tx_ring_head ;
1190 txd = &(xl_priv->xl_tx_ring[tx_head]) ;
1195 xl_priv->tx_ring_skb[tx_head] = skb ;
1210 xl_priv->xl_tx_ring[tx_prev].dnnextptr = xl_priv->tx_ring_dma_addr + (sizeof (struct xl_tx_desc) * tx_head) ;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dstrip.c224 unsigned char *tx_head; /* pointer to next byte to XMIT */ member in struct:strip
910 memcpy(strip_info->tx_buff, strip_info->tx_head,
917 strip_info->tx_head = strip_info->tx_buff;
1269 tty->driver->write(tty, strip_info->tx_head,
1272 strip_info->tx_head += num_written;
1479 strip_info->tx_head = strip_info->tx_buff;

Completed in 246 milliseconds

12