Home
last modified time | relevance | path

Searched refs:iso_frame_desc (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dbenq.c108 urb->iso_frame_desc[i].length = SD_PKT_SZ; in sd_start()
109 urb->iso_frame_desc[i].offset = SD_PKT_SZ * i; in sd_start()
172 if (urb0->iso_frame_desc[i].actual_length != SD_PKT_SZ in sd_isoc_irq()
173 || urb->iso_frame_desc[i].actual_length != SD_PKT_SZ) { in sd_isoc_irq()
175 urb0->iso_frame_desc[i].actual_length, in sd_isoc_irq()
176 urb->iso_frame_desc[i].actual_length); in sd_isoc_irq()
180 st = urb0->iso_frame_desc[i].status; in sd_isoc_irq()
182 st = urb->iso_frame_desc[i].status; in sd_isoc_irq()
207 + urb0->iso_frame_desc[i].offset; in sd_isoc_irq()
223 + urb->iso_frame_desc[i].offset; in sd_isoc_irq()
Dkonica.c229 urb->iso_frame_desc[i].length = packet_size; in sd_start()
230 urb->iso_frame_desc[i].offset = packet_size * i; in sd_start()
303 if (data_urb->iso_frame_desc[i].status || in sd_isoc_irq()
304 status_urb->iso_frame_desc[i].status) { in sd_isoc_irq()
307 data_urb->iso_frame_desc[i].status, in sd_isoc_irq()
308 status_urb->iso_frame_desc[i].status); in sd_isoc_irq()
313 if (status_urb->iso_frame_desc[i].actual_length != 1) { in sd_isoc_irq()
315 status_urb->iso_frame_desc[i].actual_length); in sd_isoc_irq()
321 + status_urb->iso_frame_desc[i].offset); in sd_isoc_irq()
324 + data_urb->iso_frame_desc[i].offset; in sd_isoc_irq()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dusb-urb.c45 if (urb->iso_frame_desc[i].status != 0) in usb_urb_complete()
46 deb_ts("iso frame descriptor has an error: %d\n",urb->iso_frame_desc[i].status); in usb_urb_complete()
47 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete()
48 … stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
50 urb->iso_frame_desc[i].status = 0; in usb_urb_complete()
51 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete()
203 urb->iso_frame_desc[j].offset = frame_offset; in usb_isoc_urb_init()
204 urb->iso_frame_desc[j].length = stream->props.u.isoc.framesize; in usb_isoc_urb_init()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_isight.c105 if (urb->iso_frame_desc[i].status < 0) { in uvc_video_decode_isight()
108 urb->iso_frame_desc[i].status); in uvc_video_decode_isight()
122 urb->iso_frame_desc[i].offset, in uvc_video_decode_isight()
123 urb->iso_frame_desc[i].actual_length); in uvc_video_decode_isight()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c52 if (urb->iso_frame_desc[i].status != 0) in usb_urb_complete()
56 urb->iso_frame_desc[i].status); in usb_urb_complete()
57 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete()
59 b + urb->iso_frame_desc[i].offset, in usb_urb_complete()
60 urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
62 urb->iso_frame_desc[i].status = 0; in usb_urb_complete()
63 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete()
196 urb->iso_frame_desc[j].offset = frame_offset; in usb_urb_alloc_isoc_urbs()
197 urb->iso_frame_desc[j].length = in usb_urb_alloc_isoc_urbs()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusb_stream.c32 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 …]
Dusx2yhwdeppcm.c64 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 …]
Dusbusx2yaudio.c66 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 …]
/kernel/linux/linux-5.10/sound/usb/
Dendpoint.c224 urb->iso_frame_desc[i].offset = offset; in prepare_silent_urb()
225 urb->iso_frame_desc[i].length = length + extra; in prepare_silent_urb()
267 urb->iso_frame_desc[0].length = 4; in prepare_outbound_urb()
268 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb()
278 urb->iso_frame_desc[0].length = 3; in prepare_outbound_urb()
279 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb()
304 urb->iso_frame_desc[i].offset = offs; in prepare_inbound_urb()
305 urb->iso_frame_desc[i].length = ep->curpacksize; in prepare_inbound_urb()
314 urb->iso_frame_desc[0].length = min(4u, ep->syncmaxsize); in prepare_inbound_urb()
315 urb->iso_frame_desc[0].offset = 0; in prepare_inbound_urb()
[all …]
Dpcm.c1421 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; in retire_capture_urb()
1422 if (urb->iso_frame_desc[i].status && printk_ratelimit()) { in retire_capture_urb()
1424 i, urb->iso_frame_desc[i].status); in retire_capture_urb()
1427 bytes = urb->iso_frame_desc[i].actual_length; in retire_capture_urb()
1569 unsigned int length = urb->iso_frame_desc[i].length; in copy_to_urb_quirk()
1570 unsigned int offset = urb->iso_frame_desc[i].offset; in copy_to_urb_quirk()
1574 urb->iso_frame_desc[i].offset = offset; in copy_to_urb_quirk()
1575 urb->iso_frame_desc[i].length += sizeof(packet_length); in copy_to_urb_quirk()
1611 urb->iso_frame_desc[i].offset = frames * ep->stride; in prepare_playback_urb()
1612 urb->iso_frame_desc[i].length = counts * ep->stride; in prepare_playback_urb()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/b2c2/
Dflexcop-usb.c387 if (urb->iso_frame_desc[i].status < 0) { in flexcop_usb_urb_complete()
389 urb->iso_frame_desc[i].status); in flexcop_usb_urb_complete()
391 if (urb->iso_frame_desc[i].actual_length > 0) { in flexcop_usb_urb_complete()
393 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete()
397 urb->iso_frame_desc[i].offset, in flexcop_usb_urb_complete()
398 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete()
400 urb->iso_frame_desc[i].status = 0; in flexcop_usb_urb_complete()
401 urb->iso_frame_desc[i].actual_length = 0; in flexcop_usb_urb_complete()
478 urb->iso_frame_desc[j].offset = frame_offset; in flexcop_usb_transfer_init()
479 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init()
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/
Dstk1160-video.c234 status = urb->iso_frame_desc[i].status; in stk1160_process_isoc()
241 p = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in stk1160_process_isoc()
242 len = urb->iso_frame_desc[i].actual_length; in stk1160_process_isoc()
317 urb->iso_frame_desc[i].status = 0; in stk1160_isoc_irq()
318 urb->iso_frame_desc[i].actual_length = 0; in stk1160_isoc_irq()
491 urb->iso_frame_desc[j].offset = k; in stk1160_alloc_isoc()
492 urb->iso_frame_desc[j].length = in stk1160_alloc_isoc()
/kernel/linux/linux-5.10/sound/usb/caiaq/
Daudio.c642 if (urb->iso_frame_desc[frame].status) in read_completed()
645 len = urb->iso_frame_desc[outframe].actual_length; in read_completed()
646 out->iso_frame_desc[outframe].length = len; in read_completed()
647 out->iso_frame_desc[outframe].actual_length = 0; in read_completed()
648 out->iso_frame_desc[outframe].offset = offset; in read_completed()
653 fill_out_urb(cdev, out, &out->iso_frame_desc[outframe]); in read_completed()
654 read_in_urb(cdev, urb, &urb->iso_frame_desc[frame]); in read_completed()
675 urb->iso_frame_desc[frame].offset = BYTES_PER_FRAME * frame; in read_completed()
676 urb->iso_frame_desc[frame].length = BYTES_PER_FRAME; in read_completed()
677 urb->iso_frame_desc[frame].actual_length = 0; in read_completed()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dfhci-q.c227 len = urb->iso_frame_desc[td->iso_index].length; in fhci_done_td()
232 urb->iso_frame_desc[td->iso_index].actual_length = len; in fhci_done_td()
233 urb->iso_frame_desc[td->iso_index].status = in fhci_done_td()
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dhfcsusb.c955 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb()
956 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb()
957 urb->iso_frame_desc[k].actual_length = 0; in fill_isoc_urb()
1007 len = urb->iso_frame_desc[k].actual_length; in rx_iso_complete()
1008 offset = urb->iso_frame_desc[k].offset; in rx_iso_complete()
1010 iso_status = urb->iso_frame_desc[k].status; in rx_iso_complete()
1236 errcode = urb->iso_frame_desc[k].status; in tx_iso_complete()
1288 urb->iso_frame_desc[k].offset = tx_offset; in tx_iso_complete()
1289 urb->iso_frame_desc[k].length = current_len + 1; in tx_iso_complete()
1298 urb->iso_frame_desc[k].offset, in tx_iso_complete()
[all …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc_tx.c133 urb->iso_frame_desc[i].offset; in v_send_ret_submit()
135 urb->iso_frame_desc[i].actual_length; in v_send_ret_submit()
137 txsize += urb->iso_frame_desc[i].actual_length; in v_send_ret_submit()
Dusbip_common.c568 usbip_pack_iso(&iso[i], &urb->iso_frame_desc[i], 1); in usbip_alloc_iso_desc_pdu()
617 usbip_pack_iso(&iso[i], &urb->iso_frame_desc[i], 0); in usbip_recv_iso()
618 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
672 actualoffset -= urb->iso_frame_desc[i].actual_length; in usbip_pad_iso()
673 memmove(urb->transfer_buffer + urb->iso_frame_desc[i].offset, in usbip_pad_iso()
675 urb->iso_frame_desc[i].actual_length); in usbip_pad_iso()
Dstub_tx.c279 urb->iso_frame_desc[i].offset; in stub_send_ret_submit()
281 urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit()
283 txsize += urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit()
/kernel/linux/linux-5.10/drivers/usb/core/
Durb.c74 urb = kmalloc(struct_size(urb, iso_frame_desc, iso_packets), in usb_alloc_urb()
466 len = urb->iso_frame_desc[n].length; in usb_submit_urb()
469 urb->iso_frame_desc[n].status = -EXDEV; in usb_submit_urb()
470 urb->iso_frame_desc[n].actual_length = 0; in usb_submit_urb()
Ddevio.c1514 struct usbdevfs_iso_packet_desc __user *iso_frame_desc, in proc_do_submiturb() argument
1644 isopkt = memdup_user(iso_frame_desc, isofrmlen); in proc_do_submiturb()
1808 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb()
1809 as->urb->iso_frame_desc[u].length = isopkt[u].length; in proc_do_submiturb()
1898 (((struct usbdevfs_urb __user *)arg)->iso_frame_desc), in proc_submiturb()
1933 urb->iso_frame_desc[i].actual_length; in compute_isochronous_actual_length()
1958 if (put_user(urb->iso_frame_desc[i].actual_length, in processcompl()
1959 &userurb->iso_frame_desc[i].actual_length)) in processcompl()
1961 if (put_user(urb->iso_frame_desc[i].status, in processcompl()
1962 &userurb->iso_frame_desc[i].status)) in processcompl()
[all …]
/kernel/linux/linux-5.10/sound/usb/misc/
Dua101.c114 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_work()
295 urb->urb.iso_frame_desc[0].length); in playback_work()
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()
1100 urb->urb.iso_frame_desc[0].offset = 0; in alloc_stream_urbs()
1101 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()
/kernel/linux/linux-5.10/include/linux/
Dusbdevice_fs.h72 struct usbdevfs_iso_packet_desc iso_frame_desc[]; member
/kernel/linux/linux-5.10/sound/usb/line6/
Dplayback.c171 &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()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-audio.c118 int length = urb->iso_frame_desc[i].actual_length / in cx231xx_audio_isocirq()
121 urb->iso_frame_desc[i].offset; in cx231xx_audio_isocirq()
302 urb->iso_frame_desc[j].offset = k; in cx231xx_init_audio_isoc()
303 urb->iso_frame_desc[j].length = dev->adev.max_pkt_size; in cx231xx_init_audio_isoc()
/kernel/linux/linux-5.10/drivers/usb/c67x00/
Dc67x00-sched.c753 urb->iso_frame_desc[urbp->cnt].offset; in c67x00_add_iso_urb()
754 len = urb->iso_frame_desc[urbp->cnt].length; in c67x00_add_iso_urb()
762 urb->iso_frame_desc[urbp->cnt].actual_length = 0; in c67x00_add_iso_urb()
763 urb->iso_frame_desc[urbp->cnt].status = ret; in c67x00_add_iso_urb()
966 urb->iso_frame_desc[cnt].actual_length = td_actual_bytes(td); in c67x00_handle_isoc()
967 urb->iso_frame_desc[cnt].status = c67x00_td_to_error(c67x00, td); in c67x00_handle_isoc()

1234