Home
last modified time | relevance | path

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

1234

/linux/sound/usb/usx2y/
A Dusb_stream.c40 urb->number_of_packets = pack; in playback_prep_freqn()
65 urb->number_of_packets = sk->n_o_ps; in init_pipe_urbs()
297 ii->number_of_packets + s->sync_packet; in usb_stream_prepare_playback()
319 s->sync_packet -= inurb->number_of_packets; in usb_stream_prepare_playback()
335 io->number_of_packets = p; in usb_stream_prepare_playback()
349 iu->number_of_packets = number_of_packets; in prepare_inurb()
352 for (p = 0; p < iu->number_of_packets - 1; ++p) in prepare_inurb()
356 id[0].length * iu->number_of_packets; in prepare_inurb()
565 inurb->number_of_packets, diff); in stream_start()
696 inurb->number_of_packets = outurb->number_of_packets; in usb_stream_start()
[all …]
/linux/drivers/usb/usbip/
A Dusbip_common.c274 pdu->u.cmd_submit.number_of_packets, in usbip_dump_header()
286 pdu->u.ret_submit.number_of_packets, in usbip_dump_header()
361 spdu->number_of_packets = urb->number_of_packets; in usbip_pack_cmd_submit()
367 urb->number_of_packets = spdu->number_of_packets; in usbip_pack_cmd_submit()
381 rpdu->number_of_packets = urb->number_of_packets; in usbip_pack_ret_submit()
387 urb->number_of_packets = rpdu->number_of_packets; in usbip_pack_ret_submit()
435 cpu_to_be32s(&pdu->number_of_packets); in correct_endian_cmd_submit()
442 be32_to_cpus(&pdu->number_of_packets); in correct_endian_cmd_submit()
554 int np = urb->number_of_packets; in usbip_alloc_iso_desc_pdu()
578 int np = urb->number_of_packets; in usbip_recv_iso()
[all …]
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()
A Dstub_rx.c368 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()
533 np = pdu->u.cmd_submit.number_of_packets; in stub_recv_cmd_submit()
A Dusbip_common.h165 __s32 number_of_packets; member
183 __s32 number_of_packets; member
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()
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()
/linux/drivers/media/usb/gspca/
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()
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/usb/host/
A Dehci-sched.c1195 for (i = 0; i < urb->number_of_packets; i++) { in itd_sched_init()
1206 if (unlikely(((i + 1) == urb->number_of_packets)) in itd_sched_init()
1257 num_itds = urb->number_of_packets; in itd_urb_transaction()
1769 packet < urb->number_of_packets;) { in itd_link_urb()
1795 || packet == urb->number_of_packets) { in itd_link_urb()
1941 urb->number_of_packets, urb->interval, in itd_submit()
2000 for (i = 0; i < urb->number_of_packets; i++) { in sitd_sched_init()
2010 if (((i + 1) == urb->number_of_packets) in sitd_sched_init()
2054 for (i = 0; i < urb->number_of_packets; i++) { in sitd_urb_transaction()
2171 packet < urb->number_of_packets; in sitd_link_urb()
[all …]
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()
/linux/drivers/media/usb/dvb-usb/
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/core/
A Ddevio.c1601 int number_of_packets = 0; in proc_do_submiturb() local
1714 if (uurb->number_of_packets < 1 || in proc_do_submiturb()
1715 uurb->number_of_packets > 128) in proc_do_submiturb()
1719 number_of_packets = uurb->number_of_packets; in proc_do_submiturb()
1721 number_of_packets; in proc_do_submiturb()
1752 as = alloc_async(number_of_packets); in proc_do_submiturb()
1870 as->urb->number_of_packets = number_of_packets; in proc_do_submiturb()
2007 if (urb->number_of_packets > 0) { in compute_isochronous_actual_length()
2009 for (i = 0; i < urb->number_of_packets; i++) in compute_isochronous_actual_length()
2035 for (i = 0; i < urb->number_of_packets; i++) { in processcompl()
[all …]
A Durb.c472 if (urb->number_of_packets <= 0) in usb_submit_urb()
474 for (n = 0; n < urb->number_of_packets; n++) { in usb_submit_urb()
/linux/drivers/media/usb/stk1160/
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()
/linux/drivers/media/usb/dvb-usb-v2/
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/include/linux/
A Dusbdevice_fs.h68 compat_int_t number_of_packets; member
/linux/drivers/media/usb/uvc/
A Duvc_isight.c105 for (i = 0; i < urb->number_of_packets; ++i) { in uvc_video_decode_isight()
/linux/tools/include/uapi/linux/
A Dusbdevice_fs.h127 int number_of_packets; /* Only used for isoc urbs */ member
/linux/include/uapi/linux/
A Dusbdevice_fs.h127 int number_of_packets; /* Only used for isoc urbs */ member
/linux/drivers/usb/c67x00/
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/sound/usb/
A Dpcm.c1175 for (i = 0; i < urb->number_of_packets; i++) { in retire_capture_urb()
1346 for (i = 0; i < urb->number_of_packets; i++) { in copy_to_urb_quirk()
1360 bytes += urb->number_of_packets * sizeof(packet_length); in copy_to_urb_quirk()
1382 urb->number_of_packets = 0; in prepare_playback_urb()
1409 urb->number_of_packets++; in prepare_playback_urb()
1431 urb->number_of_packets++; in prepare_playback_urb()
/linux/drivers/usb/mon/
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()
A 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()
/linux/sound/usb/caiaq/
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()

Completed in 54 milliseconds

1234