Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_isight.c109 if (urb->iso_frame_desc[i].status < 0) { in uvc_video_decode_isight()
112 urb->iso_frame_desc[i].status); in uvc_video_decode_isight()
128 urb->iso_frame_desc[i].offset, in uvc_video_decode_isight()
129 urb->iso_frame_desc[i].actual_length); in uvc_video_decode_isight()
/linux-6.1.9/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()
/linux-6.1.9/sound/usb/usx2y/
Dusb_stream.c33 urb->iso_frame_desc[pack].offset = lb; in playback_prep_freqn()
34 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn()
74 desc = urb->iso_frame_desc; in init_pipe_urbs()
291 od = io->iso_frame_desc; in usb_stream_prepare_playback()
296 id = ii->iso_frame_desc + in usb_stream_prepare_playback()
308 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback()
350 id = iu->iso_frame_desc; in prepare_inurb()
401 id = iu->iso_frame_desc; in loop_back()
434 id = iu->iso_frame_desc; in loop_back()
459 struct usb_iso_packet_descriptor *id = inurb->iso_frame_desc; in stream_idle()
[all …]
Dusx2yhwdeppcm.c65 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usx2y_usbpcm_urb_capt_retire()
68 urb->iso_frame_desc[i].status); in usx2y_usbpcm_urb_capt_retire()
69 return urb->iso_frame_desc[i].status; in usx2y_usbpcm_urb_capt_retire()
71 lens += urb->iso_frame_desc[i].actual_length / usx2y->stride; in usx2y_usbpcm_urb_capt_retire()
127 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usx2y_hwdep_urb_play_prepare()
128 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usx2y_hwdep_urb_play_prepare()
130 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usx2y_hwdep_urb_play_prepare()
131 urb->iso_frame_desc[pack].length); in usx2y_hwdep_urb_play_prepare()
148 desc = urb->iso_frame_desc + pack; in usx2y_usbpcm_urb_capt_iso_advance()
453 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usx2y_usbpcm_urbs_start()
[all …]
Dusbusx2yaudio.c68 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in usx2y_urb_capt_retire()
69 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usx2y_urb_capt_retire()
72 urb->iso_frame_desc[i].status); in usx2y_urb_capt_retire()
73 return urb->iso_frame_desc[i].status; in usx2y_urb_capt_retire()
75 len = urb->iso_frame_desc[i].actual_length / usx2y->stride; in usx2y_urb_capt_retire()
128 counts = cap_urb->iso_frame_desc[pack].actual_length / usx2y->stride; in usx2y_urb_play_prepare()
135 urb->iso_frame_desc[pack].offset = pack ? in usx2y_urb_play_prepare()
136 urb->iso_frame_desc[pack - 1].offset + in usx2y_urb_play_prepare()
137 urb->iso_frame_desc[pack - 1].length : in usx2y_urb_play_prepare()
139 urb->iso_frame_desc[pack].length = cap_urb->iso_frame_desc[pack].actual_length; in usx2y_urb_play_prepare()
[all …]
/linux-6.1.9/drivers/media/usb/b2c2/
Dflexcop-usb.c386 if (urb->iso_frame_desc[i].status < 0) { in flexcop_usb_urb_complete()
388 urb->iso_frame_desc[i].status); in flexcop_usb_urb_complete()
390 if (urb->iso_frame_desc[i].actual_length > 0) { in flexcop_usb_urb_complete()
392 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete()
396 urb->iso_frame_desc[i].offset, in flexcop_usb_urb_complete()
397 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete()
399 urb->iso_frame_desc[i].status = 0; in flexcop_usb_urb_complete()
400 urb->iso_frame_desc[i].actual_length = 0; in flexcop_usb_urb_complete()
479 urb->iso_frame_desc[j].offset = frame_offset; in flexcop_usb_transfer_init()
480 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init()
/linux-6.1.9/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()
323 urb->iso_frame_desc[i].status = 0; in stk1160_isoc_irq()
324 urb->iso_frame_desc[i].actual_length = 0; in stk1160_isoc_irq()
503 urb->iso_frame_desc[j].offset = k; in stk1160_alloc_isoc()
504 urb->iso_frame_desc[j].length = in stk1160_alloc_isoc()
/linux-6.1.9/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 …]
/linux-6.1.9/sound/usb/
Dendpoint.c302 urb->iso_frame_desc[i].offset = offset; in prepare_silent_urb()
303 urb->iso_frame_desc[i].length = length + extra; in prepare_silent_urb()
347 urb->iso_frame_desc[0].length = 4; in prepare_outbound_urb()
348 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb()
358 urb->iso_frame_desc[0].length = 3; in prepare_outbound_urb()
359 urb->iso_frame_desc[0].offset = 0; in prepare_outbound_urb()
385 urb->iso_frame_desc[i].offset = offs; in prepare_inbound_urb()
386 urb->iso_frame_desc[i].length = ep->curpacksize; in prepare_inbound_urb()
395 urb->iso_frame_desc[0].length = min(4u, ep->syncmaxsize); in prepare_inbound_urb()
396 urb->iso_frame_desc[0].offset = 0; in prepare_inbound_urb()
[all …]
Dpcm.c1234 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset + subs->pkt_offset_adj; in retire_capture_urb()
1235 if (urb->iso_frame_desc[i].status && printk_ratelimit()) { in retire_capture_urb()
1237 i, urb->iso_frame_desc[i].status); in retire_capture_urb()
1240 bytes = urb->iso_frame_desc[i].actual_length; in retire_capture_urb()
1405 unsigned int length = urb->iso_frame_desc[i].length; in copy_to_urb_quirk()
1406 unsigned int offset = urb->iso_frame_desc[i].offset; in copy_to_urb_quirk()
1410 urb->iso_frame_desc[i].offset = offset; in copy_to_urb_quirk()
1411 urb->iso_frame_desc[i].length += sizeof(packet_length); in copy_to_urb_quirk()
1463 urb->iso_frame_desc[i].offset = frames * stride; in prepare_playback_urb()
1464 urb->iso_frame_desc[i].length = counts * stride; in prepare_playback_urb()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/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.c648 usbip_pack_iso(&iso[i], &urb->iso_frame_desc[i], 1); in usbip_alloc_iso_desc_pdu()
697 usbip_pack_iso(&iso[i], &urb->iso_frame_desc[i], 0); in usbip_recv_iso()
698 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso()
752 actualoffset -= urb->iso_frame_desc[i].actual_length; in usbip_pad_iso()
753 memmove(urb->transfer_buffer + urb->iso_frame_desc[i].offset, in usbip_pad_iso()
755 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()
/linux-6.1.9/sound/usb/misc/
Dua101.c113 struct usb_iso_packet_descriptor iso_frame_desc[1]; member
192 urb->urb.iso_frame_desc[0].length / in playback_urb_complete()
286 urb->urb.iso_frame_desc[0].length = in playback_work()
294 urb->urb.iso_frame_desc[0].length); in playback_work()
361 if (urb->status >= 0 && urb->iso_frame_desc[0].status >= 0) in capture_urb_complete()
362 frames = urb->iso_frame_desc[0].actual_length / in capture_urb_complete()
590 urb->iso_frame_desc[0].length = in start_usb_playback()
593 urb->iso_frame_desc[0].length); in start_usb_playback()
1099 urb->urb.iso_frame_desc[0].offset = 0; in alloc_stream_urbs()
1100 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()
/linux-6.1.9/drivers/usb/core/
Durb.c75 urb = kmalloc(struct_size(urb, iso_frame_desc, iso_packets), in usb_alloc_urb()
477 len = urb->iso_frame_desc[n].length; in usb_submit_urb()
480 urb->iso_frame_desc[n].status = -EXDEV; in usb_submit_urb()
481 urb->iso_frame_desc[n].actual_length = 0; in usb_submit_urb()
/linux-6.1.9/include/linux/
Dusbdevice_fs.h72 struct usbdevfs_iso_packet_desc iso_frame_desc[]; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/comedi/drivers/
Dusbduxsigma.c373 urb->iso_frame_desc[0].offset = 0; in usbduxsigma_ao_handle_urb()
374 urb->iso_frame_desc[0].length = SIZEOUTBUF; in usbduxsigma_ao_handle_urb()
375 urb->iso_frame_desc[0].status = 0; in usbduxsigma_ao_handle_urb()
1363 urb->iso_frame_desc[0].offset = 0; in usbduxsigma_alloc_usb_buffers()
1364 urb->iso_frame_desc[0].length = SIZEINBUF; in usbduxsigma_alloc_usb_buffers()
1385 urb->iso_frame_desc[0].offset = 0; in usbduxsigma_alloc_usb_buffers()
1386 urb->iso_frame_desc[0].length = SIZEOUTBUF; in usbduxsigma_alloc_usb_buffers()

1234