Home
last modified time | relevance | path

Searched refs:tx_buffers (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/drivers/net/arm/
Dks8695net.c178 struct ks8695_skbuff tx_buffers[MAX_TX_DESC]; member
377 if (ksp->tx_buffers[buff_n].skb && in ks8695_tx_irq()
383 ndev->stats.tx_bytes += ksp->tx_buffers[buff_n].length; in ks8695_tx_irq()
390 ksp->tx_buffers[buff_n].dma_ptr, in ks8695_tx_irq()
391 ksp->tx_buffers[buff_n].length, in ks8695_tx_irq()
393 dev_kfree_skb_irq(ksp->tx_buffers[buff_n].skb); in ks8695_tx_irq()
394 ksp->tx_buffers[buff_n].skb = NULL; in ks8695_tx_irq()
684 if (ksp->tx_buffers[buff_n].skb) { in ks8695_shutdown()
692 ksp->tx_buffers[buff_n].dma_ptr, in ks8695_shutdown()
693 ksp->tx_buffers[buff_n].length, in ks8695_shutdown()
[all …]
/linux-2.6.39/drivers/net/
Dsmsc9420.c61 struct smsc9420_ring_info *tx_buffers; member
558 if (!pd->tx_buffers) in smsc9420_free_tx_ring()
562 struct sk_buff *skb = pd->tx_buffers[i].skb; in smsc9420_free_tx_ring()
565 BUG_ON(!pd->tx_buffers[i].mapping); in smsc9420_free_tx_ring()
566 pci_unmap_single(pd->pdev, pd->tx_buffers[i].mapping, in smsc9420_free_tx_ring()
578 kfree(pd->tx_buffers); in smsc9420_free_tx_ring()
579 pd->tx_buffers = NULL; in smsc9420_free_tx_ring()
968 BUG_ON(!pd->tx_buffers[index].skb); in smsc9420_complete_tx()
969 BUG_ON(!pd->tx_buffers[index].mapping); in smsc9420_complete_tx()
971 pci_unmap_single(pd->pdev, pd->tx_buffers[index].mapping, in smsc9420_complete_tx()
[all …]
Db44.c602 struct ring_info *rp = &bp->tx_buffers[cons]; in b44_tx()
991 bp->tx_buffers[entry].skb = skb; in b44_start_xmit()
992 bp->tx_buffers[entry].mapping = mapping; in b44_start_xmit()
1084 rp = &bp->tx_buffers[i]; in b44_free_rings()
1132 kfree(bp->tx_buffers); in b44_free_consistent()
1133 bp->tx_buffers = NULL; in b44_free_consistent()
1172 bp->tx_buffers = kzalloc(size, gfp); in b44_alloc_consistent()
1173 if (!bp->tx_buffers) in b44_alloc_consistent()
Db44.h359 struct ring_info *tx_buffers; member
Dtg3.c4509 struct ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
4528 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
5623 dma_unmap_addr(&tnapi->tx_buffers[entry], in tigon3_dma_hwbug_workaround()
5627 tnapi->tx_buffers[entry].skb = new_skb; in tigon3_dma_hwbug_workaround()
5628 dma_unmap_addr_set(&tnapi->tx_buffers[entry], mapping, in tigon3_dma_hwbug_workaround()
5631 tnapi->tx_buffers[entry].skb = NULL; in tigon3_dma_hwbug_workaround()
5755 tnapi->tx_buffers[entry].skb = skb; in tg3_start_xmit()
5756 dma_unmap_addr_set(&tnapi->tx_buffers[entry], mapping, mapping); in tg3_start_xmit()
5781 tnapi->tx_buffers[entry].skb = NULL; in tg3_start_xmit()
5782 dma_unmap_addr_set(&tnapi->tx_buffers[entry], mapping, in tg3_start_xmit()
[all …]
Dtg3.h2738 struct ring_info *tx_buffers; member
/linux-2.6.39/drivers/net/tulip/
Dinterrupt.c594 if (tp->tx_buffers[entry].skb == NULL) { in tulip_interrupt()
596 if (tp->tx_buffers[entry].mapping) in tulip_interrupt()
598 tp->tx_buffers[entry].mapping, in tulip_interrupt()
624 tp->tx_buffers[entry].skb->len; in tulip_interrupt()
629 pci_unmap_single(tp->pdev, tp->tx_buffers[entry].mapping, in tulip_interrupt()
630 tp->tx_buffers[entry].skb->len, in tulip_interrupt()
634 dev_kfree_skb_irq(tp->tx_buffers[entry].skb); in tulip_interrupt()
635 tp->tx_buffers[entry].skb = NULL; in tulip_interrupt()
636 tp->tx_buffers[entry].mapping = 0; in tulip_interrupt()
Dtulip_core.c372 tp->tx_buffers[tp->cur_tx].skb = NULL; in tulip_up()
373 tp->tx_buffers[tp->cur_tx].mapping = mapping; in tulip_up()
661 tp->tx_buffers[i].skb = NULL; in tulip_init_ring()
662 tp->tx_buffers[i].mapping = 0; in tulip_init_ring()
683 tp->tx_buffers[entry].skb = skb; in tulip_start_xmit()
686 tp->tx_buffers[entry].mapping = mapping; in tulip_start_xmit()
733 if (tp->tx_buffers[entry].skb == NULL) { in tulip_clean_tx_ring()
735 if (tp->tx_buffers[entry].mapping) in tulip_clean_tx_ring()
737 tp->tx_buffers[entry].mapping, in tulip_clean_tx_ring()
743 pci_unmap_single(tp->pdev, tp->tx_buffers[entry].mapping, in tulip_clean_tx_ring()
[all …]
Dtulip.h412 struct ring_info tx_buffers[TX_RING_SIZE]; member
/linux-2.6.39/drivers/net/wireless/
Dadm8211.c324 info = &priv->tx_buffers[entry]; in adm8211_interrupt_tci()
1458 tx_info = &priv->tx_buffers[i]; in adm8211_init_rings()
1491 if (!priv->tx_buffers[i].skb) in adm8211_free_rings()
1495 priv->tx_buffers[i].mapping, in adm8211_free_rings()
1496 priv->tx_buffers[i].skb->len, in adm8211_free_rings()
1499 dev_kfree_skb(priv->tx_buffers[i].skb); in adm8211_free_rings()
1639 priv->tx_buffers[entry].skb = skb; in adm8211_tx_raw()
1640 priv->tx_buffers[entry].mapping = mapping; in adm8211_tx_raw()
1641 priv->tx_buffers[entry].hdrlen = hdrlen; in adm8211_tx_raw()
1718 sizeof(*priv->tx_buffers) * priv->tx_ring_size, GFP_KERNEL); in adm8211_alloc_rings()
[all …]
Dadm8211.h545 struct adm8211_tx_ring_info *tx_buffers; member
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dipw2100.c4489 priv->tx_buffers = in ipw2100_tx_allocate()
4492 if (!priv->tx_buffers) { in ipw2100_tx_allocate()
4512 priv->tx_buffers[i].type = DATA; in ipw2100_tx_allocate()
4513 priv->tx_buffers[i].info.d_struct.data = in ipw2100_tx_allocate()
4515 priv->tx_buffers[i].info.d_struct.data_phys = p; in ipw2100_tx_allocate()
4516 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_allocate()
4525 priv->tx_buffers[j].info.d_struct.data, in ipw2100_tx_allocate()
4526 priv->tx_buffers[j].info.d_struct. in ipw2100_tx_allocate()
4530 kfree(priv->tx_buffers); in ipw2100_tx_allocate()
4531 priv->tx_buffers = NULL; in ipw2100_tx_allocate()
[all …]
Dipw2100.h568 struct ipw2100_tx_packet *tx_buffers; member