Searched refs:urbs (Results 1 – 8 of 8) sorted by relevance
/sound/usb/caiaq/ |
D | audio.c | 700 struct urb **urbs; in alloc_urbs() local 708 urbs = kmalloc_array(N_URBS, sizeof(*urbs), GFP_KERNEL); in alloc_urbs() 709 if (!urbs) { in alloc_urbs() 715 urbs[i] = usb_alloc_urb(FRAMES_PER_URB, GFP_KERNEL); in alloc_urbs() 716 if (!urbs[i]) { in alloc_urbs() 718 return urbs; in alloc_urbs() 721 urbs[i]->transfer_buffer = in alloc_urbs() 724 if (!urbs[i]->transfer_buffer) { in alloc_urbs() 726 return urbs; in alloc_urbs() 731 &urbs[i]->iso_frame_desc[frame]; in alloc_urbs() [all …]
|
/sound/usb/ |
D | midi.c | 125 } urbs[OUTPUT_URBS]; member 155 struct urb *urbs[INPUT_URBS]; member 271 urb_index = context - ep->urbs; in snd_usbmidi_out_urb_complete() 309 urb = ep->urbs[urb_index].urb; in snd_usbmidi_do_output() 355 if (atomic_read(&in->urbs[j]->use_count)) in snd_usbmidi_error_timer() 357 in->urbs[j]->dev = umidi->dev; in snd_usbmidi_error_timer() 358 snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC); in snd_usbmidi_error_timer() 376 if (ep->urbs[0].urb) in send_bulk_static_data() 377 err = usb_bulk_msg(ep->umidi->dev, ep->urbs[0].urb->pipe, in send_bulk_static_data() 1253 if (ep->urbs[i]) in snd_usbmidi_in_endpoint_delete() [all …]
|
/sound/usb/line6/ |
D | capture.c | 36 urb_in = line6pcm->in.urbs[index]; in submit_audio_in_urb() 156 if (urb == line6pcm->in.urbs[index]) in audio_in_callback() 262 line6pcm->in.urbs = kcalloc(line6->iso_buffers, sizeof(struct urb *), in line6_create_audio_in_urbs() 264 if (line6pcm->in.urbs == NULL) in line6_create_audio_in_urbs() 272 urb = line6pcm->in.urbs[i] = in line6_create_audio_in_urbs()
|
D | pcm.c | 106 usb_unlink_urb(pcms->urbs[i]); in line6_unlink_audio_urbs() 456 if (pcms->urbs == NULL) in cleanup_urbs() 460 if (pcms->urbs[i]) { in cleanup_urbs() 461 usb_kill_urb(pcms->urbs[i]); in cleanup_urbs() 462 usb_free_urb(pcms->urbs[i]); in cleanup_urbs() 465 kfree(pcms->urbs); in cleanup_urbs() 466 pcms->urbs = NULL; in cleanup_urbs()
|
D | playback.c | 163 urb_out = line6pcm->out.urbs[index]; in submit_audio_out_urb() 321 if (urb == line6pcm->out.urbs[index]) in audio_out_callback() 407 line6pcm->out.urbs = kcalloc(line6->iso_buffers, sizeof(struct urb *), in line6_create_audio_out_urbs() 409 if (line6pcm->out.urbs == NULL) in line6_create_audio_out_urbs() 417 urb = line6pcm->out.urbs[i] = in line6_create_audio_out_urbs()
|
D | pcm.h | 89 struct urb **urbs; member
|
/sound/usb/misc/ |
D | ua101.c | 115 } *urbs[MAX_QUEUE_LENGTH]; member 436 int err = usb_submit_urb(&stream->urbs[i]->urb, GFP_KERNEL); in submit_stream_urbs() 451 if (stream->urbs[i]) in kill_stream_urbs() 452 usb_kill_urb(&stream->urbs[i]->urb); in kill_stream_urbs() 517 ua->capture.urbs[0]->urb.complete = first_capture_urb_complete; in start_usb_capture() 559 ua->playback.urbs[0]->urb.complete = in start_usb_playback() 589 urb = &ua->playback.urbs[i]->urb; in start_usb_playback() 1101 stream->urbs[u++] = urb; in alloc_stream_urbs() 1119 kfree(stream->urbs[i]); in free_stream_urbs() 1120 stream->urbs[i] = NULL; in free_stream_urbs()
|
/sound/usb/usx2y/ |
D | usb_stream.c | 49 struct urb **urbs, char *transfer, in init_pipe_urbs() argument 59 struct urb *urb = urbs[u]; in init_pipe_urbs() 271 static void subs_set_complete(struct urb **urbs, void (*complete)(struct urb *)) in subs_set_complete() argument 276 struct urb *urb = urbs[u]; in subs_set_complete()
|