Lines Matching defs:b_out
32 struct st5481_b_out *b_out = &bcs->b_out;
40 if (test_and_set_bit(buf_nr, &b_out->busy)) {
44 urb = b_out->urb[buf_nr];
47 if(b_out->flow_event & (OUT_DOWN | OUT_UNDERRUN)) {
51 } else if(b_out->flow_event & OUT_UP){
59 b_out->flow_event = 0;
63 if ((skb = b_out->tx_skb)) {
80 len += isdnhdlc_encode(&b_out->hdlc_state,
89 b_out->tx_skb = NULL;
103 len += isdnhdlc_encode(&b_out->hdlc_state,
168 struct st5481_b_out *b_out = &bcs->b_out;
172 buf_nr = get_buf_nr(b_out->urb, urb);
173 test_and_clear_bit(buf_nr, &b_out->busy);
184 if (b_out->busy == 0) {
202 struct st5481_b_out *b_out = &bcs->b_out;
213 usb_unlink_urb(b_out->urb[0]);
214 usb_unlink_urb(b_out->urb[1]);
215 b_out->busy = 0;
224 isdnhdlc_out_init(&b_out->hdlc_state, features);
257 if (b_out->tx_skb) {
258 dev_kfree_skb_any(b_out->tx_skb);
259 b_out->tx_skb = NULL;
271 struct st5481_b_out *b_out = &bcs->b_out;
288 return st5481_setup_isocpipes(b_out->urb, dev,
297 struct st5481_b_out *b_out = &bcs->b_out;
301 st5481_release_isocpipes(b_out->urb);
363 BUG_ON(bcs->b_out.tx_skb);
364 bcs->b_out.tx_skb = skb;