| /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 …]
|
| /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() 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 …]
|
| /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 …]
|
| /drivers/net/ethernet/qlogic/qede/ |
| A D | qede_ptp.c | 19 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 …]
|
| /drivers/net/wwan/t7xx/ |
| A D | t7xx_port_wwan.c | 58 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()
|
| /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 …]
|
| /drivers/net/dsa/hirschmann/ |
| A D | hellcreek_hwtstamp.c | 216 if (!ps->tx_skb) in hellcreek_txtstamp_work() 264 tmp_skb = ps->tx_skb; in hellcreek_txtstamp_work() 265 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 279 dev_kfree_skb_any(ps->tx_skb); in hellcreek_txtstamp_work() 280 ps->tx_skb = NULL; in hellcreek_txtstamp_work() 392 ps->tx_skb = clone; in hellcreek_port_txtstamp()
|
| /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()
|
| /drivers/isdn/hardware/mISDN/ |
| A D | hfcsusb.c | 336 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 D | w6692.c | 282 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 D | hfcpci.c | 674 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 D | mISDNipac.c | 143 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 …]
|
| A D | avmfritz.c | 450 if (!bch->tx_skb) { in hdlc_fill_fifo() 457 count = bch->tx_skb->len - bch->tx_idx; in hdlc_fill_fifo() 460 p = bch->tx_skb->data + bch->tx_idx; in hdlc_fill_fifo() 472 bch->tx_idx, bch->tx_skb->len); in hdlc_fill_fifo() 510 if (bch->tx_skb && bch->tx_idx < bch->tx_skb->len) { in HDLC_irq_xpr() 513 dev_kfree_skb(bch->tx_skb); in HDLC_irq_xpr() 579 stat, bch->tx_skb ? "tx_skb" : "no tx_skb"); in HDLC_irq() 580 if (bch->tx_skb && bch->tx_skb->len) { in HDLC_irq()
|
| /drivers/net/can/spi/ |
| A D | hi311x.c | 155 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 …]
|
| A D | mcp251x.c | 238 struct sk_buff *tx_skb; member 275 if (priv->tx_skb || priv->tx_busy) in mcp251x_clean() 277 dev_kfree_skb(priv->tx_skb); in mcp251x_clean() 280 priv->tx_skb = NULL; in mcp251x_clean() 799 if (priv->tx_skb || priv->tx_busy) { in mcp251x_hard_start_xmit() 808 priv->tx_skb = skb; in mcp251x_hard_start_xmit() 1013 if (priv->tx_skb) { in mcp251x_tx_work_handler() 1017 frame = (struct can_frame *)priv->tx_skb->data; in mcp251x_tx_work_handler() 1023 can_put_echo_skb(priv->tx_skb, net, 0, 0); in mcp251x_tx_work_handler() 1024 priv->tx_skb = NULL; in mcp251x_tx_work_handler() [all …]
|
| /drivers/net/wireless/marvell/libertas_tf/ |
| A D | main.c | 241 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()
|
| /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() 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 D | enc28j60.c | 59 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 …]
|
| /drivers/net/mctp/ |
| A D | mctp-i3c.c | 57 struct sk_buff *tx_skb; member 435 skb = mbus->tx_skb; in mctp_i3c_tx_thread() 436 mbus->tx_skb = NULL; in mctp_i3c_tx_thread() 447 mbus->tx_skb || kthread_should_stop()); in mctp_i3c_tx_thread() 462 if (mbus->tx_skb) { in mctp_i3c_start_xmit() 466 mbus->tx_skb = skb; in mctp_i3c_start_xmit() 492 kfree_skb(mbus->tx_skb); in mctp_i3c_bus_free()
|
| /drivers/net/dsa/mv88e6xxx/ |
| A D | hwtstamp.c | 367 if (!ps->tx_skb) in mv88e6xxx_txtstamp_work() 427 tmp_skb = ps->tx_skb; in mv88e6xxx_txtstamp_work() 428 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 435 dev_kfree_skb_any(ps->tx_skb); in mv88e6xxx_txtstamp_work() 436 ps->tx_skb = NULL; in mv88e6xxx_txtstamp_work() 490 ps->tx_skb = clone; in mv88e6xxx_port_txtstamp()
|
| /drivers/net/ethernet/nvidia/ |
| A D | forcedeth.c | 1038 kfree(np->tx_skb); in free_rings() 1963 np->tx_skb[i].dma = 0; in nv_init_tx() 1986 if (tx_skb->dma) { in nv_unmap_txskb() 1987 if (tx_skb->dma_single) in nv_unmap_txskb() 1989 tx_skb->dma_len, in nv_unmap_txskb() 1995 tx_skb->dma = 0; in nv_unmap_txskb() 2002 if (tx_skb->skb) { in nv_release_txskb() 2004 tx_skb->skb = NULL; in nv_release_txskb() 2030 np->tx_skb[i].dma = 0; in nv_drain_tx() 5166 if (!tx_skb) { in nv_loopback_test() [all …]
|
| /drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 1020 tx_skb->mapping = 0; in macb_tx_unmap() 1023 if (tx_skb->skb) { in macb_tx_unmap() 1025 tx_skb->skb = NULL; in macb_tx_unmap() 1116 skb = tx_skb->skb; in macb_tx_error_task() 1255 skb = tx_skb->skb; in macb_tx_complete() 2059 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() 2068 tx_skb->skb = NULL; in macb_tx_map() 2090 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() 2117 tx_skb->skb = skb; in macb_tx_map() 2150 tx_skb = &queue->tx_skb[entry]; in macb_tx_map() [all …]
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_ptp.c | 72 ptp->tx_skb = skb_get(skb); in hclge_ptp_set_tx_info() 80 struct sk_buff *skb = hdev->ptp->tx_skb; in hclge_ptp_clean_tx_hwts() 94 hdev->ptp->tx_skb = NULL; in hclge_ptp_clean_tx_hwts() 548 if (ptp->tx_skb) { in hclge_ptp_uninit() 549 struct sk_buff *skb = ptp->tx_skb; in hclge_ptp_uninit() 551 ptp->tx_skb = NULL; in hclge_ptp_uninit()
|
| /drivers/net/ethernet/ |
| A D | korina.c | 344 struct sk_buff *tx_skb[KORINA_NUM_TDS]; member 447 lp->tx_skb[idx] = skb; in korina_send_packet() 792 lp->tx_skb[lp->tx_next_done]->len; in korina_tx() 819 if (lp->tx_skb[lp->tx_next_done]) { in korina_tx() 822 lp->tx_skb[lp->tx_next_done]->len, in korina_tx() 824 dev_kfree_skb_any(lp->tx_skb[lp->tx_next_done]); in korina_tx() 825 lp->tx_skb[lp->tx_next_done] = NULL; in korina_tx() 1054 if (lp->tx_skb[i]) { in korina_free_ring() 1056 lp->tx_skb[i]->len, DMA_TO_DEVICE); in korina_free_ring() 1057 dev_kfree_skb_any(lp->tx_skb[i]); in korina_free_ring() [all …]
|
| /drivers/net/ethernet/ezchip/ |
| A D | nps_enet.c | 21 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()
|