Lines Matching defs:buf_nr
237 static void usb_d_out(struct st5481_adapter *adapter, int buf_nr)
249 if (test_and_set_bit(buf_nr, &d_out->busy)) {
250 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy);
253 urb = d_out->urb[buf_nr];
321 long buf_nr;
325 buf_nr = get_buf_nr(d_out->urb, urb);
326 test_and_clear_bit(buf_nr, &d_out->busy);
345 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COMPLETE, (void *) buf_nr);
357 int buf_nr = 0;
365 if (test_and_set_bit(buf_nr, &d_out->busy)) {
366 WARNING("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy);
369 urb = d_out->urb[buf_nr];
491 long buf_nr = (long) arg;
493 usb_d_out(adapter, buf_nr);