Home
last modified time | relevance | path

Searched refs:transfer_buffer (Results 1 – 19 of 19) sorted by relevance

/sound/usb/line6/
Dplayback.c32 p = (__le16 *)urb_out->transfer_buffer; in change_volume()
45 p = (unsigned char *)urb_out->transfer_buffer; in change_volume()
73 short *po = (short *)urb_out->transfer_buffer; in create_impulse_test_signal()
84 unsigned char *po = urb_out->transfer_buffer; in create_impulse_test_signal()
98 ((unsigned char *)(urb_out->transfer_buffer))[bytes_per_frame - in create_impulse_test_signal()
118 po = (__le16 *)urb_out->transfer_buffer; in add_monitor_signal()
197 urb_out->transfer_buffer = in submit_audio_out_urb()
218 memcpy(urb_out->transfer_buffer, in submit_audio_out_urb()
222 memcpy(urb_out->transfer_buffer + in submit_audio_out_urb()
229 memcpy(urb_out->transfer_buffer, in submit_audio_out_urb()
[all …]
Dmidi.c81 kfree(urb->transfer_buffer); in midi_sent()
111 unsigned char *transfer_buffer; in send_midi_async() local
118 transfer_buffer = kmemdup(data, length, GFP_ATOMIC); in send_midi_async()
120 if (transfer_buffer == NULL) { in send_midi_async()
128 transfer_buffer, length, midi_sent, line6, in send_midi_async()
Dcapture.c47 urb_in->transfer_buffer = in submit_audio_in_urb()
171 fbuf = urb->transfer_buffer + fin->offset; in audio_in_callback()
Ddriver.c296 line6_midibuf_write(mb, urb->transfer_buffer, urb->actual_length); in line6_data_received()
320 line6->buffer_message = urb->transfer_buffer; in line6_data_received()
/sound/usb/caiaq/
Daudio.c357 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode0()
385 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode2()
432 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode3()
520 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in fill_out_urb_mode_0()
554 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in fill_out_urb_mode_3()
721 urbs[i]->transfer_buffer = in alloc_urbs()
724 if (!urbs[i]->transfer_buffer) { in alloc_urbs()
764 kfree(urbs[i]->transfer_buffer); in free_urbs()
Ddevice.c136 unsigned char *buf = urb->transfer_buffer; in usb_ep1_command_reply_dispatch()
Dinput.c493 unsigned char *buf = urb->transfer_buffer; in snd_usb_caiaq_ep4_reply_dispatch()
/sound/usb/usx2y/
Dusbusx2yaudio.c68 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in usx2y_urb_capt_retire()
147 urb->transfer_buffer = subs->tmpbuf; in usx2y_urb_play_prepare()
156 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usx2y->stride; in usx2y_urb_play_prepare()
162 urb->transfer_buffer = subs->tmpbuf; in usx2y_urb_play_prepare()
389 kfree((*urb)->transfer_buffer); in usx2y_urb_release()
445 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
447 (*purb)->transfer_buffer = in usx2y_urbs_allocate()
450 if (!(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
Dusb_stream.c62 urb->transfer_buffer = transfer; in init_pipe_urbs()
407 i = iu->transfer_buffer + id[p].offset; in loop_back()
473 id[p].offset + (inurb->transfer_buffer - (void *)s); in stream_idle()
492 s->outpacket[0].offset = (sk->idle_outurb->transfer_buffer - in stream_idle()
499 s->outpacket[1].offset = sk->completed_outurb->transfer_buffer - in stream_idle()
640 id[p].offset + (urb->transfer_buffer - (void *)s); in i_capture_start()
Dusx2yhwdeppcm.c130 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usx2y_hwdep_urb_play_prepare()
340 (*purb)->transfer_buffer = is_playback ? in usx2y_usbpcm_urbs_allocate()
/sound/usb/
Dmidi.c244 dump_urb("received", urb->transfer_buffer, urb->actual_length); in snd_usbmidi_in_urb_complete()
245 ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer, in snd_usbmidi_in_urb_complete()
315 dump_urb("sending", urb->transfer_buffer, in snd_usbmidi_do_output()
513 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_standard_packet()
530 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_midiman_packet()
733 msg = urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_akai_output()
806 uint8_t *transfer_buffer; in snd_usbmidi_novation_output() local
811 transfer_buffer = urb->transfer_buffer; in snd_usbmidi_novation_output()
813 &transfer_buffer[2], in snd_usbmidi_novation_output()
819 transfer_buffer[0] = 0; in snd_usbmidi_novation_output()
[all …]
Dendpoint.c101 u->urb->transfer_buffer, in release_urb_ctx()
306 memcpy(urb->transfer_buffer + offset, in prepare_silent_urb()
309 memset(urb->transfer_buffer + offset + extra, in prepare_silent_urb()
327 unsigned char *cp = urb->transfer_buffer; in prepare_outbound_urb()
1252 u->urb->transfer_buffer = in data_ep_set_params()
1255 if (!u->urb->transfer_buffer) in data_ep_set_params()
1297 u->urb->transfer_buffer = ep->syncbuf + i * 4; in sync_ep_set_params()
1839 f = le32_to_cpup(urb->transfer_buffer); in snd_usb_handle_sync_urb()
Dpcm.c1271 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; in retire_capture_urb()
1345 u8 *dst = urb->transfer_buffer; in fill_playback_urb_dsd_dop()
1400 u8 *buf = urb->transfer_buffer; in fill_playback_urb_dsd_bitrev()
1421 memcpy(urb->transfer_buffer + offset, in copy_to_urb()
1423 memcpy(urb->transfer_buffer + offset + bytes1, in copy_to_urb()
1426 memcpy(urb->transfer_buffer + offset, in copy_to_urb()
1449 memcpy(urb->transfer_buffer + offset, in copy_to_urb_quirk()
Dmixer.c2936 kfree(mixer->urb->transfer_buffer); in snd_usb_mixer_free()
3483 for (status = urb->transfer_buffer; in snd_usb_mixer_interrupt()
3503 for (msg = urb->transfer_buffer; in snd_usb_mixer_interrupt()
3530 void *transfer_buffer; in snd_usb_mixer_status_create() local
3543 transfer_buffer = kmalloc(buffer_length, GFP_KERNEL); in snd_usb_mixer_status_create()
3544 if (!transfer_buffer) in snd_usb_mixer_status_create()
3548 kfree(transfer_buffer); in snd_usb_mixer_status_create()
3553 transfer_buffer, buffer_length, in snd_usb_mixer_status_create()
Dmixer_scarlett_gen2.c4098 data = le32_to_cpu(*(__le32 *)urb->transfer_buffer); in scarlett2_notify()
4124 void *transfer_buffer; in scarlett2_init_notify() local
4139 transfer_buffer = kmalloc(private->wMaxPacketSize, GFP_KERNEL); in scarlett2_init_notify()
4140 if (!transfer_buffer) in scarlett2_init_notify()
4144 transfer_buffer, private->wMaxPacketSize, in scarlett2_init_notify()
/sound/usb/6fire/
Dcomm.c25 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb()
167 urb->transfer_buffer = rt->receiver_buffer; in usb6fire_comm_init()
Dpcm.c556 urb->instance.transfer_buffer = urb->buffer; in usb6fire_pcm_init_urb()
/sound/usb/misc/
Dua101.c221 memcpy(urb->transfer_buffer, source, frames * frame_bytes); in copy_playback_data()
225 memcpy(urb->transfer_buffer, source, frames1 * frame_bytes); in copy_playback_data()
226 memcpy(urb->transfer_buffer + frames1 * frame_bytes, in copy_playback_data()
293 memset(urb->urb.transfer_buffer, 0, in playback_work()
325 memcpy(dest, urb->transfer_buffer, frames * frame_bytes); in copy_capture_data()
329 memcpy(dest, urb->transfer_buffer, frames1 * frame_bytes); in copy_capture_data()
331 urb->transfer_buffer + frames1 * frame_bytes, in copy_capture_data()
592 memset(urb->transfer_buffer, 0, in start_usb_playback()
1092 urb->urb.transfer_buffer = addr; in alloc_stream_urbs()
/sound/usb/bcd2000/
Dbcd2000.c235 bcd2000_midi_handle_input(bcd2k, urb->transfer_buffer, in bcd2000_input_complete()