Lines Matching defs:bcs
141 struct bc_state *bcs = cs->bcs;
142 int inputstate = bcs->inputstate;
143 __u16 fcs = bcs->rx_fcs;
144 struct sk_buff *skb = bcs->rx_skb;
206 gigaset_isdn_rcv_err(bcs);
212 gigaset_isdn_rcv_err(bcs);
219 gigaset_isdn_rcv_err(bcs);
224 gigaset_skb_rcvd(bcs, skb);
229 skb = gigaset_new_rx_skb(bcs);
233 ++bcs->emptycount;
237 gigaset_isdn_rcv_err(bcs);
238 skb = gigaset_new_rx_skb(bcs);
255 bcs->emptycount);
256 bcs->emptycount = 0;
261 if (skb->len >= bcs->rx_bufsize) {
265 bcs->rx_skb = skb = NULL;
273 bcs->inputstate = inputstate;
274 bcs->rx_fcs = fcs;
288 struct bc_state *bcs = cs->bcs;
289 int inputstate = bcs->inputstate;
290 struct sk_buff *skb = bcs->rx_skb;
297 gigaset_new_rx_skb(bcs);
301 while (procbytes < numbytes && skb->len < bcs->rx_bufsize) {
323 gigaset_skb_rcvd(bcs, skb);
325 gigaset_new_rx_skb(bcs);
328 bcs->inputstate = inputstate;
431 else if (cs->bcs->proto2 == L2_HDLC)
573 * @bcs: B channel descriptor structure.
585 int gigaset_m10x_send_skb(struct bc_state *bcs, struct sk_buff *skb)
587 struct cardstate *cs = bcs->cs;
591 if (bcs->proto2 == L2_HDLC)
601 skb_queue_tail(&bcs->squeue, skb);