Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/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()
257 sk->iso_frame_balance += urb->number_of_packets; in balance_playback()
263 sk->iso_frame_balance -= urb->number_of_packets; in balance_capture()
291 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback()
300 s->sync_packet < inurb->number_of_packets && p < sk->n_o_ps; in usb_stream_prepare_playback()
313 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback()
317 s->sync_packet, p, inurb->number_of_packets, in usb_stream_prepare_playback()
329 io->number_of_packets = p; in usb_stream_prepare_playback()
338 static void prepare_inurb(int number_of_packets, struct urb *iu) in prepare_inurb() argument
[all …]
/OK3568_Linux_fs/kernel/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()
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 …]
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 Dstub_rx.c370 if (pdu->u.cmd_submit.number_of_packets < 0 || in get_pipe()
371 pdu->u.cmd_submit.number_of_packets > in get_pipe()
375 pdu->u.cmd_submit.number_of_packets); in get_pipe()
535 np = pdu->u.cmd_submit.number_of_packets; in stub_recv_cmd_submit()
H A Dusbip_common.h164 __s32 number_of_packets; member
182 __s32 number_of_packets; member
H A Dvudc_tx.c96 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()
H A Dstub_tx.c184 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-sched.c1184 iso_sched->span = urb->number_of_packets * stream->uperiod; in itd_sched_init()
1189 for (i = 0; i < urb->number_of_packets; i++) { in itd_sched_init()
1200 if (unlikely(((i + 1) == urb->number_of_packets)) in itd_sched_init()
1242 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction()
1251 num_itds = urb->number_of_packets; in itd_urb_transaction()
1757 packet < urb->number_of_packets;) { in itd_link_urb()
1783 || packet == urb->number_of_packets) { in itd_link_urb()
1858 if (likely((urb_index + 1) != urb->number_of_packets)) in itd_complete()
1929 urb->number_of_packets, urb->interval, in itd_submit()
1983 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Ddevio.c537 if (urb->number_of_packets > 0) /* Isochronous */ in copy_urb_data_to_user()
1523 int number_of_packets = 0; in proc_do_submiturb() local
1636 if (uurb->number_of_packets < 1 || in proc_do_submiturb()
1637 uurb->number_of_packets > 128) in proc_do_submiturb()
1641 number_of_packets = uurb->number_of_packets; in proc_do_submiturb()
1643 number_of_packets; in proc_do_submiturb()
1650 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1674 as = alloc_async(number_of_packets); in proc_do_submiturb()
1792 as->urb->number_of_packets = number_of_packets; in proc_do_submiturb()
1807 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
[all …]
H A Durb.c463 if (urb->number_of_packets <= 0) in usb_submit_urb()
465 for (n = 0; n < urb->number_of_packets; n++) { in usb_submit_urb()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/media/usb/stk1160/
H A Dstk1160-video.c233 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dusbdevice_fs.h68 compat_int_t number_of_packets; member
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_isight.c104 for (i = 0; i < urb->number_of_packets; ++i) { in uvc_video_decode_isight()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dusbdevice_fs.h107 int number_of_packets; /* Only used for isoc urbs */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dusbdevice_fs.h107 int number_of_packets; /* Only used for isoc urbs */ member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dusbdevice_fs.h127 int number_of_packets; /* Only used for isoc urbs */ member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dusbdevice_fs.h127 int number_of_packets; /* Only used for isoc urbs */ member
/OK3568_Linux_fs/kernel/sound/usb/caiaq/
H A Daudio.c665 out->number_of_packets = outframe; in read_completed()
680 urb->number_of_packets = FRAMES_PER_URB; in read_completed()
743 urbs[i]->number_of_packets = FRAMES_PER_URB; in alloc_urbs()
/OK3568_Linux_fs/kernel/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()

1234