Home
last modified time | relevance | path

Searched refs:number_of_packets (Results 1 – 25 of 47) sorted by relevance

12

/linux/sound/usb/usx2y/
H A Dusb_stream.c39 urb->number_of_packets = pack; in playback_prep_freqn()
62 urb->number_of_packets = sk->n_o_ps; in init_pipe_urbs()
259 sk->iso_frame_balance += urb->number_of_packets; in balance_playback()
265 sk->iso_frame_balance -= urb->number_of_packets; in balance_capture()
295 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback()
304 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback()
317 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback()
322 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback()
334 io->number_of_packets = p; in usb_stream_prepare_playback()
343 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument
[all …]
/linux/drivers/usb/usbip/
H A Dusbip_common.c253 dev_dbg(dev, " number_of_packets :%d\n", urb->number_of_packets); in usbip_dump_urb()
274 pdu->u.cmd_submit.number_of_packets, in usbip_dump_header()
286 pdu->u.ret_submit.number_of_packets, in usbip_dump_header()
447 spdu->number_of_packets = urb->number_of_packets; in usbip_pack_cmd_submit()
453 urb->number_of_packets = spdu->number_of_packets; in usbip_pack_cmd_submit()
467 rpdu->number_of_packets = urb->number_of_packets; in usbip_pack_ret_submit()
473 urb->number_of_packets = rpdu->number_of_packets; in usbip_pack_ret_submit()
521 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_cmd_submit()
528 be32_to_cpus(&pdu->number_of_packets); in correct_endian_cmd_submit()
540 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_ret_submit()
[all …]
H A Dvudc_rx.c21 urb = usb_alloc_urb(pdu->u.cmd_submit.number_of_packets, in alloc_urb_from_cmd()
132 if (pdu->u.cmd_submit.number_of_packets < 0 || in v_recv_cmd_submit()
133 pdu->u.cmd_submit.number_of_packets > packets) { in v_recv_cmd_submit()
136 pdu->u.cmd_submit.number_of_packets); in v_recv_cmd_submit()
H A Dusbip_common.h165 __s32 number_of_packets; member
183 __s32 number_of_packets; member
H A Dstub_tx.c185 iovnum = 2 + urb->number_of_packets; in stub_send_ret_submit()
274 for (i = 0; i < urb->number_of_packets; i++) { in stub_send_ret_submit()
/linux/drivers/media/usb/gspca/
H A Dkonica.c227 urb->number_of_packets = SD_NPKT; in sd_start()
295 if (data_urb->number_of_packets != status_urb->number_of_packets) { in sd_isoc_irq()
297 data_urb->number_of_packets, in sd_isoc_irq()
298 status_urb->number_of_packets); in sd_isoc_irq()
302 for (i = 0; i < status_urb->number_of_packets; i++) { in sd_isoc_irq()
H A Dbenq.c106 urb->number_of_packets = SD_NPKT; in sd_start()
169 for (i = 0; i < urb->number_of_packets; i++) { in sd_isoc_irq()
/linux/drivers/media/usb/dvb-usb/
H A Dusb-urb.c25 urb->number_of_packets,urb->error_count); in usb_urb_complete()
43 for (i = 0; i < urb->number_of_packets; i++) { in usb_urb_complete()
197 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_isoc_urb_init()
/linux/drivers/usb/host/
H A Dehci-sched.c1189 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1194 for (i = 0; i < urb->number_of_packets; i++) { in itd_sched_init()
1205 if (unlikely(((i + 1) == urb->number_of_packets)) in itd_sched_init()
1247 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction()
1256 num_itds = urb->number_of_packets; in itd_urb_transaction()
1768 packet < urb->number_of_packets;) { in itd_link_urb()
1794 || packet == urb->number_of_packets) { in itd_link_urb()
1869 if (likely((urb_index + 1) != urb->number_of_packets)) in itd_complete()
1940 urb->number_of_packets, urb->interval, in itd_submit()
1994 iso_sched->span = urb->number_of_packets * stream->ps.period; in sitd_sched_init()
[all …]
H A Duhci-q.c1265 urb->number_of_packets >= UHCI_NUMFRAMES) in uhci_submit_isochronous()
1300 lurb->number_of_packets * in uhci_submit_isochronous()
1317 frame + (urb->number_of_packets - 1) * in uhci_submit_isochronous()
1321 (urb->number_of_packets - 1) * in uhci_submit_isochronous()
1329 frame + urb->number_of_packets * urb->interval)) in uhci_submit_isochronous()
1336 for (i = 0; i < urb->number_of_packets; i++) { in uhci_submit_isochronous()
H A Dxen-hcd.c658 urb->number_of_packets); in xenhcd_map_urb_for_request()
688 req->u.isoc.number_of_packets = urb->number_of_packets; in xenhcd_map_urb_for_request()
693 urb->number_of_packets, in xenhcd_map_urb_for_request()
/linux/include/linux/
H A Dusbdevice_fs.h68 compat_int_t number_of_packets; member
/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c31 urb->number_of_packets, urb->error_count); in usb_urb_complete()
51 for (i = 0; i < urb->number_of_packets; i++) { in usb_urb_complete()
190 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
/linux/drivers/media/usb/uvc/
H A Duvc_isight.c108 for (i = 0; i < urb->number_of_packets; ++i) { in uvc_video_decode_isight()
/linux/include/xen/interface/io/
H A Dusbif.h347 uint16_t number_of_packets; /* number of ISO packet */ member
/linux/include/uapi/linux/
H A Dusbdevice_fs.h127 int number_of_packets; /* Only used for isoc urbs */ member
/linux/tools/include/uapi/linux/
H A Dusbdevice_fs.h
/linux/drivers/usb/c67x00/
H A Dc67x00-sched.c412 last_urb->number_of_packets * in c67x00_urb_enqueue()
750 BUG_ON(urbp->cnt >= urb->number_of_packets); in c67x00_add_iso_urb()
764 if (urbp->cnt + 1 == urb->number_of_packets) in c67x00_add_iso_urb()
968 if (cnt + 1 == urb->number_of_packets) /* Last packet */ in c67x00_handle_isoc()
/linux/drivers/usb/mon/
H A Dmon_text.c230 ep->numdesc = urb->number_of_packets; in mon_text_event()
232 urb->number_of_packets > 0) { in mon_text_event()
233 if ((ndesc = urb->number_of_packets) > ISODESC_MAX) in mon_text_event()
/linux/sound/usb/
H A Dpcm.c1333 for (i = 0; i < urb->number_of_packets; i++) { in retire_capture_urb()
1502 for (i = 0; i < urb->number_of_packets; i++) { in copy_to_urb_quirk()
1516 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk()
1536 urb->number_of_packets = 0; in prepare_playback_urb()
1564 urb->number_of_packets++; in prepare_playback_urb()
1586 urb->number_of_packets++; in prepare_playback_urb()
/linux/drivers/media/usb/b2c2/
H A Dflexcop-usb.c383 for (i = 0; i < urb->number_of_packets; i++) { in flexcop_usb_urb_complete()
469 urb->number_of_packets = B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-audio.c116 for (i = 0; i < urb->number_of_packets; i++) { in cx231xx_audio_isocirq()
297 urb->number_of_packets = CX231XX_ISO_NUM_AUDIO_PACKETS; in cx231xx_init_audio_isoc()
/linux/drivers/comedi/drivers/
H A Dusbduxsigma.c372 urb->number_of_packets = 1; in usbduxsigma_ao_handle_urb()
1361 urb->number_of_packets = 1; in usbduxsigma_alloc_usb_buffers()
1383 urb->number_of_packets = 1; in usbduxsigma_alloc_usb_buffers()
H A Dusbdux.c417 urb->number_of_packets = 1; in usbduxsub_ao_handle_urb()
1470 urb->number_of_packets = 1; in usbdux_alloc_usb_buffers()
1492 urb->number_of_packets = 1; in usbdux_alloc_usb_buffers()
/linux/drivers/media/usb/em28xx/
H A Dem28xx-audio.c106 for (i = 0; i < urb->number_of_packets; i++) { in em28xx_audio_isocirq()
790 urb->number_of_packets = npackets; in em28xx_audio_urb_init()

12