Home
last modified time | relevance | path

Searched refs:urbs (Results 1 – 8 of 8) sorted by relevance

/sound/usb/caiaq/
Daudio.c723 struct urb **urbs; in alloc_urbs() local
732 urbs = kmalloc(N_URBS * sizeof(*urbs), GFP_KERNEL); in alloc_urbs()
733 if (!urbs) { in alloc_urbs()
740 urbs[i] = usb_alloc_urb(FRAMES_PER_URB, GFP_KERNEL); in alloc_urbs()
741 if (!urbs[i]) { in alloc_urbs()
743 return urbs; in alloc_urbs()
746 urbs[i]->transfer_buffer = in alloc_urbs()
748 if (!urbs[i]->transfer_buffer) { in alloc_urbs()
751 return urbs; in alloc_urbs()
756 &urbs[i]->iso_frame_desc[frame]; in alloc_urbs()
[all …]
/sound/usb/
Dmidi.c141 } urbs[OUTPUT_URBS]; member
171 struct urb *urbs[INPUT_URBS]; member
286 urb_index = context - ep->urbs; in snd_usbmidi_out_urb_complete()
324 urb = ep->urbs[urb_index].urb; in snd_usbmidi_do_output()
370 if (atomic_read(&in->urbs[j]->use_count)) in snd_usbmidi_error_timer()
372 in->urbs[j]->dev = umidi->dev; in snd_usbmidi_error_timer()
373 snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC); in snd_usbmidi_error_timer()
391 if (ep->urbs[0].urb) in send_bulk_static_data()
392 err = usb_bulk_msg(ep->umidi->dev, ep->urbs[0].urb->pipe, in send_bulk_static_data()
1267 if (ep->urbs[i]) in snd_usbmidi_in_endpoint_delete()
[all …]
/sound/usb/line6/
Dcapture.c40 urb_in = line6pcm->in.urbs[index]; in submit_audio_in_urb()
160 if (urb == line6pcm->in.urbs[index]) in audio_in_callback()
267 line6pcm->in.urbs = kzalloc( in line6_create_audio_in_urbs()
269 if (line6pcm->in.urbs == NULL) in line6_create_audio_in_urbs()
277 urb = line6pcm->in.urbs[i] = in line6_create_audio_in_urbs()
Dpcm.c110 usb_unlink_urb(pcms->urbs[i]); in line6_unlink_audio_urbs()
465 if (pcms->urbs == NULL) in cleanup_urbs()
469 if (pcms->urbs[i]) { in cleanup_urbs()
470 usb_kill_urb(pcms->urbs[i]); in cleanup_urbs()
471 usb_free_urb(pcms->urbs[i]); in cleanup_urbs()
474 kfree(pcms->urbs); in cleanup_urbs()
475 pcms->urbs = NULL; in cleanup_urbs()
Dplayback.c167 urb_out = line6pcm->out.urbs[index]; in submit_audio_out_urb()
325 if (urb == line6pcm->out.urbs[index]) in audio_out_callback()
412 line6pcm->out.urbs = kzalloc( in line6_create_audio_out_urbs()
414 if (line6pcm->out.urbs == NULL) in line6_create_audio_out_urbs()
422 urb = line6pcm->out.urbs[i] = in line6_create_audio_out_urbs()
Dpcm.h93 struct urb **urbs; member
/sound/usb/misc/
Dua101.c126 } *urbs[MAX_QUEUE_LENGTH]; member
447 int err = usb_submit_urb(&stream->urbs[i]->urb, GFP_KERNEL); in submit_stream_urbs()
462 if (stream->urbs[i]) in kill_stream_urbs()
463 usb_kill_urb(&stream->urbs[i]->urb); in kill_stream_urbs()
528 ua->capture.urbs[0]->urb.complete = first_capture_urb_complete; in start_usb_capture()
570 ua->playback.urbs[0]->urb.complete = in start_usb_playback()
600 urb = &ua->playback.urbs[i]->urb; in start_usb_playback()
1133 stream->urbs[u++] = urb; in alloc_stream_urbs()
1151 kfree(stream->urbs[i]); in free_stream_urbs()
1152 stream->urbs[i] = NULL; in free_stream_urbs()
/sound/usb/usx2y/
Dusb_stream.c60 struct urb **urbs, char *transfer, in init_pipe_urbs() argument
70 struct urb *urb = urbs[u]; in init_pipe_urbs()
265 static void subs_set_complete(struct urb **urbs, void (*complete)(struct urb *)) in subs_set_complete() argument
270 struct urb *urb = urbs[u]; in subs_set_complete()