Home
last modified time | relevance | path

Searched refs:tx_skb (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
A Dmlxbf_gige_tx.c67 if (priv->tx_skb[i]) { in mlxbf_gige_tx_deinit()
69 priv->tx_skb[i]->len, DMA_TO_DEVICE); in mlxbf_gige_tx_deinit()
70 dev_kfree_skb(priv->tx_skb[i]); in mlxbf_gige_tx_deinit()
71 priv->tx_skb[i] = NULL; in mlxbf_gige_tx_deinit()
161 priv->tx_skb[tx_wqe_index] = NULL; in mlxbf_gige_handle_tx_complete()
196 struct sk_buff *tx_skb; in mlxbf_gige_start_xmit() local
218 tx_skb = mlxbf_gige_alloc_skb(priv, skb->len, in mlxbf_gige_start_xmit()
220 if (!tx_skb) { in mlxbf_gige_start_xmit()
227 skb_put_data(tx_skb, skb->data, skb->len); in mlxbf_gige_start_xmit()
232 tx_skb = skb; in mlxbf_gige_start_xmit()
[all …]
/linux/drivers/isdn/mISDN/
A Dhwchannel.c63 ch->tx_skb = NULL; in mISDN_initdchannel()
87 ch->tx_skb = NULL; in mISDN_initbchannel()
100 if (ch->tx_skb) { in mISDN_freedchannel()
102 ch->tx_skb = NULL; in mISDN_freedchannel()
118 if (ch->tx_skb) { in mISDN_clear_bchannel()
120 ch->tx_skb = NULL; in mISDN_clear_bchannel()
327 if (dch->tx_skb) { in get_next_dframe()
331 dch->tx_skb = NULL; in get_next_dframe()
366 if (bch->tx_skb) { in get_next_bframe()
422 ch->tx_skb = skb; in dchannel_senddata()
[all …]
/linux/drivers/net/ethernet/ni/
A Dnixge.c272 if (priv->tx_skb) in nixge_hw_dma_bd_release()
305 if (!priv->tx_skb) in nixge_hw_dma_bd_init()
454 if (tx_skb->skb) { in nixge_tx_skb_unmap()
470 tx_skb = &priv->tx_skb[priv->tx_bd_ci]; in nixge_start_xmit_done()
484 tx_skb = &priv->tx_skb[priv->tx_bd_ci]; in nixge_start_xmit_done()
519 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit()
535 tx_skb->skb = NULL; in nixge_start_xmit()
544 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit()
563 tx_skb->skb = skb; in nixge_start_xmit()
581 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit()
[all …]
/linux/drivers/net/wwan/t7xx/
A Dt7xx_port_wwan.c58 struct sk_buff *cur = skb, *tx_skb; in t7xx_port_fastboot_tx() local
70 tx_skb = __dev_alloc_skb(len, GFP_KERNEL); in t7xx_port_fastboot_tx()
71 if (!tx_skb) in t7xx_port_fastboot_tx()
74 skb_put_data(tx_skb, cur->data + offset, len); in t7xx_port_fastboot_tx()
76 ret = t7xx_port_send_raw_skb(port, tx_skb); in t7xx_port_fastboot_tx()
78 dev_kfree_skb(tx_skb); in t7xx_port_fastboot_tx()
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_ptp.c19 struct sk_buff *tx_skb; member
158 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task()
159 ptp->tx_skb = NULL; in qede_ptp_task()
173 skb_tstamp_tx(ptp->tx_skb, &shhwtstamps); in qede_ptp_task()
174 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task()
175 ptp->tx_skb = NULL; in qede_ptp_task()
378 if (ptp->tx_skb) { in qede_ptp_disable()
379 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_disable()
380 ptp->tx_skb = NULL; in qede_ptp_disable()
505 } else if (unlikely(ptp->tx_skb)) { in qede_ptp_tx_ts()
[all …]
/linux/drivers/bluetooth/
A Dhci_serdev.c46 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue()
52 hu->tx_skb = NULL; in hci_uart_dequeue()
79 hu->tx_skb = skb; in hci_uart_write_work()
100 if (hu->tx_skb) { in hci_uart_flush()
101 kfree_skb(hu->tx_skb); hu->tx_skb = NULL; in hci_uart_flush()
/linux/drivers/net/ethernet/natsemi/
A Dsonic.c202 if(lp->tx_skb[i]) { in sonic_close()
203 dev_kfree_skb(lp->tx_skb[i]); in sonic_close()
204 lp->tx_skb[i] = NULL; in sonic_close()
243 if(lp->tx_skb[i]) { in sonic_tx_timeout()
244 dev_kfree_skb(lp->tx_skb[i]); in sonic_tx_timeout()
245 lp->tx_skb[i] = NULL; in sonic_tx_timeout()
323 lp->tx_skb[entry] = skb; in sonic_send_packet()
328 if (lp->tx_skb[entry]) { in sonic_send_packet()
388 while (lp->tx_skb[entry] != NULL) { in sonic_interrupt()
410 lp->tx_skb[entry] = NULL; in sonic_interrupt()
[all …]
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c222 if (!ps->tx_skb) in hellcreek_txtstamp_work()
270 tmp_skb = ps->tx_skb; in hellcreek_txtstamp_work()
271 ps->tx_skb = NULL; in hellcreek_txtstamp_work()
285 dev_kfree_skb_any(ps->tx_skb); in hellcreek_txtstamp_work()
286 ps->tx_skb = NULL; in hellcreek_txtstamp_work()
398 ps->tx_skb = clone; in hellcreek_port_txtstamp()
/linux/net/nfc/nci/
A Duart.c41 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue()
46 nu->tx_skb = NULL; in nci_uart_dequeue()
53 if (nu->tx_skb) in nci_uart_queue_empty()
90 nu->tx_skb = skb; in nci_uart_write_work()
183 kfree_skb(nu->tx_skb); in nci_uart_tty_close()
/linux/drivers/net/can/spi/
A Dhi311x.c155 struct sk_buff *tx_skb; member
179 if (priv->tx_skb || priv->tx_busy) in hi3110_clean()
181 dev_kfree_skb(priv->tx_skb); in hi3110_clean()
184 priv->tx_skb = NULL; in hi3110_clean()
371 if (priv->tx_skb || priv->tx_busy) { in hi3110_hard_start_xmit()
380 priv->tx_skb = skb; in hi3110_hard_start_xmit()
580 if (priv->tx_skb) { in hi3110_tx_work_handler()
584 frame = (struct can_frame *)priv->tx_skb->data; in hi3110_tx_work_handler()
587 can_put_echo_skb(priv->tx_skb, net, 0, 0); in hi3110_tx_work_handler()
588 priv->tx_skb = NULL; in hi3110_tx_work_handler()
[all …]
/linux/drivers/isdn/hardware/mISDN/
A Dhfcsusb.c336 if (dch->tx_skb) { in hfcusb_l2l1D()
338 dch->tx_skb = NULL; in hfcusb_l2l1D()
385 if (dch->tx_skb) { in hfc_l1callback()
387 dch->tx_skb = NULL; in hfc_l1callback()
1163 struct sk_buff *tx_skb; in tx_iso_complete() local
1180 tx_skb = fifo->dch->tx_skb; in tx_iso_complete()
1184 tx_skb = fifo->bch->tx_skb; in tx_iso_complete()
1246 if (tx_skb) in tx_iso_complete()
1339 tx_skb = NULL; in tx_iso_complete()
1341 tx_skb = fifo->dch->tx_skb; in tx_iso_complete()
[all …]
A Dw6692.c282 if (!dch->tx_skb) in W6692_fill_Dfifo()
376 if (card->dch.tx_skb && card->dch.tx_idx < card->dch.tx_skb->len) { in handle_txD()
379 dev_kfree_skb(card->dch.tx_skb); in handle_txD()
492 if (!wch->bch.tx_skb) { in W6692_fill_Bfifo()
635 if (wch->bch.tx_skb && wch->bch.tx_idx < wch->bch.tx_skb->len) { in send_next()
638 dev_kfree_skb(wch->bch.tx_skb); in send_next()
741 if (wch->bch.tx_skb) { in W6692B_interrupt()
757 if (wch->bch.tx_skb) { in W6692B_interrupt()
1122 if (dch->tx_skb) { in w6692_l1callback()
1123 dev_kfree_skb(dch->tx_skb); in w6692_l1callback()
[all …]
A Dhfcpci.c674 if (!dch->tx_skb) in hfcpci_fill_dfifo()
733 dch->tx_idx = dch->tx_skb->len; in hfcpci_fill_dfifo()
752 if ((!bch->tx_skb) || bch->tx_skb->len == 0) { in hfcpci_fill_fifo()
1079 if (dch->tx_skb) { in hfc_l1callback()
1080 dev_kfree_skb(dch->tx_skb); in hfc_l1callback()
1081 dch->tx_skb = NULL; in hfc_l1callback()
1120 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) in tx_birq()
1132 if (dch->tx_skb && dch->tx_idx < dch->tx_skb->len) in tx_dirq()
1135 dev_kfree_skb(dch->tx_skb); in tx_dirq()
1627 if (dch->tx_skb) { in hfcpci_l2l1D()
[all …]
A DmISDNipac.c143 if (!isac->dch.tx_skb) in isac_fill_fifo()
145 count = isac->dch.tx_skb->len - isac->dch.tx_idx; in isac_fill_fifo()
155 ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; in isac_fill_fifo()
210 if (isac->dch.tx_skb && isac->dch.tx_idx < isac->dch.tx_skb->len) { in isac_xpr_irq()
213 dev_kfree_skb(isac->dch.tx_skb); in isac_xpr_irq()
657 if (dch->tx_skb) { in isac_l1cmd()
658 dev_kfree_skb(dch->tx_skb); in isac_l1cmd()
659 dch->tx_skb = NULL; in isac_l1cmd()
968 if (!hscx->bch.tx_skb) { in hscx_fill_fifo()
1010 if (hx->bch.tx_skb && hx->bch.tx_idx < hx->bch.tx_skb->len) { in hscx_xpr()
[all …]
/linux/drivers/net/wireless/marvell/libertas_tf/
A Dmain.c241 BUG_ON(priv->tx_skb); in lbtf_tx_work()
243 priv->tx_skb = skb; in lbtf_tx_work()
248 priv->tx_skb = NULL; in lbtf_tx_work()
574 priv->tx_skb = NULL; in lbtf_add_card()
658 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(priv->tx_skb); in lbtf_send_tx_feedback()
669 skb_pull(priv->tx_skb, sizeof(struct txpd)); in lbtf_send_tx_feedback()
670 ieee80211_tx_status_irqsafe(priv->hw, priv->tx_skb); in lbtf_send_tx_feedback()
671 priv->tx_skb = NULL; in lbtf_send_tx_feedback()
/linux/drivers/net/ethernet/microchip/
A Dencx24j600.c51 struct sk_buff *tx_skb; member
303 if (!priv->tx_skb) { in encx24j600_tx_complete()
315 dev->stats.tx_bytes += priv->tx_skb->len; in encx24j600_tx_complete()
321 dev_kfree_skb(priv->tx_skb); in encx24j600_tx_complete()
322 priv->tx_skb = NULL; in encx24j600_tx_complete()
834 priv->tx_skb->len); in encx24j600_hw_tx()
837 dump_packet("TX", priv->tx_skb->len, priv->tx_skb->data); in encx24j600_hw_tx()
852 encx24j600_raw_write(priv, WGPDATA, (u8 *)priv->tx_skb->data, in encx24j600_hw_tx()
853 priv->tx_skb->len); in encx24j600_hw_tx()
859 encx24j600_write_reg(priv, ETXLEN, priv->tx_skb->len); in encx24j600_hw_tx()
[all …]
A Denc28j60.c59 struct sk_buff *tx_skb; member
1079 if (priv->tx_skb) { in enc28j60_tx_clear()
1081 ndev->stats.tx_bytes += priv->tx_skb->len; in enc28j60_tx_clear()
1082 dev_kfree_skb(priv->tx_skb); in enc28j60_tx_clear()
1083 priv->tx_skb = NULL; in enc28j60_tx_clear()
1239 BUG_ON(!priv->tx_skb); in enc28j60_hw_tx()
1243 priv->tx_skb->len); in enc28j60_hw_tx()
1247 priv->tx_skb->len, priv->tx_skb->data); in enc28j60_hw_tx()
1248 enc28j60_packet_write(priv, priv->tx_skb->len, priv->tx_skb->data); in enc28j60_hw_tx()
1258 test_len = priv->tx_skb->len; in enc28j60_hw_tx()
[all …]
/linux/drivers/net/mctp/
A Dmctp-i3c.c57 struct sk_buff *tx_skb; member
431 skb = mbus->tx_skb; in mctp_i3c_tx_thread()
432 mbus->tx_skb = NULL; in mctp_i3c_tx_thread()
443 mbus->tx_skb || kthread_should_stop()); in mctp_i3c_tx_thread()
458 if (mbus->tx_skb) { in mctp_i3c_start_xmit()
462 mbus->tx_skb = skb; in mctp_i3c_start_xmit()
488 kfree_skb(mbus->tx_skb); in mctp_i3c_bus_free()
/linux/drivers/misc/ti-st/
A Dst_core.c398 if (st_gdata->tx_skb != NULL) { in st_int_dequeue()
399 returning_skb = st_gdata->tx_skb; in st_int_dequeue()
400 st_gdata->tx_skb = NULL; in st_int_dequeue()
492 st_data->tx_skb = skb; in st_tx_wakeup()
834 kfree_skb(st_gdata->tx_skb); in st_tty_flush_buffer()
835 st_gdata->tx_skb = NULL; in st_tty_flush_buffer()
912 kfree_skb(st_gdata->tx_skb); in st_core_exit()
/linux/drivers/net/dsa/mv88e6xxx/
A Dhwtstamp.c371 if (!ps->tx_skb) in mv88e6xxx_txtstamp_work()
431 tmp_skb = ps->tx_skb; in mv88e6xxx_txtstamp_work()
432 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work()
439 dev_kfree_skb_any(ps->tx_skb); in mv88e6xxx_txtstamp_work()
440 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work()
494 ps->tx_skb = clone; in mv88e6xxx_port_txtstamp()
/linux/drivers/net/ethernet/cadence/
A Dmacb_main.c1046 tx_skb->mapping = 0; in macb_tx_unmap()
1049 if (tx_skb->skb) { in macb_tx_unmap()
1051 tx_skb->skb = NULL; in macb_tx_unmap()
1139 skb = tx_skb->skb; in macb_tx_error_task()
1272 skb = tx_skb->skb; in macb_tx_complete()
2070 tx_skb = &queue->tx_skb[entry]; in macb_tx_map()
2079 tx_skb->skb = NULL; in macb_tx_map()
2101 tx_skb = &queue->tx_skb[entry]; in macb_tx_map()
2128 tx_skb->skb = skb; in macb_tx_map()
2161 tx_skb = &queue->tx_skb[entry]; in macb_tx_map()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_ptp.c68 ptp->tx_skb = skb_get(skb); in hclge_ptp_set_tx_info()
76 struct sk_buff *skb = hdev->ptp->tx_skb; in hclge_ptp_clean_tx_hwts()
90 hdev->ptp->tx_skb = NULL; in hclge_ptp_clean_tx_hwts()
540 if (ptp->tx_skb) { in hclge_ptp_uninit()
541 struct sk_buff *skb = ptp->tx_skb; in hclge_ptp_uninit()
543 ptp->tx_skb = NULL; in hclge_ptp_uninit()
/linux/drivers/net/ethernet/nvidia/
A Dforcedeth.c1038 kfree(np->tx_skb); in free_rings()
1977 np->tx_skb[i].dma = 0; in nv_init_tx()
2000 if (tx_skb->dma) { in nv_unmap_txskb()
2001 if (tx_skb->dma_single) in nv_unmap_txskb()
2003 tx_skb->dma_len, in nv_unmap_txskb()
2009 tx_skb->dma = 0; in nv_unmap_txskb()
2016 if (tx_skb->skb) { in nv_release_txskb()
2018 tx_skb->skb = NULL; in nv_release_txskb()
2044 np->tx_skb[i].dma = 0; in nv_drain_tx()
5180 if (!tx_skb) { in nv_loopback_test()
[all …]
/linux/include/linux/
A DmISDNhw.h94 struct sk_buff *tx_skb; member
160 struct sk_buff *tx_skb; member
/linux/drivers/net/ethernet/ezchip/
A Dnps_enet.c21 return (!tx_ctrl_ct && priv->tx_skb); in nps_enet_is_tx_pending()
159 dev_kfree_skb(priv->tx_skb); in nps_enet_tx_handler()
160 priv->tx_skb = NULL; in nps_enet_tx_handler()
472 priv->tx_skb = NULL; in nps_enet_open()
539 priv->tx_skb = skb; in nps_enet_start_xmit()

Completed in 94 milliseconds

1234