Home
last modified time | relevance | path

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

123

/drivers/usb/usbip/
Dusbip_common.c267 dev_dbg(dev, " number_of_packets :%d\n", urb->number_of_packets); in usbip_dump_urb()
288 pdu->u.cmd_submit.number_of_packets, in usbip_dump_header()
300 pdu->u.ret_submit.number_of_packets, in usbip_dump_header()
381 spdu->number_of_packets = urb->number_of_packets; in usbip_pack_cmd_submit()
387 urb->number_of_packets = spdu->number_of_packets; in usbip_pack_cmd_submit()
401 rpdu->number_of_packets = urb->number_of_packets; in usbip_pack_ret_submit()
407 urb->number_of_packets = rpdu->number_of_packets; in usbip_pack_ret_submit()
455 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_cmd_submit()
462 be32_to_cpus(&pdu->number_of_packets); in correct_endian_cmd_submit()
474 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_ret_submit()
[all …]
Dvudc_rx.c33 urb = usb_alloc_urb(pdu->u.cmd_submit.number_of_packets, in alloc_urb_from_cmd()
144 if (pdu->u.cmd_submit.number_of_packets < 0 || in v_recv_cmd_submit()
145 pdu->u.cmd_submit.number_of_packets > packets) { in v_recv_cmd_submit()
148 pdu->u.cmd_submit.number_of_packets); in v_recv_cmd_submit()
Dstub_rx.c382 if (pdu->u.cmd_submit.number_of_packets < 0 || in get_pipe()
383 pdu->u.cmd_submit.number_of_packets > in get_pipe()
387 pdu->u.cmd_submit.number_of_packets); in get_pipe()
550 np = pdu->u.cmd_submit.number_of_packets; in stub_recv_cmd_submit()
Dusbip_common.h178 __s32 number_of_packets; member
196 __s32 number_of_packets; member
Dvudc_tx.c108 iovnum = 2 + urb->number_of_packets; in v_send_ret_submit()
143 for (i = 0; i < urb->number_of_packets; i++) { in v_send_ret_submit()
Dstub_tx.c198 iovnum = 2 + urb->number_of_packets; in stub_send_ret_submit()
291 for (i = 0; i < urb->number_of_packets; i++) { in stub_send_ret_submit()
/drivers/media/usb/gspca/
Dkonica.c236 urb->number_of_packets = SD_NPKT; in sd_start()
304 if (data_urb->number_of_packets != status_urb->number_of_packets) { in sd_isoc_irq()
306 data_urb->number_of_packets, in sd_isoc_irq()
307 status_urb->number_of_packets); in sd_isoc_irq()
311 for (i = 0; i < status_urb->number_of_packets; i++) { in sd_isoc_irq()
Dbenq.c115 urb->number_of_packets = SD_NPKT; in sd_start()
178 for (i = 0; i < urb->number_of_packets; i++) { in sd_isoc_irq()
/drivers/usb/host/
Dehci-sched.c1216 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1221 for (i = 0; i < urb->number_of_packets; i++) { in itd_sched_init()
1232 if (unlikely(((i + 1) == urb->number_of_packets)) in itd_sched_init()
1274 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction()
1283 num_itds = urb->number_of_packets; in itd_urb_transaction()
1789 packet < urb->number_of_packets;) { in itd_link_urb()
1815 || packet == urb->number_of_packets) { in itd_link_urb()
1891 if (likely((urb_index + 1) != urb->number_of_packets)) in itd_complete()
1963 urb->number_of_packets, urb->interval, in itd_submit()
2017 iso_sched->span = urb->number_of_packets * stream->ps.period; in sitd_sched_init()
[all …]
Duhci-q.c1266 urb->number_of_packets >= UHCI_NUMFRAMES) in uhci_submit_isochronous()
1301 lurb->number_of_packets * in uhci_submit_isochronous()
1318 frame + (urb->number_of_packets - 1) * in uhci_submit_isochronous()
1322 (urb->number_of_packets - 1) * in uhci_submit_isochronous()
1330 frame + urb->number_of_packets * urb->interval)) in uhci_submit_isochronous()
1337 for (i = 0; i < urb->number_of_packets; i++) { in uhci_submit_isochronous()
Dimx21-hcd.c758 sizeof(struct td) * urb->number_of_packets, mem_flags); in imx21_hc_urb_enqueue_isoc()
834 i >= urb->number_of_packets) { in imx21_hc_urb_enqueue_isoc()
843 urb_priv->isoc_remaining = urb->number_of_packets - i; in imx21_hc_urb_enqueue_isoc()
845 for (; i < urb->number_of_packets; i++, td++) { in imx21_hc_urb_enqueue_isoc()
858 urb->number_of_packets, urb->start_frame, td->frame); in imx21_hc_urb_enqueue_isoc()
Dfhci-hcd.c419 size = urb->number_of_packets; in fhci_urb_enqueue()
422 for (i = 0; i < urb->number_of_packets; i++) { in fhci_urb_enqueue()
/drivers/media/usb/dvb-usb/
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()
/drivers/usb/core/
Ddevio.c533 if (urb->number_of_packets > 0) /* Isochronous */ in copy_urb_data_to_user()
1468 int number_of_packets = 0; in proc_do_submiturb() local
1581 if (uurb->number_of_packets < 1 || in proc_do_submiturb()
1582 uurb->number_of_packets > 128) in proc_do_submiturb()
1586 number_of_packets = uurb->number_of_packets; in proc_do_submiturb()
1588 number_of_packets; in proc_do_submiturb()
1595 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1622 as = alloc_async(number_of_packets); in proc_do_submiturb()
1740 as->urb->number_of_packets = number_of_packets; in proc_do_submiturb()
1755 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
[all …]
Durb.c441 if (urb->number_of_packets <= 0) in usb_submit_urb()
443 for (n = 0; n < urb->number_of_packets; n++) { in usb_submit_urb()
/drivers/media/usb/stk1160/
Dstk1160-video.c243 for (i = 0; i < urb->number_of_packets; i++) { in stk1160_process_isoc()
326 for (i = 0; i < urb->number_of_packets; i++) { in stk1160_isoc_irq()
492 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
/drivers/media/usb/dvb-usb-v2/
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()
192 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
/drivers/isdn/hisax/
Dst5481.h482 name, urb->number_of_packets, urb->error_count); in dump_iso_packet()
483 for (i = 0; i < urb->number_of_packets; ++i) { in dump_iso_packet()
Dst5481_usb.c415 urb->number_of_packets = num_packets; in fill_isoc_urb()
596 pend = &urb->iso_frame_desc[urb->number_of_packets], in st5481_isoc_flatten()
/drivers/media/usb/uvc/
Duvc_isight.c107 for (i = 0; i < urb->number_of_packets; ++i) { in uvc_video_decode_isight()
/drivers/usb/c67x00/
Dc67x00-sched.c426 last_urb->number_of_packets * in c67x00_urb_enqueue()
763 BUG_ON(urbp->cnt >= urb->number_of_packets); in c67x00_add_iso_urb()
777 if (urbp->cnt + 1 == urb->number_of_packets) in c67x00_add_iso_urb()
983 if (cnt + 1 == urb->number_of_packets) /* Last packet */ in c67x00_handle_isoc()
/drivers/usb/mon/
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()
Dmon_bin.c512 if (urb->number_of_packets < 0) { in mon_bin_event()
514 } else if (urb->number_of_packets >= ISODESC_MAX) { in mon_bin_event()
517 ndesc = urb->number_of_packets; in mon_bin_event()
586 ep->s.iso.numdesc = urb->number_of_packets; in mon_bin_event()
/drivers/isdn/gigaset/
Dbas-gigaset.c284 urb->start_frame, urb->number_of_packets, urb->interval, in dump_urb()
291 for (i = 0; i < urb->number_of_packets; i++) { in dump_urb()
896 urb->number_of_packets = BAS_NUMFRAMES; in read_iso_callback()
980 urb->number_of_packets = BAS_NUMFRAMES; in starturbs()
1012 urb->number_of_packets = BAS_NUMFRAMES; in starturbs()
1134 urb->number_of_packets = nframe; in submit_iso_write_urb()
1424 urb->number_of_packets = BAS_NUMFRAMES; in read_iso_tasklet()
/drivers/media/usb/b2c2/
Dflexcop-usb.c385 for (i = 0; i < urb->number_of_packets; i++) { in flexcop_usb_urb_complete()
470 urb->number_of_packets = B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()

123