Searched refs:urb_out (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/sound/usb/line6/
H A Dplayback.c25 static void change_volume(struct urb *urb_out, int volume[], change_volume() argument
36 p = (__le16 *)urb_out->transfer_buffer; change_volume()
37 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); change_volume()
49 p = (unsigned char *)urb_out->transfer_buffer; change_volume()
50 buf_end = p + urb_out->transfer_buffer_length; change_volume()
70 struct urb *urb_out, int bytes_per_frame) create_impulse_test_signal()
72 int frames = urb_out->transfer_buffer_length / bytes_per_frame; create_impulse_test_signal()
77 short *po = (short *)urb_out->transfer_buffer; create_impulse_test_signal()
88 unsigned char *po = urb_out->transfer_buffer; create_impulse_test_signal()
102 ((unsigned char *)(urb_out->transfer_buffer))[bytes_per_frame - create_impulse_test_signal()
112 static void add_monitor_signal(struct urb *urb_out, unsigned char *signal, add_monitor_signal() argument
122 po = (__le16 *)urb_out->transfer_buffer; add_monitor_signal()
123 buf_end = po + urb_out->transfer_buffer_length / sizeof(*po); add_monitor_signal()
155 struct urb *urb_out; submit_audio_out_urb() local
165 urb_out = line6pcm->out.urbs[index]; submit_audio_out_urb()
172 &urb_out->iso_frame_desc[i]; submit_audio_out_urb()
196 urb_out->transfer_buffer = submit_audio_out_urb()
199 urb_out->transfer_buffer_length = urb_size; submit_audio_out_urb()
200 urb_out->context = line6pcm; submit_audio_out_urb()
217 memcpy(urb_out->transfer_buffer, submit_audio_out_urb()
221 memcpy(urb_out->transfer_buffer + submit_audio_out_urb()
228 memcpy(urb_out->transfer_buffer, submit_audio_out_urb()
231 urb_out->transfer_buffer_length); submit_audio_out_urb()
238 change_volume(urb_out, line6pcm->volume_playback, submit_audio_out_urb()
241 memset(urb_out->transfer_buffer, 0, submit_audio_out_urb()
242 urb_out->transfer_buffer_length); submit_audio_out_urb()
248 create_impulse_test_signal(line6pcm, urb_out, submit_audio_out_urb()
252 urb_out->transfer_buffer, submit_audio_out_urb()
253 urb_out-> submit_audio_out_urb()
256 urb_out->transfer_buffer_length); submit_audio_out_urb()
261 add_monitor_signal(urb_out, line6pcm->prev_fbuf, submit_audio_out_urb()
270 ret = usb_submit_urb(urb_out, GFP_ATOMIC); submit_audio_out_urb()
69 create_impulse_test_signal(struct snd_line6_pcm *line6pcm, struct urb *urb_out, int bytes_per_frame) create_impulse_test_signal() argument
/linux-4.1.27/drivers/media/rc/
H A Diguanair.c49 struct urb *urb_in, *urb_out; member in struct:iguanair
212 ir->urb_out->transfer_buffer_length = size; iguanair_send()
213 rc = usb_submit_urb(ir->urb_out, GFP_KERNEL); iguanair_send()
445 ir->urb_out = usb_alloc_urb(0, GFP_KERNEL); iguanair_probe()
447 if (!ir->buf_in || !ir->packet || !ir->urb_in || !ir->urb_out) { iguanair_probe()
467 usb_fill_int_urb(ir->urb_out, udev, pipeout, ir->packet, MAX_OUT_PACKET, iguanair_probe()
469 ir->urb_out->transfer_dma = ir->dma_out; iguanair_probe()
470 ir->urb_out->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; iguanair_probe()
524 usb_kill_urb(ir->urb_out); iguanair_probe()
528 usb_free_urb(ir->urb_out); iguanair_probe()
545 usb_kill_urb(ir->urb_out); iguanair_disconnect()
547 usb_free_urb(ir->urb_out); iguanair_disconnect()
567 usb_kill_urb(ir->urb_out); iguanair_suspend()

Completed in 61 milliseconds