Lines Matching refs:tx_skb
334 if (!bcs->tx_skb) { /* no skb is being sent */ in gigaset_modem_fill()
345 bcs->tx_skb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill()
346 if (bcs->tx_skb) in gigaset_modem_fill()
349 (unsigned long) bcs->tx_skb); in gigaset_modem_fill()
353 if (bcs->tx_skb) { in gigaset_modem_fill()
645 gig_dbg(DEBUG_WRITE, "len: %d...", bcs->tx_skb->len); in write_modem()
647 if (!bcs->tx_skb->len) { in write_modem()
648 dev_kfree_skb_any(bcs->tx_skb); in write_modem()
649 bcs->tx_skb = NULL; in write_modem()
656 count = min(bcs->tx_skb->len, (unsigned) ucs->bulk_out_size); in write_modem()
657 skb_copy_from_linear_data(bcs->tx_skb, ucs->bulk_out_buffer, count); in write_modem()
658 skb_pull(bcs->tx_skb, count); in write_modem()
680 if (!bcs->tx_skb->len) { in write_modem()
682 gigaset_skb_sent(bcs, bcs->tx_skb); //FIXME also, when ret<0? in write_modem()
685 (unsigned long) bcs->tx_skb); in write_modem()
686 dev_kfree_skb_any(bcs->tx_skb); in write_modem()
687 bcs->tx_skb = NULL; in write_modem()