Lines Matching refs:buf_nr
295 static void usb_d_out(struct st5481_adapter *adapter, int buf_nr) in usb_d_out() argument
307 if (test_and_set_bit(buf_nr, &d_out->busy)) { in usb_d_out()
308 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in usb_d_out()
311 urb = d_out->urb[buf_nr]; in usb_d_out()
379 long buf_nr; in usb_d_out_complete() local
383 buf_nr = get_buf_nr(d_out->urb, urb); in usb_d_out_complete()
384 test_and_clear_bit(buf_nr, &d_out->busy); in usb_d_out_complete()
403 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COMPLETE, (void *) buf_nr); in usb_d_out_complete()
416 int buf_nr = 0; in dout_start_xmit() local
424 if (test_and_set_bit(buf_nr, &d_out->busy)) { in dout_start_xmit()
425 WARNING("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in dout_start_xmit()
428 urb = d_out->urb[buf_nr]; in dout_start_xmit()
551 long buf_nr = (long) arg; in dout_complete() local
553 usb_d_out(adapter, buf_nr); in dout_complete()