/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.c | 127 priv->tx_tail = 0; 274 unsigned tx_tail = priv->tx_tail; local 276 while (tx_tail != tx_head) { 277 dma_unmap_single(&ndev->dev, priv->tx_mapping[tx_tail], 278 priv->tx_len[tx_tail], DMA_TO_DEVICE); 281 priv->stats.tx_bytes += priv->tx_skb[tx_tail]->len; 283 dev_kfree_skb_irq(priv->tx_skb[tx_tail]); 284 priv->tx_skb[tx_tail] = NULL; 286 tx_tail [all...] |
H A D | moxart_ether.h | 320 unsigned int tx_tail; member in struct:moxart_mac_priv_t
|
/drivers/net/ethernet/amd/ |
H A D | au1000_eth.h | 96 u32 tx_tail; member in struct:au1000_private
|
H A D | au1000_eth.c | 767 aup->tx_tail = aup->tx_head; 930 ptxd = aup->tx_dma_ring[aup->tx_tail]; 938 aup->tx_tail = (aup->tx_tail + 1) & (NUM_TX_DMA - 1); 939 ptxd = aup->tx_dma_ring[aup->tx_tail];
|
/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 338 priv(dev)->tx_tail = 0; 468 priv(dev)->tx_head, priv(dev)->tx_tail); 469 ether3_setbuffer(dev, buffer_read, priv(dev)->tx_tail); 476 priv(dev)->tx_head = priv(dev)->tx_tail = 0; 508 if (priv(dev)->tx_tail == next_ptr) { 541 if (priv(dev)->tx_tail == next_ptr) 692 unsigned int tx_tail = priv(dev)->tx_tail; local 701 ether3_setbuffer(dev, buffer_read, tx_tail * 0x600); 724 tx_tail [all...] |
H A D | ether3.h | 165 unsigned char tx_tail; /* buffer nr of transmitting packet */ member in struct:dev_priv
|
/drivers/net/irda/ |
H A D | au1k_ir.c | 160 u32 tx_tail; member in struct:au1k_private 313 aup->tx_head = aup->tx_tail = aup->rx_head = 0; 425 ptxd = aup->tx_ring[aup->tx_tail]; 426 while (!(ptxd->flags & AU_OWN) && (aup->tx_tail != aup->tx_head)) { 432 aup->tx_tail = (aup->tx_tail + 1) & (NUM_IR_DESC - 1); 433 ptxd = aup->tx_ring[aup->tx_tail]; 441 if (aup->tx_tail == aup->tx_head) { 557 aup->tx_tail = 0; 675 if (aup->tx_tail [all...] |
/drivers/net/ethernet/silan/ |
H A D | sc92031.c | 282 unsigned tx_tail; member in struct:sc92031_priv 411 while (priv->tx_head - priv->tx_tail > 0) { 412 priv->tx_tail++; 415 priv->tx_head = priv->tx_tail = 0; 657 old_tx_tail = priv->tx_tail; 658 while (priv->tx_head - priv->tx_tail > 0) { 659 entry = priv->tx_tail % NUM_TX_DESC; 665 priv->tx_tail++; 691 if (priv->tx_tail != old_tx_tail) 956 BUG_ON(priv->tx_head - priv->tx_tail > [all...] |
/drivers/net/hamradio/ |
H A D | baycom_epp.c | 201 enum { tx_idle = 0, tx_keyup, tx_data, tx_tail } state; enumerator in enum:baycom_state::__anon4005::__anon4006 354 bc->ch_params.tx_tail = data[1]; 355 PKP("TX tail = %ums", bc->ch_params.tx_tail); 437 if (bc->hdlctx.state == tx_tail && !(stat & EPP_PTTBIT)) 482 bc->hdlctx.state = tx_tail; 483 bc->hdlctx.flags = tenms_to_flags(bc, bc->ch_params.tx_tail); 495 case tx_tail: 1016 hi.data.cp.tx_tail = bc->ch_params.tx_tail; 1026 bc->ch_params.tx_tail [all...] |
H A D | hdlcdrv.c | 250 s->ch_params.tx_tail = data[1]; 251 PKP("TX tail = %ums", s->ch_params.tx_tail); 304 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail); 516 bi.data.cp.tx_tail = s->ch_params.tx_tail; 526 s->ch_params.tx_tail = bi.data.cp.tx_tail;
|
H A D | dmascc.c | 213 int tx_head, tx_tail, tx_count; member in struct:scc_priv 751 priv->tx_head = priv->tx_tail = priv->tx_count = 0; 981 (int) priv->tx_buf[priv->tx_tail] + n); 983 priv->tx_len[priv->tx_tail] - n); 1000 priv->tx_buf[priv->tx_tail][i], 1); 1290 int i = priv->tx_tail, p = priv->tx_ptr; 1327 i = priv->tx_tail; 1354 priv->tx_tail = (i + 1) % NUM_TX_BUF;
|
/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 102 (((CP)->tx_tail <= (CP)->tx_head) ? \ 103 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \ 104 (CP)->tx_tail - (CP)->tx_head - 1) 299 unsigned tx_tail; member in struct:de_private 509 de->rx_tail, de->tx_head, de->tx_tail); 545 unsigned tx_tail = de->tx_tail; local 547 while (tx_tail != tx_head) { 552 status = le32_to_cpu(de->tx_ring[tx_tail].opts1); 556 skb = de->tx_skb[tx_tail] [all...] |
/drivers/net/can/ |
H A D | ti_hecc.c | 223 u32 tx_tail; member in struct:ti_hecc_priv 235 return priv->tx_tail & HECC_TX_MB_MASK; 392 priv->tx_head = priv->tx_tail = HECC_TX_MASK; 502 "BUG: TX mbx not ready tx_head=%08X, tx_tail=%08X\n", 503 priv->tx_head, priv->tx_tail); 776 while (priv->tx_tail - priv->tx_head > 0) { 791 --priv->tx_tail; 795 if (((priv->tx_head == priv->tx_tail) && 797 (((priv->tx_tail & HECC_TX_MASK) == HECC_TX_MASK) &&
|
H A D | rcar_can.c | 94 u32 tx_tail; member in struct:rcar_can_priv 378 if (priv->tx_head - priv->tx_tail <= unsent) 381 stats->tx_bytes += priv->tx_dlc[priv->tx_tail % 383 priv->tx_dlc[priv->tx_tail % RCAR_CAN_FIFO_DEPTH] = 0; 384 can_get_echo_skb(ndev, priv->tx_tail % RCAR_CAN_FIFO_DEPTH); 385 priv->tx_tail++; 621 if (priv->tx_head - priv->tx_tail >= RCAR_CAN_FIFO_DEPTH)
|
H A D | xilinx_can.c | 121 * @tx_tail: Tx CAN packets successfully sended on the queue 135 unsigned int tx_tail; member in struct:xcan_priv 457 if ((priv->tx_head - priv->tx_tail) == priv->tx_max) 748 while ((priv->tx_head - priv->tx_tail > 0) && 751 can_get_echo_skb(ndev, priv->tx_tail % 753 priv->tx_tail++;
|
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 403 ++priv->tx_tail; 639 if ((int) priv->tx_tail - (int) ah->last_send >= 0) { 834 while (priv->tx_head != priv->tx_tail || recvs_pending(dev)) { 837 priv->tx_head - priv->tx_tail, recvs_pending(dev)); 843 while ((int) priv->tx_tail - (int) priv->tx_head < 0) { 844 tx_req = &priv->tx_ring[priv->tx_tail & 848 ++priv->tx_tail;
|
H A D | ipoib_cm.c | 804 ++tx->tx_tail; 1177 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); 1185 while ((int) p->tx_tail - (int) p->tx_head < 0) { 1188 p->tx_head - p->tx_tail); 1198 while ((int) p->tx_tail - (int) p->tx_head < 0) { 1199 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)]; 1203 ++p->tx_tail;
|
H A D | ipoib.h | 238 unsigned tx_tail; member in struct:ipoib_cm_tx 350 unsigned tx_tail; member in struct:ipoib_dev_priv
|
/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 116 (((CP)->tx_tail <= (CP)->tx_head) ? \ 117 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \ 118 (CP)->tx_tail - (CP)->tx_head - 1) 341 unsigned tx_tail; member in struct:cp_private 651 unsigned tx_tail = cp->tx_tail; local 654 while (tx_tail != tx_head) { 655 struct cp_desc *txd = cp->tx_ring + tx_tail; 664 skb = cp->tx_skb[tx_tail]; 690 "tx done, slot %d\n", tx_tail); [all...] |
/drivers/net/ethernet/i825xx/ |
H A D | ether1.h | 43 volatile unsigned int tx_tail; member in struct:ether1_priv
|
H A D | ether1.c | 505 priv(dev)->tx_tail = TDR_ADDR; 619 tail = priv(dev)->tx_tail; 749 caddr = priv(dev)->tx_tail; 763 priv(dev)->tx_tail = NOP_ADDR; 834 priv(dev)->tx_tail = caddr;
|
/drivers/net/ethernet/cadence/ |
H A D | macb.c | 499 bp->tx_tail, bp->tx_head); 518 for (tail = bp->tx_tail; tail != bp->tx_head; tail++) { 567 bp->tx_head = bp->tx_tail = 0; 593 for (tail = bp->tx_tail; tail != head; tail++) { 637 bp->tx_tail = tail; 639 && CIRC_CNT(bp->tx_head, bp->tx_tail, 1217 if (CIRC_SPACE(bp->tx_head, bp->tx_tail, TX_RING_SIZE) < count) { 1220 netdev_dbg(bp->dev, "tx_head = %u, tx_tail = %u\n", 1221 bp->tx_head, bp->tx_tail); 1238 if (CIRC_SPACE(bp->tx_head, bp->tx_tail, TX_RING_SIZ [all...] |
H A D | macb.h | 610 unsigned int tx_head, tx_tail; member in struct:macb
|
/drivers/net/ethernet/ti/ |
H A D | tlan.c | 1077 tail_list = priv->tx_list + priv->tx_tail; 1079 priv->tx_list_dma + sizeof(struct tlan_list)*priv->tx_tail; 1084 dev->name, priv->tx_head, priv->tx_tail); 1108 priv->tx_tail); 1114 priv->tx_tail); 1115 if (priv->tx_tail == 0) { 1119 (priv->tx_list + (priv->tx_tail - 1))->forward 1125 CIRC_INC(priv->tx_tail, TLAN_NUM_TX_LISTS); 1380 priv->tx_head, priv->tx_tail); 1414 priv->tx_head, priv->tx_tail); [all...] |
/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 373 unsigned int tx_tail; member in struct:xgmac_priv 411 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ) 779 priv->tx_tail = 0; 878 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { 879 unsigned int entry = priv->tx_tail; 888 priv->tx_head, priv->tx_tail); 904 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ); 907 /* Ensure tx_tail is visible to xgmac_xmit */ 934 priv->tx_tail = 0;
|