| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| A D | mlxbf_gige_tx.c | 67 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/net/ethernet/ni/ |
| A D | nixge.c | 272 if (priv->tx_skb) in nixge_hw_dma_bd_release() 305 if (!priv->tx_skb) in nixge_hw_dma_bd_init() 453 if (tx_skb->skb) { in nixge_tx_skb_unmap() 469 tx_skb = &priv->tx_skb[priv->tx_bd_ci]; in nixge_start_xmit_done() 483 tx_skb = &priv->tx_skb[priv->tx_bd_ci]; in nixge_start_xmit_done() 518 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit() 534 tx_skb->skb = NULL; in nixge_start_xmit() 543 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit() 562 tx_skb->skb = skb; in nixge_start_xmit() 580 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| A D | hwchannel.c | 63 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/qlogic/qede/ |
| A D | qede_ptp.c | 19 struct sk_buff *tx_skb; member 155 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task() 156 ptp->tx_skb = NULL; in qede_ptp_task() 170 skb_tstamp_tx(ptp->tx_skb, &shhwtstamps); in qede_ptp_task() 171 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task() 172 ptp->tx_skb = NULL; in qede_ptp_task() 387 if (ptp->tx_skb) { in qede_ptp_disable() 388 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_disable() 389 ptp->tx_skb = NULL; in qede_ptp_disable() 514 } else if (unlikely(ptp->tx_skb)) { in qede_ptp_tx_ts() [all …]
|
| /linux/drivers/net/ethernet/natsemi/ |
| A D | sonic.c | 202 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/bluetooth/ |
| A D | hci_serdev.c | 46 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/dsa/hirschmann/ |
| A D | hellcreek_hwtstamp.c | 226 if (!ps->tx_skb) in hellcreek_txtstamp_work() 274 tmp_skb = ps->tx_skb; in hellcreek_txtstamp_work() 275 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 289 dev_kfree_skb_any(ps->tx_skb); in hellcreek_txtstamp_work() 290 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 409 ps->tx_skb = clone; in hellcreek_port_txtstamp()
|
| /linux/net/nfc/nci/ |
| A D | uart.c | 41 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/isdn/hardware/mISDN/ |
| A D | hfcsusb.c | 332 if (dch->tx_skb) { in hfcusb_l2l1D() 334 dch->tx_skb = NULL; in hfcusb_l2l1D() 380 if (dch->tx_skb) { in hfc_l1callback() 382 dch->tx_skb = NULL; in hfc_l1callback() 1158 struct sk_buff *tx_skb; in tx_iso_complete() local 1175 tx_skb = fifo->dch->tx_skb; in tx_iso_complete() 1179 tx_skb = fifo->bch->tx_skb; in tx_iso_complete() 1241 if (tx_skb) in tx_iso_complete() 1334 tx_skb = NULL; in tx_iso_complete() 1336 tx_skb = fifo->dch->tx_skb; in tx_iso_complete() [all …]
|
| A D | w6692.c | 281 if (!dch->tx_skb) in W6692_fill_Dfifo() 375 if (card->dch.tx_skb && card->dch.tx_idx < card->dch.tx_skb->len) { in handle_txD() 378 dev_kfree_skb(card->dch.tx_skb); in handle_txD() 491 if (!wch->bch.tx_skb) { in W6692_fill_Bfifo() 634 if (wch->bch.tx_skb && wch->bch.tx_idx < wch->bch.tx_skb->len) { in send_next() 637 dev_kfree_skb(wch->bch.tx_skb); in send_next() 740 if (wch->bch.tx_skb) { in W6692B_interrupt() 756 if (wch->bch.tx_skb) { in W6692B_interrupt() 1121 if (dch->tx_skb) { in w6692_l1callback() 1122 dev_kfree_skb(dch->tx_skb); in w6692_l1callback() [all …]
|
| A D | hfcpci.c | 673 if (!dch->tx_skb) in hfcpci_fill_dfifo() 751 if ((!bch->tx_skb) || bch->tx_skb->len == 0) { in hfcpci_fill_fifo() 842 dev_kfree_skb(bch->tx_skb); in hfcpci_fill_fifo() 898 dev_kfree_skb(bch->tx_skb); in hfcpci_fill_fifo() 1078 if (dch->tx_skb) { in hfc_l1callback() 1080 dch->tx_skb = NULL; in hfc_l1callback() 1119 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) in tx_birq() 1122 dev_kfree_skb(bch->tx_skb); in tx_birq() 1131 if (dch->tx_skb && dch->tx_idx < dch->tx_skb->len) in tx_dirq() 1623 if (dch->tx_skb) { in hfcpci_l2l1D() [all …]
|
| A D | mISDNipac.c | 142 if (!isac->dch.tx_skb) in isac_fill_fifo() 144 count = isac->dch.tx_skb->len - isac->dch.tx_idx; in isac_fill_fifo() 154 ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; in isac_fill_fifo() 209 if (isac->dch.tx_skb && isac->dch.tx_idx < isac->dch.tx_skb->len) { in isac_xpr_irq() 212 dev_kfree_skb(isac->dch.tx_skb); in isac_xpr_irq() 656 if (dch->tx_skb) { in isac_l1cmd() 657 dev_kfree_skb(dch->tx_skb); in isac_l1cmd() 658 dch->tx_skb = NULL; in isac_l1cmd() 967 if (!hscx->bch.tx_skb) { in hscx_fill_fifo() 1009 if (hx->bch.tx_skb && hx->bch.tx_idx < hx->bch.tx_skb->len) { in hscx_xpr() [all …]
|
| A D | avmfritz.c | 449 if (!bch->tx_skb) { in hdlc_fill_fifo() 456 count = bch->tx_skb->len - bch->tx_idx; in hdlc_fill_fifo() 459 p = bch->tx_skb->data + bch->tx_idx; in hdlc_fill_fifo() 471 bch->tx_idx, bch->tx_skb->len); in hdlc_fill_fifo() 509 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) { in HDLC_irq_xpr() 512 dev_kfree_skb(bch->tx_skb); in HDLC_irq_xpr() 578 stat, bch->tx_skb ? "tx_skb" : "no tx_skb"); in HDLC_irq() 579 if (bch->tx_skb && bch->tx_skb->len) { in HDLC_irq()
|
| /linux/drivers/net/can/spi/ |
| A D | hi311x.c | 155 struct sk_buff *tx_skb; member 178 if (priv->tx_skb || priv->tx_len) in hi3110_clean() 180 dev_kfree_skb(priv->tx_skb); in hi3110_clean() 183 priv->tx_skb = NULL; in hi3110_clean() 371 if (priv->tx_skb || priv->tx_len) { in hi3110_hard_start_xmit() 380 priv->tx_skb = skb; in hi3110_hard_start_xmit() 582 if (priv->tx_skb) { in hi3110_tx_work_handler() 586 frame = (struct can_frame *)priv->tx_skb->data; in hi3110_tx_work_handler() 589 can_put_echo_skb(priv->tx_skb, net, 0, 0); in hi3110_tx_work_handler() 590 priv->tx_skb = NULL; in hi3110_tx_work_handler() [all …]
|
| A D | mcp251x.c | 239 struct sk_buff *tx_skb; member 275 if (priv->tx_skb || priv->tx_len) in mcp251x_clean() 277 dev_kfree_skb(priv->tx_skb); in mcp251x_clean() 280 priv->tx_skb = NULL; in mcp251x_clean() 789 if (priv->tx_skb || priv->tx_len) { in mcp251x_hard_start_xmit() 798 priv->tx_skb = skb; in mcp251x_hard_start_xmit() 1005 if (priv->tx_skb) { in mcp251x_tx_work_handler() 1009 frame = (struct can_frame *)priv->tx_skb->data; in mcp251x_tx_work_handler() 1015 can_put_echo_skb(priv->tx_skb, net, 0, 0); in mcp251x_tx_work_handler() 1016 priv->tx_skb = NULL; in mcp251x_tx_work_handler() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ptp.c | 558 skb_tstamp_tx(ptp->tx_skb, ×tamp); in bnxt_stamp_tx_skb() 564 dev_kfree_skb_any(ptp->tx_skb); in bnxt_stamp_tx_skb() 565 ptp->tx_skb = NULL; in bnxt_stamp_tx_skb() 576 if (ptp->tx_skb) in bnxt_ptp_ts_aux_work() 577 bnxt_stamp_tx_skb(bp, ptp->tx_skb); in bnxt_ptp_ts_aux_work() 597 if (ptp->tx_skb) { in bnxt_get_tx_ts_p5() 601 ptp->tx_skb = skb; in bnxt_get_tx_ts_p5() 790 if (ptp->tx_skb) { in bnxt_ptp_clear() 791 dev_kfree_skb_any(ptp->tx_skb); in bnxt_ptp_clear() 792 ptp->tx_skb = NULL; in bnxt_ptp_clear()
|
| /linux/drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 1014 tx_skb->mapping = 0; in macb_tx_unmap() 1017 if (tx_skb->skb) { in macb_tx_unmap() 1019 tx_skb->skb = NULL; in macb_tx_unmap() 1099 skb = tx_skb->skb; in macb_tx_error_task() 1206 skb = tx_skb->skb; in macb_tx_interrupt() 1903 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() 1912 tx_skb->skb = NULL; in macb_tx_map() 1934 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() 1961 tx_skb->skb = skb; in macb_tx_map() 1994 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas_tf/ |
| A D | main.c | 240 BUG_ON(priv->tx_skb); in lbtf_tx_work() 242 priv->tx_skb = skb; in lbtf_tx_work() 247 priv->tx_skb = NULL; in lbtf_tx_work() 568 priv->tx_skb = NULL; in lbtf_add_card() 652 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(priv->tx_skb); in lbtf_send_tx_feedback() 663 skb_pull(priv->tx_skb, sizeof(struct txpd)); in lbtf_send_tx_feedback() 664 ieee80211_tx_status_irqsafe(priv->hw, priv->tx_skb); in lbtf_send_tx_feedback() 665 priv->tx_skb = NULL; in lbtf_send_tx_feedback()
|
| /linux/drivers/net/ethernet/microchip/ |
| A D | encx24j600.c | 51 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() 850 encx24j600_raw_write(priv, WGPDATA, (u8 *)priv->tx_skb->data, in encx24j600_hw_tx() 851 priv->tx_skb->len); in encx24j600_hw_tx() 857 encx24j600_write_reg(priv, ETXLEN, priv->tx_skb->len); in encx24j600_hw_tx() [all …]
|
| A D | enc28j60.c | 59 struct sk_buff *tx_skb; member 1080 if (priv->tx_skb) { in enc28j60_tx_clear() 1082 ndev->stats.tx_bytes += priv->tx_skb->len; in enc28j60_tx_clear() 1083 dev_kfree_skb(priv->tx_skb); in enc28j60_tx_clear() 1084 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/misc/ti-st/ |
| A D | st_core.c | 403 if (st_gdata->tx_skb != NULL) { in st_int_dequeue() 404 returning_skb = st_gdata->tx_skb; in st_int_dequeue() 405 st_gdata->tx_skb = NULL; in st_int_dequeue() 497 st_data->tx_skb = skb; in st_tx_wakeup() 839 kfree_skb(st_gdata->tx_skb); in st_tty_flush_buffer() 840 st_gdata->tx_skb = NULL; in st_tty_flush_buffer() 917 kfree_skb(st_gdata->tx_skb); in st_core_exit()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| A D | hwtstamp.c | 375 if (!ps->tx_skb) in mv88e6xxx_txtstamp_work() 435 tmp_skb = ps->tx_skb; in mv88e6xxx_txtstamp_work() 436 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 443 dev_kfree_skb_any(ps->tx_skb); in mv88e6xxx_txtstamp_work() 444 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 498 ps->tx_skb = clone; in mv88e6xxx_port_txtstamp()
|
| /linux/drivers/net/ethernet/nvidia/ |
| A D | forcedeth.c | 1038 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() 5174 if (!tx_skb) { in nv_loopback_test() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_ptp.c | 80 ptp->tx_skb = skb_get(skb); in hclge_ptp_set_tx_info() 88 struct sk_buff *skb = hdev->ptp->tx_skb; in hclge_ptp_clean_tx_hwts() 102 hdev->ptp->tx_skb = NULL; in hclge_ptp_clean_tx_hwts() 556 if (ptp->tx_skb) { in hclge_ptp_uninit() 557 struct sk_buff *skb = ptp->tx_skb; in hclge_ptp_uninit() 559 ptp->tx_skb = NULL; in hclge_ptp_uninit()
|
| /linux/net/mac802154/ |
| A D | tx.c | 29 struct sk_buff *skb = local->tx_skb; in ieee802154_xmit_worker() 92 local->tx_skb = skb; in ieee802154_tx()
|