Searched refs:iso_frame_desc (Results 1 – 9 of 9) sorted by relevance
/sound/usb/usx2y/ |
D | usb_stream.c | 32 urb->iso_frame_desc[pack].offset = lb; in playback_prep_freqn() 33 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() 71 desc = urb->iso_frame_desc; in init_pipe_urbs() 286 od = io->iso_frame_desc; in usb_stream_prepare_playback() 290 id = ii->iso_frame_desc + in usb_stream_prepare_playback() 302 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback() 344 id = iu->iso_frame_desc; in prepare_inurb() 394 id = iu->iso_frame_desc; in loop_back() 427 id = iu->iso_frame_desc; in loop_back() 452 struct usb_iso_packet_descriptor *id = inurb->iso_frame_desc; in stream_idle() [all …]
|
D | usx2yhwdeppcm.c | 64 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usX2Y_usbpcm_urb_capt_retire() 65 …R "active frame status %i. Most probably some hardware problem.\n", urb->iso_frame_desc[i].status); in usX2Y_usbpcm_urb_capt_retire() 66 return urb->iso_frame_desc[i].status; in usX2Y_usbpcm_urb_capt_retire() 68 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire() 123 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usX2Y_hwdep_urb_play_prepare() 124 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usX2Y_hwdep_urb_play_prepare() 126 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usX2Y_hwdep_urb_play_prepare() 127 urb->iso_frame_desc[pack].length); in usX2Y_hwdep_urb_play_prepare() 142 struct usb_iso_packet_descriptor *desc = urb->iso_frame_desc + pack; in usX2Y_usbpcm_urb_capt_iso_advance() 430 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start() [all …]
|
D | usbusx2yaudio.c | 66 cp = (unsigned char*)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in usX2Y_urb_capt_retire() 67 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usX2Y_urb_capt_retire() 70 urb->iso_frame_desc[i].status); in usX2Y_urb_capt_retire() 71 return urb->iso_frame_desc[i].status; in usX2Y_urb_capt_retire() 73 len = urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_urb_capt_retire() 124 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare() 131 urb->iso_frame_desc[pack].offset = pack ? in usX2Y_urb_play_prepare() 132 urb->iso_frame_desc[pack - 1].offset + in usX2Y_urb_play_prepare() 133 urb->iso_frame_desc[pack - 1].length : in usX2Y_urb_play_prepare() 135 urb->iso_frame_desc[pack].length = cap_urb->iso_frame_desc[pack].actual_length; in usX2Y_urb_play_prepare() [all …]
|
/sound/usb/ |
D | endpoint.c | 199 urb->iso_frame_desc[i].offset = offset; in prepare_silent_urb() 200 urb->iso_frame_desc[i].length = length + extra; in prepare_silent_urb() 242 urb->iso_frame_desc[0].length = 4; in prepare_outbound_urb() 243 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb() 253 urb->iso_frame_desc[0].length = 3; in prepare_outbound_urb() 254 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb() 279 urb->iso_frame_desc[i].offset = offs; in prepare_inbound_urb() 280 urb->iso_frame_desc[i].length = ep->curpacksize; in prepare_inbound_urb() 289 urb->iso_frame_desc[0].length = min(4u, ep->syncmaxsize); in prepare_inbound_urb() 290 urb->iso_frame_desc[0].offset = 0; in prepare_inbound_urb() [all …]
|
D | pcm.c | 1588 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; in retire_capture_urb() 1589 if (urb->iso_frame_desc[i].status && printk_ratelimit()) { in retire_capture_urb() 1591 i, urb->iso_frame_desc[i].status); in retire_capture_urb() 1594 bytes = urb->iso_frame_desc[i].actual_length; in retire_capture_urb() 1730 unsigned int length = urb->iso_frame_desc[i].length; in copy_to_urb_quirk() 1731 unsigned int offset = urb->iso_frame_desc[i].offset; in copy_to_urb_quirk() 1735 urb->iso_frame_desc[i].offset = offset; in copy_to_urb_quirk() 1736 urb->iso_frame_desc[i].length += sizeof(packet_length); in copy_to_urb_quirk() 1770 urb->iso_frame_desc[i].offset = frames * ep->stride; in prepare_playback_urb() 1771 urb->iso_frame_desc[i].length = counts * ep->stride; in prepare_playback_urb() [all …]
|
/sound/usb/caiaq/ |
D | audio.c | 652 if (urb->iso_frame_desc[frame].status) in read_completed() 655 len = urb->iso_frame_desc[outframe].actual_length; in read_completed() 656 out->iso_frame_desc[outframe].length = len; in read_completed() 657 out->iso_frame_desc[outframe].actual_length = 0; in read_completed() 658 out->iso_frame_desc[outframe].offset = offset; in read_completed() 663 fill_out_urb(cdev, out, &out->iso_frame_desc[outframe]); in read_completed() 664 read_in_urb(cdev, urb, &urb->iso_frame_desc[frame]); in read_completed() 685 urb->iso_frame_desc[frame].offset = BYTES_PER_FRAME * frame; in read_completed() 686 urb->iso_frame_desc[frame].length = BYTES_PER_FRAME; in read_completed() 687 urb->iso_frame_desc[frame].actual_length = 0; in read_completed() [all …]
|
/sound/usb/misc/ |
D | ua101.c | 114 struct usb_iso_packet_descriptor iso_frame_desc[1]; member 193 urb->urb.iso_frame_desc[0].length / in playback_urb_complete() 287 urb->urb.iso_frame_desc[0].length = in playback_tasklet() 295 urb->urb.iso_frame_desc[0].length); in playback_tasklet() 362 if (urb->status >= 0 && urb->iso_frame_desc[0].status >= 0) in capture_urb_complete() 363 frames = urb->iso_frame_desc[0].actual_length / in capture_urb_complete() 591 urb->iso_frame_desc[0].length = in start_usb_playback() 594 urb->iso_frame_desc[0].length); in start_usb_playback() 1119 urb->urb.iso_frame_desc[0].offset = 0; in alloc_stream_urbs() 1120 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()
|
/sound/usb/line6/ |
D | playback.c | 171 &urb_out->iso_frame_desc[i]; in submit_audio_out_urb() 328 length += urb->iso_frame_desc[i].length; in audio_out_callback() 345 if (urb->iso_frame_desc[i].status == -EXDEV) { in audio_out_callback()
|
D | capture.c | 41 &urb_in->iso_frame_desc[i]; in submit_audio_in_urb() 164 struct usb_iso_packet_descriptor *fin = &urb->iso_frame_desc[i]; in audio_in_callback()
|