/linux-2.6.39/drivers/media/video/gspca/ |
D | benq.c | 140 urb->iso_frame_desc[i].length = SD_PKT_SZ; in sd_start() 141 urb->iso_frame_desc[i].offset = SD_PKT_SZ * i; in sd_start() 200 if (urb0->iso_frame_desc[i].actual_length != SD_PKT_SZ in sd_isoc_irq() 201 || urb->iso_frame_desc[i].actual_length != SD_PKT_SZ) { in sd_isoc_irq() 203 urb0->iso_frame_desc[i].actual_length, in sd_isoc_irq() 204 urb->iso_frame_desc[i].actual_length); in sd_isoc_irq() 208 st = urb0->iso_frame_desc[i].status; in sd_isoc_irq() 210 st = urb->iso_frame_desc[i].status; in sd_isoc_irq() 235 + urb0->iso_frame_desc[i].offset; in sd_isoc_irq() 251 + urb->iso_frame_desc[i].offset; in sd_isoc_irq()
|
D | konica.c | 342 urb->iso_frame_desc[i].length = packet_size; in sd_start() 343 urb->iso_frame_desc[i].offset = packet_size * i; in sd_start() 417 if (data_urb->iso_frame_desc[i].status || in sd_isoc_irq() 418 status_urb->iso_frame_desc[i].status) { in sd_isoc_irq() 421 data_urb->iso_frame_desc[i].status, in sd_isoc_irq() 422 status_urb->iso_frame_desc[i].status); in sd_isoc_irq() 427 if (status_urb->iso_frame_desc[i].actual_length != 1) { in sd_isoc_irq() 430 status_urb->iso_frame_desc[i].actual_length); in sd_isoc_irq() 436 + status_urb->iso_frame_desc[i].offset); in sd_isoc_irq() 439 + data_urb->iso_frame_desc[i].offset; in sd_isoc_irq() [all …]
|
/linux-2.6.39/drivers/media/dvb/dvb-usb/ |
D | usb-urb.c | 44 if (urb->iso_frame_desc[i].status != 0) in usb_urb_complete() 45 deb_ts("iso frame descriptor has an error: %d\n",urb->iso_frame_desc[i].status); in usb_urb_complete() 46 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete() 47 … stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete() 49 urb->iso_frame_desc[i].status = 0; in usb_urb_complete() 50 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete() 202 urb->iso_frame_desc[j].offset = frame_offset; in usb_isoc_urb_init() 203 urb->iso_frame_desc[j].length = stream->props.u.isoc.framesize; in usb_isoc_urb_init()
|
/linux-2.6.39/sound/usb/ |
D | urb.c | 370 urb->iso_frame_desc[0].length = 3; in prepare_capture_sync_urb() 371 urb->iso_frame_desc[0].offset = 0; in prepare_capture_sync_urb() 392 urb->iso_frame_desc[0].length = 4; in prepare_capture_sync_urb_hs() 393 urb->iso_frame_desc[0].offset = 0; in prepare_capture_sync_urb_hs() 432 urb->iso_frame_desc[i].offset = offs; in prepare_capture_urb() 433 urb->iso_frame_desc[i].length = subs->curpacksize; in prepare_capture_urb() 460 cp = (unsigned char *)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in retire_capture_urb() 461 if (urb->iso_frame_desc[i].status) { in retire_capture_urb() 462 snd_printd(KERN_ERR "frame %d active: %d\n", i, urb->iso_frame_desc[i].status); in retire_capture_urb() 465 bytes = urb->iso_frame_desc[i].actual_length; in retire_capture_urb() [all …]
|
/linux-2.6.39/drivers/media/video/uvc/ |
D | uvc_isight.c | 108 if (urb->iso_frame_desc[i].status < 0) { in uvc_video_decode_isight() 111 urb->iso_frame_desc[i].status); in uvc_video_decode_isight() 125 urb->iso_frame_desc[i].offset, in uvc_video_decode_isight() 126 urb->iso_frame_desc[i].actual_length); in uvc_video_decode_isight()
|
D | uvc_video.c | 596 if (urb->iso_frame_desc[i].status < 0) { in uvc_video_decode_isoc() 598 "lost (%d).\n", urb->iso_frame_desc[i].status); in uvc_video_decode_isoc() 606 mem = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in uvc_video_decode_isoc() 609 urb->iso_frame_desc[i].actual_length); in uvc_video_decode_isoc() 620 urb->iso_frame_desc[i].actual_length - ret); in uvc_video_decode_isoc() 624 urb->iso_frame_desc[i].actual_length); in uvc_video_decode_isoc() 920 urb->iso_frame_desc[j].offset = j * psize; in uvc_init_video_isoc() 921 urb->iso_frame_desc[j].length = psize; in uvc_init_video_isoc()
|
/linux-2.6.39/sound/usb/usx2y/ |
D | usb_stream.c | 45 urb->iso_frame_desc[pack].offset = lb; in playback_prep_freqn() 46 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() 83 desc = urb->iso_frame_desc; in init_pipe_urbs() 283 od = io->iso_frame_desc; in usb_stream_prepare_playback() 287 id = ii->iso_frame_desc + in usb_stream_prepare_playback() 299 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback() 341 id = iu->iso_frame_desc; in prepare_inurb() 389 id = iu->iso_frame_desc; in loop_back() 422 id = iu->iso_frame_desc; in loop_back() 447 struct usb_iso_packet_descriptor *id = inurb->iso_frame_desc; in stream_idle() [all …]
|
D | usbusx2yaudio.c | 79 cp = (unsigned char*)urb->transfer_buffer + urb->iso_frame_desc[i].offset; in usX2Y_urb_capt_retire() 80 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usX2Y_urb_capt_retire() 83 urb->iso_frame_desc[i].status); in usX2Y_urb_capt_retire() 84 return urb->iso_frame_desc[i].status; in usX2Y_urb_capt_retire() 86 len = urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_urb_capt_retire() 137 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare() 144 urb->iso_frame_desc[pack].offset = pack ? in usX2Y_urb_play_prepare() 145 urb->iso_frame_desc[pack - 1].offset + in usX2Y_urb_play_prepare() 146 urb->iso_frame_desc[pack - 1].length : in usX2Y_urb_play_prepare() 148 urb->iso_frame_desc[pack].length = cap_urb->iso_frame_desc[pack].actual_length; in usX2Y_urb_play_prepare() [all …]
|
D | usx2yhwdeppcm.c | 76 if (urb->iso_frame_desc[i].status) { /* active? hmm, skip this */ in usX2Y_usbpcm_urb_capt_retire() 77 …RR "activ frame status %i. Most propably some hardware problem.\n", urb->iso_frame_desc[i].status); in usX2Y_usbpcm_urb_capt_retire() 78 return urb->iso_frame_desc[i].status; in usX2Y_usbpcm_urb_capt_retire() 80 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire() 135 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usX2Y_hwdep_urb_play_prepare() 136 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usX2Y_hwdep_urb_play_prepare() 138 memset((char *)urb->transfer_buffer + urb->iso_frame_desc[pack].offset, 0, in usX2Y_hwdep_urb_play_prepare() 139 urb->iso_frame_desc[pack].length); in usX2Y_hwdep_urb_play_prepare() 154 struct usb_iso_packet_descriptor *desc = urb->iso_frame_desc + pack; in usX2Y_usbpcm_urb_capt_iso_advance() 448 urb->iso_frame_desc[pack].offset = subs->maxpacksize * (pack + u * nr_of_packs()); in usX2Y_usbpcm_urbs_start() [all …]
|
/linux-2.6.39/drivers/media/dvb/b2c2/ |
D | flexcop-usb.c | 360 if (urb->iso_frame_desc[i].status < 0) { in flexcop_usb_urb_complete() 362 urb->iso_frame_desc[i].status); in flexcop_usb_urb_complete() 364 if (urb->iso_frame_desc[i].actual_length > 0) { in flexcop_usb_urb_complete() 366 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete() 370 urb->iso_frame_desc[i].offset, in flexcop_usb_urb_complete() 371 urb->iso_frame_desc[i].actual_length); in flexcop_usb_urb_complete() 373 urb->iso_frame_desc[i].status = 0; in flexcop_usb_urb_complete() 374 urb->iso_frame_desc[i].actual_length = 0; in flexcop_usb_urb_complete() 452 urb->iso_frame_desc[j].offset = frame_offset; in flexcop_usb_transfer_init() 453 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init()
|
/linux-2.6.39/drivers/staging/easycap/ |
D | easycap_sound.c | 140 if (purb->iso_frame_desc[i].status < 0) { in easycap_alsa_complete() 142 strerror(purb->iso_frame_desc[i].status), in easycap_alsa_complete() 143 purb->iso_frame_desc[i].status); in easycap_alsa_complete() 145 if (purb->iso_frame_desc[i].status) { in easycap_alsa_complete() 148 purb->iso_frame_desc[i].status); in easycap_alsa_complete() 151 more = purb->iso_frame_desc[i].actual_length; in easycap_alsa_complete() 168 purb->iso_frame_desc[i].offset); in easycap_alsa_complete() 774 purb->iso_frame_desc[j].offset = j * peasycap->audio_isoc_maxframesize; in submit_audio_urbs() 775 purb->iso_frame_desc[j].length = peasycap->audio_isoc_maxframesize; in submit_audio_urbs()
|
/linux-2.6.39/sound/usb/caiaq/ |
D | audio.c | 631 if (urb->iso_frame_desc[frame].status) in read_completed() 634 len = urb->iso_frame_desc[outframe].actual_length; in read_completed() 635 out->iso_frame_desc[outframe].length = len; in read_completed() 636 out->iso_frame_desc[outframe].actual_length = 0; in read_completed() 637 out->iso_frame_desc[outframe].offset = BYTES_PER_FRAME * frame; in read_completed() 641 fill_out_urb(dev, out, &out->iso_frame_desc[outframe]); in read_completed() 642 read_in_urb(dev, urb, &urb->iso_frame_desc[frame]); in read_completed() 660 urb->iso_frame_desc[frame].offset = BYTES_PER_FRAME * frame; in read_completed() 661 urb->iso_frame_desc[frame].length = BYTES_PER_FRAME; in read_completed() 662 urb->iso_frame_desc[frame].actual_length = 0; in read_completed() [all …]
|
/linux-2.6.39/include/linux/ |
D | usbdevice_fs.h | 110 struct usbdevfs_iso_packet_desc iso_frame_desc[0]; member 167 struct usbdevfs_iso_packet_desc iso_frame_desc[0]; member
|
/linux-2.6.39/drivers/isdn/gigaset/ |
D | bas-gigaset.c | 292 = &urb->iso_frame_desc[i]; in dump_urb() 878 ubc->isoinlost += urb->iso_frame_desc[i].actual_length; in read_iso_callback() 879 if (unlikely(urb->iso_frame_desc[i].status != 0 && in read_iso_callback() 880 urb->iso_frame_desc[i].status != in read_iso_callback() 882 ubc->loststatus = urb->iso_frame_desc[i].status; in read_iso_callback() 883 urb->iso_frame_desc[i].status = 0; in read_iso_callback() 884 urb->iso_frame_desc[i].actual_length = 0; in read_iso_callback() 979 urb->iso_frame_desc[j].offset = j * BAS_MAXFRAME; in starturbs() 980 urb->iso_frame_desc[j].length = BAS_MAXFRAME; in starturbs() 981 urb->iso_frame_desc[j].status = 0; in starturbs() [all …]
|
/linux-2.6.39/drivers/usb/host/ |
D | fhci-q.c | 231 len = urb->iso_frame_desc[td->iso_index].length; in fhci_done_td() 236 urb->iso_frame_desc[td->iso_index].actual_length = len; in fhci_done_td() 237 urb->iso_frame_desc[td->iso_index].status = in fhci_done_td()
|
/linux-2.6.39/drivers/isdn/hisax/ |
D | hfc_usb.c | 446 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 447 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 448 urb->iso_frame_desc[k].actual_length = 0; in fill_isoc_urb() 492 iso_frame_desc[k].offset = in start_isoc_chain() 495 iso_frame_desc[k].length = in start_isoc_chain() 567 errcode = urb->iso_frame_desc[k].status; in tx_iso_complete() 635 urb->iso_frame_desc[k].offset = tx_offset; in tx_iso_complete() 636 urb->iso_frame_desc[k].length = in tx_iso_complete() 641 urb->iso_frame_desc[k].offset = in tx_iso_complete() 644 urb->iso_frame_desc[k].length = 1; in tx_iso_complete() [all …]
|
D | st5481_usb.c | 414 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 415 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 416 urb->iso_frame_desc[k].actual_length = 0; in fill_isoc_urb() 587 for (pipd = &urb->iso_frame_desc[0], in st5481_isoc_flatten() 588 pend = &urb->iso_frame_desc[urb->number_of_packets], in st5481_isoc_flatten()
|
D | st5481.h | 486 len = urb->iso_frame_desc[i].actual_length; in dump_iso_packet() 488 len = urb->iso_frame_desc[i].length; in dump_iso_packet() 490 ofs = urb->iso_frame_desc[i].offset; in dump_iso_packet()
|
/linux-2.6.39/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 996 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 997 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 998 urb->iso_frame_desc[k].actual_length = 0; in fill_isoc_urb() 1047 len = urb->iso_frame_desc[k].actual_length; in rx_iso_complete() 1048 offset = urb->iso_frame_desc[k].offset; in rx_iso_complete() 1050 iso_status = urb->iso_frame_desc[k].status; in rx_iso_complete() 1271 errcode = urb->iso_frame_desc[k].status; in tx_iso_complete() 1316 urb->iso_frame_desc[k].offset = tx_offset; in tx_iso_complete() 1317 urb->iso_frame_desc[k].length = current_len + 1; in tx_iso_complete() 1326 urb->iso_frame_desc[k].offset, in tx_iso_complete() [all …]
|
/linux-2.6.39/drivers/media/video/em28xx/ |
D | em28xx-audio.c | 115 urb->iso_frame_desc[i].actual_length / stride; in em28xx_audio_isocirq() 117 urb->iso_frame_desc[i].offset; in em28xx_audio_isocirq() 205 urb->iso_frame_desc[j].offset = k; in em28xx_init_audio_isoc() 206 urb->iso_frame_desc[j].length = in em28xx_init_audio_isoc()
|
/linux-2.6.39/drivers/staging/usbip/ |
D | stub_tx.c | 235 iov[iovnum].iov_base = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in stub_send_ret_submit() 236 iov[iovnum].iov_len = urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit() 238 txsize += urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit()
|
D | usbip_common.c | 714 usbip_pack_iso(iso, &urb->iso_frame_desc[i], 1); in usbip_alloc_iso_desc_pdu() 768 usbip_pack_iso(iso, &urb->iso_frame_desc[i], 0); in usbip_recv_iso() 769 total_length += urb->iso_frame_desc[i].actual_length; in usbip_recv_iso() 824 actualoffset -= urb->iso_frame_desc[i].actual_length; in usbip_pad_iso() 825 memmove(urb->transfer_buffer + urb->iso_frame_desc[i].offset, in usbip_pad_iso() 827 urb->iso_frame_desc[i].actual_length); in usbip_pad_iso()
|
/linux-2.6.39/drivers/staging/line6/ |
D | capture.c | 48 &urb_in->iso_frame_desc[i]; in submit_audio_in_urb() 215 &urb->iso_frame_desc[i]; in audio_in_callback() 227 struct usb_iso_packet_descriptor *fin = &urb->iso_frame_desc[i]; in audio_in_callback()
|
D | playback.c | 166 &urb_out->iso_frame_desc[i]; in submit_audio_out_urb() 279 &urb_out->iso_frame_desc[i]; in submit_audio_out_urb() 391 length += urb->iso_frame_desc[i].length; in audio_out_callback() 407 if (urb->iso_frame_desc[i].status == -EXDEV) { in audio_out_callback()
|
/linux-2.6.39/sound/usb/misc/ |
D | ua101.c | 124 struct usb_iso_packet_descriptor iso_frame_desc[1]; member 203 urb->urb.iso_frame_desc[0].length / in playback_urb_complete() 297 urb->urb.iso_frame_desc[0].length = in playback_tasklet() 305 urb->urb.iso_frame_desc[0].length); in playback_tasklet() 372 if (urb->status >= 0 && urb->iso_frame_desc[0].status >= 0) in capture_urb_complete() 373 frames = urb->iso_frame_desc[0].actual_length / in capture_urb_complete() 597 urb->iso_frame_desc[0].length = in start_usb_playback() 600 urb->iso_frame_desc[0].length); in start_usb_playback() 1128 urb->urb.iso_frame_desc[0].offset = 0; in alloc_stream_urbs() 1129 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()
|