Searched refs:tx_buffers (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 51 struct smsc9420_ring_info *tx_buffers; member 494 if (!pd->tx_buffers) in smsc9420_free_tx_ring() 498 struct sk_buff *skb = pd->tx_buffers[i].skb; in smsc9420_free_tx_ring() 501 BUG_ON(!pd->tx_buffers[i].mapping); in smsc9420_free_tx_ring() 503 pd->tx_buffers[i].mapping, skb->len, in smsc9420_free_tx_ring() 515 kfree(pd->tx_buffers); in smsc9420_free_tx_ring() 516 pd->tx_buffers = NULL; in smsc9420_free_tx_ring() 905 BUG_ON(!pd->tx_buffers[index].skb); in smsc9420_complete_tx() 906 BUG_ON(!pd->tx_buffers[index].mapping); in smsc9420_complete_tx() 909 pd->tx_buffers[index].mapping, in smsc9420_complete_tx() [all …]
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 356 tp->tx_buffers[tp->cur_tx].skb = NULL; in tulip_up() 357 tp->tx_buffers[tp->cur_tx].mapping = mapping; in tulip_up() 644 tp->tx_buffers[i].skb = NULL; in tulip_init_ring() 645 tp->tx_buffers[i].mapping = 0; in tulip_init_ring() 666 tp->tx_buffers[entry].skb = skb; in tulip_start_xmit() 669 tp->tx_buffers[entry].mapping = mapping; in tulip_start_xmit() 716 if (tp->tx_buffers[entry].skb == NULL) { in tulip_clean_tx_ring() 718 if (tp->tx_buffers[entry].mapping) in tulip_clean_tx_ring() 720 tp->tx_buffers[entry].mapping, in tulip_clean_tx_ring() 727 tp->tx_buffers[entry].mapping, in tulip_clean_tx_ring() [all …]
|
D | interrupt.c | 604 if (tp->tx_buffers[entry].skb == NULL) { in tulip_interrupt() 606 if (tp->tx_buffers[entry].mapping) in tulip_interrupt() 608 tp->tx_buffers[entry].mapping, in tulip_interrupt() 634 tp->tx_buffers[entry].skb->len; in tulip_interrupt() 640 tp->tx_buffers[entry].mapping, in tulip_interrupt() 641 tp->tx_buffers[entry].skb->len, in tulip_interrupt() 645 dev_kfree_skb_irq(tp->tx_buffers[entry].skb); in tulip_interrupt() 646 tp->tx_buffers[entry].skb = NULL; in tulip_interrupt() 647 tp->tx_buffers[entry].mapping = 0; in tulip_interrupt()
|
D | tulip.h | 409 struct ring_info tx_buffers[TX_RING_SIZE]; member
|
/linux-6.1.9/drivers/net/wireless/admtek/ |
D | adm8211.c | 320 info = &priv->tx_buffers[entry]; in adm8211_interrupt_tci() 1467 tx_info = &priv->tx_buffers[i]; in adm8211_init_rings() 1499 if (!priv->tx_buffers[i].skb) in adm8211_free_rings() 1503 priv->tx_buffers[i].mapping, in adm8211_free_rings() 1504 priv->tx_buffers[i].skb->len, DMA_TO_DEVICE); in adm8211_free_rings() 1506 dev_kfree_skb(priv->tx_buffers[i].skb); in adm8211_free_rings() 1648 priv->tx_buffers[entry].skb = skb; in adm8211_tx_raw() 1649 priv->tx_buffers[entry].mapping = mapping; in adm8211_tx_raw() 1650 priv->tx_buffers[entry].hdrlen = hdrlen; in adm8211_tx_raw() 1734 sizeof(*priv->tx_buffers) * priv->tx_ring_size, GFP_KERNEL); in adm8211_alloc_rings() [all …]
|
D | adm8211.h | 546 struct adm8211_tx_ring_info *tx_buffers; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | b44.c | 623 struct ring_info *rp = &bp->tx_buffers[cons]; in b44_tx() 1016 bp->tx_buffers[entry].skb = skb; in b44_start_xmit() 1017 bp->tx_buffers[entry].mapping = mapping; in b44_start_xmit() 1108 rp = &bp->tx_buffers[i]; in b44_free_rings() 1156 kfree(bp->tx_buffers); in b44_free_consistent() 1157 bp->tx_buffers = NULL; in b44_free_consistent() 1196 bp->tx_buffers = kzalloc(size, gfp); in b44_alloc_consistent() 1197 if (!bp->tx_buffers) in b44_alloc_consistent()
|
D | b44.h | 369 struct ring_info *tx_buffers; member
|
D | tg3.c | 6547 struct tg3_tx_ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx() 6574 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx() 6580 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx() 6592 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx() 7722 tnapi->tx_buffers[*entry].fragmented = true; in tg3_tx_frag_set() 7741 tnapi->tx_buffers[prvidx].fragmented = false; in tg3_tx_frag_set() 7757 struct tg3_tx_ring_info *txb = &tnapi->tx_buffers[entry]; in tg3_tx_skb_unmap() 7768 txb = &tnapi->tx_buffers[entry]; in tg3_tx_skb_unmap() 7775 txb = &tnapi->tx_buffers[entry]; in tg3_tx_skb_unmap() 7784 txb = &tnapi->tx_buffers[entry]; in tg3_tx_skb_unmap() [all …]
|
D | tg3.h | 3028 struct tg3_tx_ring_info *tx_buffers; member
|
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 4429 priv->tx_buffers = kmalloc_array(TX_PENDED_QUEUE_LENGTH, in ipw2100_tx_allocate() 4432 if (!priv->tx_buffers) { in ipw2100_tx_allocate() 4449 priv->tx_buffers[i].type = DATA; in ipw2100_tx_allocate() 4450 priv->tx_buffers[i].info.d_struct.data = in ipw2100_tx_allocate() 4452 priv->tx_buffers[i].info.d_struct.data_phys = p; in ipw2100_tx_allocate() 4453 priv->tx_buffers[i].info.d_struct.txb = NULL; in ipw2100_tx_allocate() 4462 priv->tx_buffers[j].info.d_struct.data, in ipw2100_tx_allocate() 4463 priv->tx_buffers[j].info.d_struct.data_phys); in ipw2100_tx_allocate() 4466 kfree(priv->tx_buffers); in ipw2100_tx_allocate() 4467 priv->tx_buffers = NULL; in ipw2100_tx_allocate() [all …]
|
D | ipw2100.h | 546 struct ipw2100_tx_packet *tx_buffers; member
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | main_usb.c | 55 module_param_named(tx_buffers, vnt_tx_buffers, int, 0644); 56 MODULE_PARM_DESC(tx_buffers, "Number of receive usb tx buffers");
|