Searched defs:tx_tail (Results 1 - 20 of 20) sorted by relevance

/drivers/net/ethernet/amd/
H A Dau1000_eth.h96 u32 tx_tail; member in struct:au1000_private
/drivers/net/ethernet/moxa/
H A Dmoxart_ether.c127 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 Dmoxart_ether.h320 unsigned int tx_tail; member in struct:moxart_mac_priv_t
/drivers/net/ethernet/seeq/
H A Dether3.c338 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 Dether3.h165 unsigned char tx_tail; /* buffer nr of transmitting packet */ member in struct:dev_priv
/drivers/net/can/
H A Dxilinx_can.c121 * @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++;
H A Drcar_can.c94 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 Dti_hecc.c223 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) &&
/drivers/infiniband/ulp/ipoib/
H A Dipoib.h238 unsigned tx_tail; member in struct:ipoib_cm_tx
350 unsigned tx_tail; member in struct:ipoib_dev_priv
/drivers/net/ethernet/i825xx/
H A Dether1.h43 volatile unsigned int tx_tail; member in struct:ether1_priv
/drivers/net/hamradio/
H A Dbaycom_epp.c201 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 Ddmascc.c213 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/irda/
H A Dau1k_ir.c160 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/dec/tulip/
H A Dde2104x.c102 (((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/ethernet/silan/
H A Dsc92031.c282 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/ethernet/ti/
H A Dtlan.h192 u32 tx_tail; member in struct:tlan_priv
/drivers/net/ethernet/calxeda/
H A Dxgmac.c373 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;
/drivers/net/ethernet/realtek/
H A D8139cp.c116 (((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/cadence/
H A Dmacb.h610 unsigned int tx_head, tx_tail; member in struct:macb
/drivers/staging/dgap/
H A Ddgap.h1087 unsigned short tx_tail; /* R Tx buffer tail offset */ member in struct:bs_t

Completed in 666 milliseconds