Lines Matching refs:bcs
68 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */
69 struct sk_buff *skb = bcs->tx_skb;
77 bcs->tx_skb = NULL;
92 gigaset_skb_sent(bcs, skb);
97 bcs->tx_skb = NULL;
165 struct bc_state *bcs;
168 if (!cs || !(bcs = cs->bcs)) {
172 if (!bcs->tx_skb) {
181 if (!(bcs->tx_skb = skb_dequeue(&bcs->squeue)))
186 (unsigned long) bcs->tx_skb);
217 if (cs->bcs->tx_skb)
218 dev_kfree_skb_any(cs->bcs->tx_skb);
219 while ((skb = skb_dequeue(&cs->bcs->squeue)) != NULL)
326 static int gigaset_init_bchannel(struct bc_state *bcs)
329 gigaset_bchannel_up(bcs);
337 static int gigaset_close_bchannel(struct bc_state *bcs)
340 gigaset_bchannel_down(bcs);
348 static int gigaset_initbcshw(struct bc_state *bcs)
351 bcs->hw.ser = NULL;
359 static int gigaset_freebcshw(struct bc_state *bcs)
369 static void gigaset_reinitbcshw(struct bc_state *bcs)