| /Linux-v5.4/sound/usb/usx2y/ |
| D | usb_stream.c | 39 urb->number_of_packets = pack; in playback_prep_freqn() 62 urb->number_of_packets = sk->n_o_ps; in init_pipe_urbs() 254 sk->iso_frame_balance += urb->number_of_packets; in balance_playback() 260 sk->iso_frame_balance -= urb->number_of_packets; in balance_capture() 288 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback() 297 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback() 310 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback() 314 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback() 326 io->number_of_packets = p; in usb_stream_prepare_playback() 335 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument [all …]
|
| /Linux-v5.4/drivers/usb/usbip/ |
| D | usbip_common.c | 253 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() 366 spdu->number_of_packets = urb->number_of_packets; in usbip_pack_cmd_submit() 372 urb->number_of_packets = spdu->number_of_packets; in usbip_pack_cmd_submit() 386 rpdu->number_of_packets = urb->number_of_packets; in usbip_pack_ret_submit() 392 urb->number_of_packets = rpdu->number_of_packets; in usbip_pack_ret_submit() 440 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_cmd_submit() 447 be32_to_cpus(&pdu->number_of_packets); in correct_endian_cmd_submit() 459 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_ret_submit() [all …]
|
| D | vudc_rx.c | 21 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()
|
| D | stub_rx.c | 368 if (pdu->u.cmd_submit.number_of_packets < 0 || in get_pipe() 369 pdu->u.cmd_submit.number_of_packets > in get_pipe() 373 pdu->u.cmd_submit.number_of_packets); in get_pipe() 519 np = pdu->u.cmd_submit.number_of_packets; in stub_recv_cmd_submit()
|
| D | usbip_common.h | 164 __s32 number_of_packets; member 182 __s32 number_of_packets; member
|
| D | vudc_tx.c | 96 iovnum = 2 + urb->number_of_packets; in v_send_ret_submit() 131 for (i = 0; i < urb->number_of_packets; i++) { in v_send_ret_submit()
|
| D | stub_tx.c | 184 iovnum = 2 + urb->number_of_packets; in stub_send_ret_submit() 277 for (i = 0; i < urb->number_of_packets; i++) { in stub_send_ret_submit()
|
| /Linux-v5.4/drivers/media/usb/gspca/ |
| D | konica.c | 227 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()
|
| D | benq.c | 106 urb->number_of_packets = SD_NPKT; in sd_start() 169 for (i = 0; i < urb->number_of_packets; i++) { in sd_isoc_irq()
|
| /Linux-v5.4/drivers/media/usb/dvb-usb/ |
| D | usb-urb.c | 25 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-v5.4/drivers/usb/host/ |
| D | ehci-sched.c | 1204 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init() 1209 for (i = 0; i < urb->number_of_packets; i++) { in itd_sched_init() 1220 if (unlikely(((i + 1) == urb->number_of_packets)) in itd_sched_init() 1262 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction() 1271 num_itds = urb->number_of_packets; in itd_urb_transaction() 1777 packet < urb->number_of_packets;) { in itd_link_urb() 1803 || packet == urb->number_of_packets) { in itd_link_urb() 1878 if (likely((urb_index + 1) != urb->number_of_packets)) in itd_complete() 1949 urb->number_of_packets, urb->interval, in itd_submit() 2003 iso_sched->span = urb->number_of_packets * stream->ps.period; in sitd_sched_init() [all …]
|
| D | uhci-q.c | 1265 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()
|
| /Linux-v5.4/drivers/usb/core/ |
| D | devio.c | 528 if (urb->number_of_packets > 0) /* Isochronous */ in copy_urb_data_to_user() 1491 int number_of_packets = 0; in proc_do_submiturb() local 1604 if (uurb->number_of_packets < 1 || in proc_do_submiturb() 1605 uurb->number_of_packets > 128) in proc_do_submiturb() 1609 number_of_packets = uurb->number_of_packets; in proc_do_submiturb() 1611 number_of_packets; in proc_do_submiturb() 1618 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1642 as = alloc_async(number_of_packets); in proc_do_submiturb() 1760 as->urb->number_of_packets = number_of_packets; in proc_do_submiturb() 1775 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() [all …]
|
| D | urb.c | 447 if (urb->number_of_packets <= 0) in usb_submit_urb() 449 for (n = 0; n < urb->number_of_packets; n++) { in usb_submit_urb()
|
| /Linux-v5.4/include/linux/ |
| D | usbdevice_fs.h | 68 compat_int_t number_of_packets; member
|
| /Linux-v5.4/drivers/media/usb/dvb-usb-v2/ |
| D | usb_urb.c | 31 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-v5.4/drivers/media/usb/stk1160/ |
| D | stk1160-video.c | 233 for (i = 0; i < urb->number_of_packets; i++) { in stk1160_process_isoc() 316 for (i = 0; i < urb->number_of_packets; i++) { in stk1160_isoc_irq() 482 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
|
| /Linux-v5.4/drivers/media/usb/uvc/ |
| D | uvc_isight.c | 104 for (i = 0; i < urb->number_of_packets; ++i) { in uvc_video_decode_isight()
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | usbdevice_fs.h | 127 int number_of_packets; /* Only used for isoc urbs */ member
|
| /Linux-v5.4/include/uapi/linux/ |
| D | usbdevice_fs.h | 127 int number_of_packets; /* Only used for isoc urbs */ member
|
| /Linux-v5.4/drivers/usb/c67x00/ |
| D | c67x00-sched.c | 412 last_urb->number_of_packets * in c67x00_urb_enqueue() 749 BUG_ON(urbp->cnt >= urb->number_of_packets); in c67x00_add_iso_urb() 763 if (urbp->cnt + 1 == urb->number_of_packets) in c67x00_add_iso_urb() 967 if (cnt + 1 == urb->number_of_packets) /* Last packet */ in c67x00_handle_isoc()
|
| /Linux-v5.4/drivers/usb/mon/ |
| D | mon_text.c | 230 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()
|
| D | mon_bin.c | 512 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()
|
| /Linux-v5.4/sound/usb/ |
| D | pcm.c | 1392 for (i = 0; i < urb->number_of_packets; i++) { in retire_capture_urb() 1534 for (i = 0; i < urb->number_of_packets; i++) { in copy_to_urb_quirk() 1548 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk() 1565 urb->number_of_packets = 0; in prepare_playback_urb() 1578 urb->number_of_packets++; in prepare_playback_urb() 1600 urb->number_of_packets++; in prepare_playback_urb()
|
| /Linux-v5.4/drivers/staging/isdn/gigaset/ |
| D | bas-gigaset.c | 282 urb->start_frame, urb->number_of_packets, urb->interval, in dump_urb() 289 for (i = 0; i < urb->number_of_packets; i++) { in dump_urb() 897 urb->number_of_packets = BAS_NUMFRAMES; in read_iso_callback() 983 urb->number_of_packets = BAS_NUMFRAMES; in starturbs() 1015 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()
|