Lines Matching refs: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;
221 isdnhdlc_out_init(&b_out->hdlc_state, 0, bcs->mode == L1_MODE_HDLC_56K);
254 if (b_out->tx_skb) {
255 dev_kfree_skb_any(b_out->tx_skb);
256 b_out->tx_skb = NULL;
268 struct st5481_b_out *b_out = &bcs->b_out;
285 return st5481_setup_isocpipes(b_out->urb, dev,
294 struct st5481_b_out *b_out = &bcs->b_out;
298 st5481_release_isocpipes(b_out->urb);
360 BUG_ON(bcs->b_out.tx_skb);
361 bcs->b_out.tx_skb = skb;