Lines Matching refs:buf_nr
293 static void usb_d_out(struct st5481_adapter *adapter, int buf_nr) in usb_d_out() argument
305 if (test_and_set_bit(buf_nr, &d_out->busy)) { in usb_d_out()
306 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in usb_d_out()
309 urb = d_out->urb[buf_nr]; in usb_d_out()
377 int buf_nr; in usb_d_out_complete() local
381 buf_nr = get_buf_nr(d_out->urb, urb); in usb_d_out_complete()
382 test_and_clear_bit(buf_nr, &d_out->busy); in usb_d_out_complete()
397 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COMPLETE, (void *) buf_nr); in usb_d_out_complete()
410 int buf_nr = 0; in dout_start_xmit() local
418 if (test_and_set_bit(buf_nr, &d_out->busy)) { in dout_start_xmit()
419 WARN("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in dout_start_xmit()
422 urb = d_out->urb[buf_nr]; in dout_start_xmit()
545 int buf_nr = (int) arg; in dout_complete() local
547 usb_d_out(adapter, buf_nr); in dout_complete()