/drivers/net/ethernet/mellanox/mlxbf_gige/ |
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() 159 priv->tx_skb[tx_wqe_index]->len, DMA_TO_DEVICE); in mlxbf_gige_handle_tx_complete() 160 dev_consume_skb_any(priv->tx_skb[tx_wqe_index]); in mlxbf_gige_handle_tx_complete() 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() [all …]
|
/drivers/net/ethernet/ni/ |
D | nixge.c | 195 struct nixge_tx_skb *tx_skb; member 273 if (priv->tx_skb) in nixge_hw_dma_bd_release() 274 devm_kfree(ndev->dev.parent, priv->tx_skb); in nixge_hw_dma_bd_release() 303 priv->tx_skb = devm_kcalloc(ndev->dev.parent, in nixge_hw_dma_bd_init() 304 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init() 306 if (!priv->tx_skb) in nixge_hw_dma_bd_init() 441 struct nixge_tx_skb *tx_skb) in nixge_tx_skb_unmap() argument 443 if (tx_skb->mapping) { in nixge_tx_skb_unmap() 444 if (tx_skb->mapped_as_page) in nixge_tx_skb_unmap() 445 dma_unmap_page(priv->ndev->dev.parent, tx_skb->mapping, in nixge_tx_skb_unmap() [all …]
|
/drivers/isdn/mISDN/ |
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() 101 dev_kfree_skb(ch->tx_skb); in mISDN_freedchannel() 102 ch->tx_skb = NULL; in mISDN_freedchannel() 118 if (ch->tx_skb) { in mISDN_clear_bchannel() 119 dev_kfree_skb(ch->tx_skb); in mISDN_clear_bchannel() 120 ch->tx_skb = NULL; in mISDN_clear_bchannel() 311 skb = _alloc_mISDN_skb(PH_DATA_CNF, mISDN_HEAD_ID(dch->tx_skb), in confirm_Dsend() 315 mISDN_HEAD_ID(dch->tx_skb)); in confirm_Dsend() [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
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 …]
|
/drivers/net/ethernet/natsemi/ |
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() 409 dev_consume_skb_irq(lp->tx_skb[entry]); in sonic_interrupt() [all …]
|
/drivers/bluetooth/ |
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/net/dsa/hirschmann/ |
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()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 335 if (dch->tx_skb) { in hfcusb_l2l1D() 336 __skb_queue_tail(&free_queue, dch->tx_skb); in hfcusb_l2l1D() 337 dch->tx_skb = NULL; in hfcusb_l2l1D() 384 if (dch->tx_skb) { in hfc_l1callback() 385 dev_kfree_skb(dch->tx_skb); in hfc_l1callback() 386 dch->tx_skb = NULL; in hfc_l1callback() 1162 struct sk_buff *tx_skb; in tx_iso_complete() local 1179 tx_skb = fifo->dch->tx_skb; in tx_iso_complete() 1183 tx_skb = fifo->bch->tx_skb; in tx_iso_complete() 1186 if (!tx_skb && !hdlc && in tx_iso_complete() [all …]
|
D | w6692.c | 281 if (!dch->tx_skb) in W6692_fill_Dfifo() 283 count = dch->tx_skb->len - dch->tx_idx; in W6692_fill_Dfifo() 290 ptr = dch->tx_skb->data + dch->tx_idx; in W6692_fill_Dfifo() 322 } else if (dch->tx_skb) { /* should not happen */ in d_retransmit() 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() 498 count = wch->bch.tx_skb->len - wch->bch.tx_idx; in W6692_fill_Bfifo() 501 ptr = wch->bch.tx_skb->data + wch->bch.tx_idx; in W6692_fill_Bfifo() 634 if (wch->bch.tx_skb && wch->bch.tx_idx < wch->bch.tx_skb->len) { in send_next() [all …]
|
D | hfcpci.c | 673 if (!dch->tx_skb) in hfcpci_fill_dfifo() 675 count = dch->tx_skb->len - dch->tx_idx; in hfcpci_fill_dfifo() 713 src = dch->tx_skb->data + dch->tx_idx; /* source pointer */ in hfcpci_fill_dfifo() 732 dch->tx_idx = dch->tx_skb->len; in hfcpci_fill_dfifo() 751 if ((!bch->tx_skb) || bch->tx_skb->len == 0) { in hfcpci_fill_fifo() 757 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo() 808 count = bch->tx_skb->len - bch->tx_idx; in hfcpci_fill_fifo() 819 src = bch->tx_skb->data + bch->tx_idx; in hfcpci_fill_fifo() 840 if (bch->tx_idx < bch->tx_skb->len) in hfcpci_fill_fifo() 842 dev_kfree_skb_any(bch->tx_skb); in hfcpci_fill_fifo() [all …]
|
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() 227 } else if (isac->dch.tx_skb) { /* should not happen */ in isac_retransmit() 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() [all …]
|
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()
|
/drivers/net/can/spi/ |
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 …]
|
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 …]
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 197 return &queue->tx_skb[macb_tx_ring_wrap(queue->bp, index)]; in macb_tx_skb() 998 static void macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb) in macb_tx_unmap() argument 1000 if (tx_skb->mapping) { in macb_tx_unmap() 1001 if (tx_skb->mapped_as_page) in macb_tx_unmap() 1002 dma_unmap_page(&bp->pdev->dev, tx_skb->mapping, in macb_tx_unmap() 1003 tx_skb->size, DMA_TO_DEVICE); in macb_tx_unmap() 1005 dma_unmap_single(&bp->pdev->dev, tx_skb->mapping, in macb_tx_unmap() 1006 tx_skb->size, DMA_TO_DEVICE); in macb_tx_unmap() 1007 tx_skb->mapping = 0; in macb_tx_unmap() 1010 if (tx_skb->skb) { in macb_tx_unmap() [all …]
|
/drivers/net/wireless/marvell/libertas_tf/ |
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()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 573 skb_tstamp_tx(ptp->tx_skb, ×tamp); in bnxt_stamp_tx_skb() 579 dev_kfree_skb_any(ptp->tx_skb); in bnxt_stamp_tx_skb() 580 ptp->tx_skb = NULL; in bnxt_stamp_tx_skb() 591 if (ptp->tx_skb) in bnxt_ptp_ts_aux_work() 592 bnxt_stamp_tx_skb(bp, ptp->tx_skb); in bnxt_ptp_ts_aux_work() 612 if (ptp->tx_skb) { in bnxt_get_tx_ts_p5() 616 ptp->tx_skb = skb; in bnxt_get_tx_ts_p5() 805 if (ptp->tx_skb) { in bnxt_ptp_clear() 806 dev_kfree_skb_any(ptp->tx_skb); in bnxt_ptp_clear() 807 ptp->tx_skb = NULL; in bnxt_ptp_clear()
|
/drivers/net/ethernet/microchip/ |
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 …]
|
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 …]
|
/drivers/misc/ti-st/ |
D | st_core.c | 404 if (st_gdata->tx_skb != NULL) { in st_int_dequeue() 405 returning_skb = st_gdata->tx_skb; in st_int_dequeue() 406 st_gdata->tx_skb = NULL; in st_int_dequeue() 498 st_data->tx_skb = skb; in st_tx_wakeup() 840 kfree_skb(st_gdata->tx_skb); in st_tty_flush_buffer() 841 st_gdata->tx_skb = NULL; in st_tty_flush_buffer() 918 kfree_skb(st_gdata->tx_skb); in st_core_exit()
|
/drivers/net/dsa/mv88e6xxx/ |
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()
|
/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 828 struct nv_skb_map *tx_skb; member 1038 kfree(np->tx_skb); in free_rings() 1957 np->get_tx_ctx = np->tx_skb; in nv_init_tx() 1958 np->put_tx_ctx = np->tx_skb; in nv_init_tx() 1959 np->last_tx_ctx = &np->tx_skb[np->tx_ring_size-1]; in nv_init_tx() 1976 np->tx_skb[i].skb = NULL; in nv_init_tx() 1977 np->tx_skb[i].dma = 0; in nv_init_tx() 1978 np->tx_skb[i].dma_len = 0; in nv_init_tx() 1979 np->tx_skb[i].dma_single = 0; in nv_init_tx() 1980 np->tx_skb[i].first_tx_desc = NULL; in nv_init_tx() [all …]
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
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()
|
/drivers/net/ethernet/ |
D | korina.c | 344 struct sk_buff *tx_skb[KORINA_NUM_TDS]; member 446 lp->tx_skb[idx] = skb; in korina_send_packet() 791 lp->tx_skb[lp->tx_next_done]->len; in korina_tx() 818 if (lp->tx_skb[lp->tx_next_done]) { in korina_tx() 821 lp->tx_skb[lp->tx_next_done]->len, in korina_tx() 823 dev_kfree_skb_any(lp->tx_skb[lp->tx_next_done]); in korina_tx() 824 lp->tx_skb[lp->tx_next_done] = NULL; in korina_tx() 1052 if (lp->tx_skb[i]) { in korina_free_ring() 1054 lp->tx_skb[i]->len, DMA_TO_DEVICE); in korina_free_ring() 1055 dev_kfree_skb_any(lp->tx_skb[i]); in korina_free_ring() [all …]
|
/drivers/net/ethernet/ezchip/ |
D | nps_enet.c | 22 return (!tx_ctrl_ct && priv->tx_skb); in nps_enet_is_tx_pending() 160 dev_kfree_skb(priv->tx_skb); in nps_enet_tx_handler() 161 priv->tx_skb = NULL; in nps_enet_tx_handler() 473 priv->tx_skb = NULL; in nps_enet_open() 540 priv->tx_skb = skb; in nps_enet_start_xmit()
|