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()
75 bcs->tx_skb = NULL; in write_modem()
91 gigaset_skb_sent(bcs, skb); in write_modem()
96 bcs->tx_skb = NULL; in write_modem()
164 struct bc_state *bcs; in gigaset_modem_fill() local
172 bcs = cs->bcs; in gigaset_modem_fill()
173 if (!bcs) { in gigaset_modem_fill()
177 if (!bcs->tx_skb) { in gigaset_modem_fill()
186 nextskb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill()
190 bcs->tx_skb = nextskb; in gigaset_modem_fill()
193 (unsigned long) bcs->tx_skb); in gigaset_modem_fill()
224 if (cs->bcs->tx_skb) in flush_send_queue()
225 dev_kfree_skb_any(cs->bcs->tx_skb); in flush_send_queue()
226 while ((skb = skb_dequeue(&cs->bcs->squeue)) != NULL) in flush_send_queue()
317 static int gigaset_init_bchannel(struct bc_state *bcs) in gigaset_init_bchannel() argument
320 gigaset_bchannel_up(bcs); in gigaset_init_bchannel()
328 static int gigaset_close_bchannel(struct bc_state *bcs) in gigaset_close_bchannel() argument
331 gigaset_bchannel_down(bcs); in gigaset_close_bchannel()
339 static int gigaset_initbcshw(struct bc_state *bcs) in gigaset_initbcshw() argument
342 bcs->hw.ser = NULL; in gigaset_initbcshw()
350 static void gigaset_freebcshw(struct bc_state *bcs) in gigaset_freebcshw() argument
359 static void gigaset_reinitbcshw(struct bc_state *bcs) in gigaset_reinitbcshw() argument