Lines Matching refs:tx_skb
104 if (cs->tx_skb) { in dch_l2l1()
110 cs->tx_skb = skb; in dch_l2l1()
120 if (cs->tx_skb) { in dch_l2l1()
128 cs->tx_skb = skb; in dch_l2l1()
140 if (!cs->tx_skb) { in dch_l2l1()
183 if (cs->tx_skb) { in dch_l2l1()
184 dev_kfree_skb_any(cs->tx_skb); in dch_l2l1()
185 cs->tx_skb = NULL; in dch_l2l1()
218 if (cs->tx_skb) { in dbusy_timer_handler()
219 dev_kfree_skb_any(cs->tx_skb); in dbusy_timer_handler()
221 cs->tx_skb = NULL; in dbusy_timer_handler()
278 if (!cs->tx_skb) return; in dch_fill_fifo()
279 count = cs->tx_skb->len; in dch_fill_fifo()
289 ptr = cs->tx_skb->data; in dch_fill_fifo()
290 skb_pull(cs->tx_skb, count); in dch_fill_fifo()
375 if (cs->tx_skb) { in dch_int()
376 if (cs->tx_skb->len) { in dch_int()
381 dev_kfree_skb_irq(cs->tx_skb); in dch_int()
382 cs->tx_skb = NULL; in dch_int()
386 if ((cs->tx_skb = skb_dequeue(&cs->sq))) { in dch_int()
398 if (cs->tx_skb) { in dch_int()
399 skb_push(cs->tx_skb, cs->tx_cnt); // retransmit in dch_int()
454 if (bcs->tx_skb) { in bch_l2l1()
457 bcs->tx_skb = skb; in bch_l2l1()
466 if (bcs->tx_skb) { in bch_l2l1()
470 bcs->tx_skb = skb; in bch_l2l1()
477 if (!bcs->tx_skb) { in bch_l2l1()
559 if (!bcs->tx_skb) return; in bch_fill_fifo()
560 if (bcs->tx_skb->len <= 0) return; in bch_fill_fifo()
564 if (bcs->tx_skb->len > B_FIFO_SIZE) { in bch_fill_fifo()
568 count = bcs->tx_skb->len; in bch_fill_fifo()
572 p = ptr = bcs->tx_skb->data; in bch_fill_fifo()
573 skb_pull(bcs->tx_skb, count); in bch_fill_fifo()
663 if (bcs->tx_skb) { in bch_int()
664 if (bcs->tx_skb->len) { in bch_int()
669 (PACKET_NOACK != bcs->tx_skb->pkt_type)) { in bch_int()
677 dev_kfree_skb_irq(bcs->tx_skb); in bch_int()
679 bcs->tx_skb = NULL; in bch_int()
681 if ((bcs->tx_skb = skb_dequeue(&bcs->squeue))) { in bch_int()
697 if (bcs->tx_skb) { // restart transmitting the whole frame in bch_int()
698 skb_push(bcs->tx_skb, bcs->hw.hscx.count); in bch_int()
770 if (bcs->tx_skb) { in bch_close_state()
771 dev_kfree_skb_any(bcs->tx_skb); in bch_close_state()
772 bcs->tx_skb = NULL; in bch_close_state()
801 bcs->tx_skb = NULL; in bch_open_state()