Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/isdn/hisax/
Dipacx.c105 if (cs->tx_skb) { in dch_l2l1()
111 cs->tx_skb = skb; in dch_l2l1()
121 if (cs->tx_skb) { in dch_l2l1()
129 cs->tx_skb = skb; in dch_l2l1()
141 if (!cs->tx_skb) { in dch_l2l1()
184 if (cs->tx_skb) { in dch_l2l1()
185 dev_kfree_skb_any(cs->tx_skb); in dch_l2l1()
186 cs->tx_skb = NULL; in dch_l2l1()
220 if (cs->tx_skb) { in dbusy_timer_handler()
221 dev_kfree_skb_any(cs->tx_skb); in dbusy_timer_handler()
[all …]
Damd7930_fn.c181 if ((message & 0xf0) && (cs->tx_skb)) { in Amd7930_new_ph()
356 if ((!cs->tx_skb) || (cs->tx_skb->len <= 0)) in Amd7930_fill_Dfifo()
362 len = dtcrw = cs->tx_skb->len; in Amd7930_fill_Dfifo()
370 deb_ptr = ptr = cs->tx_skb->data; in Amd7930_fill_Dfifo()
380 count = ptr - cs->tx_skb->data; in Amd7930_fill_Dfifo()
381 skb_pull(cs->tx_skb, count); in Amd7930_fill_Dfifo()
447 if (cs->tx_skb) { in Amd7930_interrupt()
448 skb_push(cs->tx_skb, cs->tx_cnt); in Amd7930_interrupt()
465 if (cs->tx_skb) { in Amd7930_interrupt()
466 skb_push(cs->tx_skb, cs->tx_cnt); in Amd7930_interrupt()
[all …]
Dhscx_irq.c93 if (!bcs->tx_skb) in hscx_fill_fifo()
95 if (bcs->tx_skb->len <= 0) in hscx_fill_fifo()
99 if (bcs->tx_skb->len > fifo_size) { in hscx_fill_fifo()
103 count = bcs->tx_skb->len; in hscx_fill_fifo()
106 ptr = bcs->tx_skb->data; in hscx_fill_fifo()
107 skb_pull(bcs->tx_skb, count); in hscx_fill_fifo()
197 if (bcs->tx_skb) { in hscx_interrupt()
198 if (bcs->tx_skb->len) { in hscx_interrupt()
203 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hscx_interrupt()
210 dev_kfree_skb_irq(bcs->tx_skb); in hscx_interrupt()
[all …]
Djade_irq.c83 if (!bcs->tx_skb) in jade_fill_fifo()
85 if (bcs->tx_skb->len <= 0) in jade_fill_fifo()
89 if (bcs->tx_skb->len > fifo_size) { in jade_fill_fifo()
93 count = bcs->tx_skb->len; in jade_fill_fifo()
96 ptr = bcs->tx_skb->data; in jade_fill_fifo()
97 skb_pull(bcs->tx_skb, count); in jade_fill_fifo()
175 if (bcs->tx_skb) { in jade_interrupt()
176 if (bcs->tx_skb->len) { in jade_interrupt()
181 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in jade_interrupt()
188 dev_kfree_skb_irq(bcs->tx_skb); in jade_interrupt()
[all …]
Dw6692.c170 if (!cs->tx_skb) in W6692_fill_fifo()
173 count = cs->tx_skb->len; in W6692_fill_fifo()
182 ptr = cs->tx_skb->data; in W6692_fill_fifo()
183 skb_pull(cs->tx_skb, count); in W6692_fill_fifo()
239 if (!bcs->tx_skb) in W6692B_fill_fifo()
241 if (bcs->tx_skb->len <= 0) in W6692B_fill_fifo()
245 if (bcs->tx_skb->len > W_B_FIFO_THRESH) { in W6692B_fill_fifo()
249 count = bcs->tx_skb->len; in W6692B_fill_fifo()
254 ptr = bcs->tx_skb->data; in W6692B_fill_fifo()
255 skb_pull(bcs->tx_skb, count); in W6692B_fill_fifo()
[all …]
Dhfc_2bds0.c268 if (!bcs->tx_skb) in hfc_fill_fifo()
270 if (bcs->tx_skb->len <= 0) in hfc_fill_fifo()
296 bcs->channel, bcs->tx_skb->len, in hfc_fill_fifo()
298 if (count < bcs->tx_skb->len) { in hfc_fill_fifo()
307 WriteReg(cs, HFCD_DATA_NODEB, cip, bcs->tx_skb->data[idx++]); in hfc_fill_fifo()
308 while (idx < bcs->tx_skb->len) { in hfc_fill_fifo()
311 WriteReg(cs, HFCD_DATA_NODEB, cip, bcs->tx_skb->data[idx]); in hfc_fill_fifo()
314 if (idx != bcs->tx_skb->len) { in hfc_fill_fifo()
318 bcs->tx_cnt -= bcs->tx_skb->len; in hfc_fill_fifo()
320 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfc_fill_fifo()
[all …]
Dhfc_2bs0.c245 if (!bcs->tx_skb) in hfc_fill_fifo()
247 if (bcs->tx_skb->len <= 0) in hfc_fill_fifo()
286 bcs->channel, bcs->tx_skb->len, in hfc_fill_fifo()
288 if (count < bcs->tx_skb->len) { in hfc_fill_fifo()
295 while ((idx < bcs->tx_skb->len) && WaitNoBusy(cs)) in hfc_fill_fifo()
296 cs->BC_Write_Reg(cs, HFC_DATA_NODEB, cip, bcs->tx_skb->data[idx++]); in hfc_fill_fifo()
297 if (idx != bcs->tx_skb->len) { in hfc_fill_fifo()
301 count = bcs->tx_skb->len; in hfc_fill_fifo()
303 if (PACKET_NOACK == bcs->tx_skb->pkt_type) in hfc_fill_fifo()
305 dev_kfree_skb_any(bcs->tx_skb); in hfc_fill_fifo()
[all …]
Dhfc_pci.c526 if (!cs->tx_skb) in hfcpci_fill_dfifo()
528 if (cs->tx_skb->len <= 0) in hfcpci_fill_dfifo()
555 cs->tx_skb->len, count); in hfcpci_fill_dfifo()
556 if (count < cs->tx_skb->len) { in hfcpci_fill_dfifo()
561 count = cs->tx_skb->len; /* get frame len */ in hfcpci_fill_dfifo()
564 src = cs->tx_skb->data; /* source pointer */ in hfcpci_fill_dfifo()
581 dev_kfree_skb_any(cs->tx_skb); in hfcpci_fill_dfifo()
582 cs->tx_skb = NULL; in hfcpci_fill_dfifo()
599 if (!bcs->tx_skb) in hfcpci_fill_fifo()
601 if (bcs->tx_skb->len <= 0) in hfcpci_fill_fifo()
[all …]
Disac.c153 if (!cs->tx_skb) in isac_fill_fifo()
156 count = cs->tx_skb->len; in isac_fill_fifo()
165 ptr = cs->tx_skb->data; in isac_fill_fifo()
166 skb_pull(cs->tx_skb, count); in isac_fill_fifo()
245 if (cs->tx_skb) { in isac_interrupt()
246 if (cs->tx_skb->len) { in isac_interrupt()
250 dev_kfree_skb_irq(cs->tx_skb); in isac_interrupt()
252 cs->tx_skb = NULL; in isac_interrupt()
255 cs->tx_skb = skb_dequeue(&cs->sq); in isac_interrupt()
256 if (cs->tx_skb) { in isac_interrupt()
[all …]
Delsa_ser.c245 if (!bcs->tx_skb) in write_modem()
247 if (bcs->tx_skb->len <= 0) in write_modem()
249 len = bcs->tx_skb->len; in write_modem()
257 skb_copy_from_linear_data(bcs->tx_skb, in write_modem()
259 skb_pull(bcs->tx_skb, count); in write_modem()
265 skb_copy_from_linear_data(bcs->tx_skb, in write_modem()
267 skb_pull(bcs->tx_skb, count); in write_modem()
282 if (bcs->tx_skb) { in modem_fill()
283 if (bcs->tx_skb->len) { in modem_fill()
288 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in modem_fill()
[all …]
Dicc.c150 if (!cs->tx_skb) in icc_fill_fifo()
153 count = cs->tx_skb->len; in icc_fill_fifo()
162 ptr = cs->tx_skb->data; in icc_fill_fifo()
163 skb_pull(cs->tx_skb, count); in icc_fill_fifo()
240 if (cs->tx_skb) { in icc_interrupt()
241 if (cs->tx_skb->len) { in icc_interrupt()
245 dev_kfree_skb_irq(cs->tx_skb); in icc_interrupt()
247 cs->tx_skb = NULL; in icc_interrupt()
250 if ((cs->tx_skb = skb_dequeue(&cs->sq))) { in icc_interrupt()
296 if (cs->tx_skb) { /* Restart frame */ in icc_interrupt()
[all …]
Dhisax_isac.c480 BUG_ON(!isac->tx_skb); in isac_fill_fifo()
482 count = isac->tx_skb->len; in isac_fill_fifo()
494 ptr = isac->tx_skb->data; in isac_fill_fifo()
495 skb_pull(isac->tx_skb, count); in isac_fill_fifo()
504 if (!isac->tx_skb) { in isac_retransmit()
508 skb_push(isac->tx_skb, isac->tx_cnt); in isac_retransmit()
569 if (!isac->tx_skb) in isac_xpr_interrupt()
572 if (isac->tx_skb->len > 0) { in isac_xpr_interrupt()
576 dev_kfree_skb_irq(isac->tx_skb); in isac_xpr_interrupt()
578 isac->tx_skb = NULL; in isac_xpr_interrupt()
[all …]
Davm_pci.c304 if (!bcs->tx_skb) in hdlc_fill_fifo()
306 if (bcs->tx_skb->len <= 0) in hdlc_fill_fifo()
310 if (bcs->tx_skb->len > fifo_size) { in hdlc_fill_fifo()
313 count = bcs->tx_skb->len; in hdlc_fill_fifo()
318 debugl1(cs, "hdlc_fill_fifo %d/%u", count, bcs->tx_skb->len); in hdlc_fill_fifo()
319 p = bcs->tx_skb->data; in hdlc_fill_fifo()
321 skb_pull(bcs->tx_skb, count); in hdlc_fill_fifo()
403 if (bcs->tx_skb) { in HDLC_irq()
404 skb_push(bcs->tx_skb, bcs->hw.hdlc.count); in HDLC_irq()
418 if (bcs->tx_skb) { in HDLC_irq()
[all …]
Dhscx.c105 if (bcs->tx_skb) { in hscx_l2l1()
108 bcs->tx_skb = skb; in hscx_l2l1()
117 if (bcs->tx_skb) { in hscx_l2l1()
121 bcs->tx_skb = skb; in hscx_l2l1()
128 if (!bcs->tx_skb) { in hscx_l2l1()
166 if (bcs->tx_skb) { in close_hscxstate()
167 dev_kfree_skb_any(bcs->tx_skb); in close_hscxstate()
168 bcs->tx_skb = NULL; in close_hscxstate()
195 bcs->tx_skb = NULL; in open_hscxstate()
Djade.c140 if (bcs->tx_skb) { in jade_l2l1()
143 bcs->tx_skb = skb; in jade_l2l1()
152 if (bcs->tx_skb) { in jade_l2l1()
156 bcs->tx_skb = skb; in jade_l2l1()
163 if (!bcs->tx_skb) { in jade_l2l1()
201 if (bcs->tx_skb) { in close_jadestate()
202 dev_kfree_skb_any(bcs->tx_skb); in close_jadestate()
203 bcs->tx_skb = NULL; in close_jadestate()
230 bcs->tx_skb = NULL; in open_jadestate()
Dhfc_sx.c511 if (!cs->tx_skb) in hfcsx_fill_dfifo()
513 if (cs->tx_skb->len <= 0) in hfcsx_fill_dfifo()
516 if (write_fifo(cs, cs->tx_skb, HFCSX_SEL_D_TX, 0)) { in hfcsx_fill_dfifo()
517 dev_kfree_skb_any(cs->tx_skb); in hfcsx_fill_dfifo()
518 cs->tx_skb = NULL; in hfcsx_fill_dfifo()
531 if (!bcs->tx_skb) in hfcsx_fill_fifo()
533 if (bcs->tx_skb->len <= 0) in hfcsx_fill_fifo()
536 if (write_fifo(cs, bcs->tx_skb, in hfcsx_fill_fifo()
542 bcs->tx_cnt -= bcs->tx_skb->len; in hfcsx_fill_fifo()
544 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in hfcsx_fill_fifo()
[all …]
Dnetjet.c226 if (!bcs->tx_skb) { in make_raw_data()
232 for (i = 0; i < bcs->tx_skb->len; i++) { in make_raw_data()
233 val = bcs->tx_skb->data[i]; in make_raw_data()
258 bcs->tx_skb->len, s_cnt, bitcnt); in make_raw_data()
268 bcs->tx_cnt -= bcs->tx_skb->len; in make_raw_data()
316 if (!bcs->tx_skb) { in make_raw_data_56k()
337 for (i = 0; i < bcs->tx_skb->len; i++) { in make_raw_data_56k()
338 val = bcs->tx_skb->data[i]; in make_raw_data_56k()
365 bcs->tx_skb->len, s_cnt, bitcnt); in make_raw_data_56k()
375 bcs->tx_cnt -= bcs->tx_skb->len; in make_raw_data_56k()
[all …]
Dst5481_b.c63 if ((skb = b_out->tx_skb)) { in usb_b_out()
89 b_out->tx_skb = NULL; in usb_b_out()
257 if (b_out->tx_skb) { in st5481B_mode()
258 dev_kfree_skb_any(b_out->tx_skb); in st5481B_mode()
259 b_out->tx_skb = NULL; in st5481B_mode()
363 BUG_ON(bcs->b_out.tx_skb); in st5481_b_l2l1()
364 bcs->b_out.tx_skb = skb; in st5481_b_l2l1()
/Linux-v4.19/drivers/net/ethernet/ni/
Dnixge.c161 struct nixge_tx_skb *tx_skb; member
220 if (priv->tx_skb) in nixge_hw_dma_bd_release()
221 devm_kfree(ndev->dev.parent, priv->tx_skb); in nixge_hw_dma_bd_release()
249 priv->tx_skb = devm_kcalloc(ndev->dev.parent, in nixge_hw_dma_bd_init()
250 TX_BD_NUM, sizeof(*priv->tx_skb), in nixge_hw_dma_bd_init()
252 if (!priv->tx_skb) in nixge_hw_dma_bd_init()
384 struct nixge_tx_skb *tx_skb) in nixge_tx_skb_unmap() argument
386 if (tx_skb->mapping) { in nixge_tx_skb_unmap()
387 if (tx_skb->mapped_as_page) in nixge_tx_skb_unmap()
388 dma_unmap_page(priv->ndev->dev.parent, tx_skb->mapping, in nixge_tx_skb_unmap()
[all …]
/Linux-v4.19/drivers/isdn/mISDN/
Dhwchannel.c72 ch->tx_skb = NULL; in mISDN_initdchannel()
96 ch->tx_skb = NULL; in mISDN_initbchannel()
109 if (ch->tx_skb) { in mISDN_freedchannel()
110 dev_kfree_skb(ch->tx_skb); in mISDN_freedchannel()
111 ch->tx_skb = NULL; in mISDN_freedchannel()
127 if (ch->tx_skb) { in mISDN_clear_bchannel()
128 dev_kfree_skb(ch->tx_skb); in mISDN_clear_bchannel()
129 ch->tx_skb = NULL; in mISDN_clear_bchannel()
320 skb = _alloc_mISDN_skb(PH_DATA_CNF, mISDN_HEAD_ID(dch->tx_skb), in confirm_Dsend()
324 mISDN_HEAD_ID(dch->tx_skb)); in confirm_Dsend()
[all …]
/Linux-v4.19/drivers/isdn/gigaset/
Dusb-gigaset.c315 if (!bcs->tx_skb) { /* no skb is being sent */ in gigaset_modem_fill()
327 bcs->tx_skb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill()
328 if (!bcs->tx_skb) in gigaset_modem_fill()
332 (unsigned long) bcs->tx_skb); in gigaset_modem_fill()
608 gig_dbg(DEBUG_OUTPUT, "len: %d...", bcs->tx_skb->len); in write_modem()
610 if (!bcs->tx_skb->len) { in write_modem()
611 dev_kfree_skb_any(bcs->tx_skb); in write_modem()
612 bcs->tx_skb = NULL; in write_modem()
617 count = min(bcs->tx_skb->len, (unsigned) ucs->bulk_out_size); in write_modem()
618 skb_copy_from_linear_data(bcs->tx_skb, ucs->bulk_out_buffer, count); in write_modem()
[all …]
/Linux-v4.19/drivers/net/ethernet/natsemi/
Dsonic.c142 if(lp->tx_skb[i]) { in sonic_close()
143 dev_kfree_skb(lp->tx_skb[i]); in sonic_close()
144 lp->tx_skb[i] = NULL; in sonic_close()
180 if(lp->tx_skb[i]) { in sonic_tx_timeout()
181 dev_kfree_skb(lp->tx_skb[i]); in sonic_tx_timeout()
182 lp->tx_skb[i] = NULL; in sonic_tx_timeout()
255 lp->tx_skb[entry] = skb; in sonic_send_packet()
263 if (lp->tx_skb[lp->next_tx] != NULL) { in sonic_send_packet()
311 while (lp->tx_skb[entry] != NULL) { in sonic_interrupt()
331 dev_kfree_skb_irq(lp->tx_skb[entry]); in sonic_interrupt()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c42 struct sk_buff *tx_skb; member
181 skb_tstamp_tx(ptp->tx_skb, &shhwtstamps); in qede_ptp_task()
182 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_task()
183 ptp->tx_skb = NULL; in qede_ptp_task()
397 if (ptp->tx_skb) { in qede_ptp_disable()
398 dev_kfree_skb_any(ptp->tx_skb); in qede_ptp_disable()
399 ptp->tx_skb = NULL; in qede_ptp_disable()
524 } else if (unlikely(ptp->tx_skb)) { in qede_ptp_tx_ts()
530 ptp->tx_skb = skb_get(skb); in qede_ptp_tx_ts()
/Linux-v4.19/drivers/bluetooth/
Dhci_serdev.c58 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue()
63 hu->tx_skb = NULL; in hci_uart_dequeue()
90 hu->tx_skb = skb; in hci_uart_write_work()
111 if (hu->tx_skb) { in hci_uart_flush()
112 kfree_skb(hu->tx_skb); hu->tx_skb = NULL; in hci_uart_flush()
/Linux-v4.19/net/nfc/nci/
Duart.c53 struct sk_buff *skb = nu->tx_skb; in nci_uart_dequeue()
58 nu->tx_skb = NULL; in nci_uart_dequeue()
65 if (nu->tx_skb) in nci_uart_queue_empty()
102 nu->tx_skb = skb; in nci_uart_write_work()
195 if (nu->tx_skb) in nci_uart_tty_close()
196 kfree_skb(nu->tx_skb); in nci_uart_tty_close()

12345