Lines Matching refs:bcs
66 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ in write_modem() local
67 struct sk_buff *skb = bcs->tx_skb; in write_modem()
74 bcs->tx_skb = NULL; in write_modem()
90 gigaset_skb_sent(bcs, skb); in write_modem()
95 bcs->tx_skb = NULL; in write_modem()
162 struct bc_state *bcs; in gigaset_modem_fill() local
170 bcs = cs->bcs; in gigaset_modem_fill()
171 if (!bcs) { in gigaset_modem_fill()
175 if (!bcs->tx_skb) { in gigaset_modem_fill()
184 nextskb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill()
188 bcs->tx_skb = nextskb; in gigaset_modem_fill()
191 (unsigned long) bcs->tx_skb); in gigaset_modem_fill()
222 if (cs->bcs->tx_skb) in flush_send_queue()
223 dev_kfree_skb_any(cs->bcs->tx_skb); in flush_send_queue()
224 while ((skb = skb_dequeue(&cs->bcs->squeue)) != NULL) in flush_send_queue()
315 static int gigaset_init_bchannel(struct bc_state *bcs) in gigaset_init_bchannel() argument
318 gigaset_bchannel_up(bcs); in gigaset_init_bchannel()
326 static int gigaset_close_bchannel(struct bc_state *bcs) in gigaset_close_bchannel() argument
329 gigaset_bchannel_down(bcs); in gigaset_close_bchannel()
337 static int gigaset_initbcshw(struct bc_state *bcs) in gigaset_initbcshw() argument
340 bcs->hw.ser = NULL; in gigaset_initbcshw()
348 static void gigaset_freebcshw(struct bc_state *bcs) in gigaset_freebcshw() argument
357 static void gigaset_reinitbcshw(struct bc_state *bcs) in gigaset_reinitbcshw() argument