Searched refs:tx_buffers (Results 1 – 13 of 13) sorted by relevance
/linux-2.6.39/drivers/net/arm/ |
D | ks8695net.c | 178 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/ |
D | smsc9420.c | 61 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 …]
|
D | b44.c | 602 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()
|
D | b44.h | 359 struct ring_info *tx_buffers; member
|
D | tg3.c | 4509 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 …]
|
D | tg3.h | 2738 struct ring_info *tx_buffers; member
|
/linux-2.6.39/drivers/net/tulip/ |
D | interrupt.c | 594 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()
|
D | tulip_core.c | 372 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 …]
|
D | tulip.h | 412 struct ring_info tx_buffers[TX_RING_SIZE]; member
|
/linux-2.6.39/drivers/net/wireless/ |
D | adm8211.c | 324 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 …]
|
D | adm8211.h | 545 struct adm8211_tx_ring_info *tx_buffers; member
|
/linux-2.6.39/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 4489 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 …]
|
D | ipw2100.h | 568 struct ipw2100_tx_packet *tx_buffers; member
|