Home
last modified time | relevance | path

Searched full:isoc (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c8 * BULK and ISOC USB data transfers in a generic way.
28 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
173 stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_urb_alloc_isoc_urbs()
189 urb->interval = stream->props.u.isoc.interval; in usb_urb_alloc_isoc_urbs()
190 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
191 urb->transfer_buffer_length = stream->props.u.isoc.framesize * in usb_urb_alloc_isoc_urbs()
192 stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
195 for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { in usb_urb_alloc_isoc_urbs()
198 stream->props.u.isoc.framesize; in usb_urb_alloc_isoc_urbs()
199 frame_offset += stream->props.u.isoc.framesize; in usb_urb_alloc_isoc_urbs()
[all …]
H A Dmxl111sf.h81 /* use usb alt setting 1 for EP4 ISOC transfer (dvb-t),
85 EP5 ISOC transfer (atsc-mh),
86 EP6 ISOC transfer (atsc/qam),
/linux/drivers/media/usb/dvb-usb/
H A Dusb-urb.c8 * BULK and ISOC USB data transfers in a generic way.
23 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
173 stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) in usb_isoc_urb_init()
181 stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_KERNEL); in usb_isoc_urb_init()
196 urb->interval = stream->props.u.isoc.interval; in usb_isoc_urb_init()
197 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_isoc_urb_init()
202 for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { in usb_isoc_urb_init()
204 urb->iso_frame_desc[j].length = stream->props.u.isoc.framesize; in usb_isoc_urb_init()
205 frame_offset += stream->props.u.isoc.framesize; in usb_isoc_urb_init()
/linux/drivers/media/usb/em28xx/
H A Dem28xx.h178 /* number of buffers for isoc transfers */
186 * isoc transfers: number of packets for each buffer
222 * @max_pkt_size: max packet size of isoc transaction
225 * @urb: urb for isoc/bulk transfers
226 * @buf: transfer buffers for isoc/bulk transfer
239 * @analog_bufs: isoc/bulk transfer buffers for analog mode
240 * @digital_bufs: isoc/bulk transfer buffers for digital mode
730 // Isoc control struct
740 u8 analog_ep_isoc; // address of isoc endpoint for analog
742 u8 dvb_ep_isoc_ts2; // address of isoc endpoint for DVB TS2
[all …]
/linux/drivers/media/usb/au0828/
H A Dau0828.h119 /* max packet size of isoc transaction */
125 /* urb for isoc transfers */
128 /* transfer buffers for isoc transfer */
149 /* isoc urb callback */
245 /* Isoc control struct */
253 int max_pkt_size; /* max packet size of isoc transaction */
256 struct urb *urb[AU0828_MAX_ISO_BUFS]; /* urb for isoc transfers */
257 char *transfer_buffer[AU0828_MAX_ISO_BUFS];/* transfer buffers for isoc
/linux/drivers/media/usb/stk1160/
H A Dstk1160.h26 /* Number of buffers for isoc transfers */
96 /* max packet size of isoc transaction */
124 /* isoc control struct */
130 /* max packet size of isoc transaction */
H A Dstk1160-v4l.c190 stk1160_dbg("minimum isoc packet size: %u (alt=%d)\n", in stk1160_set_alternate()
217 * and only *then* initialize isoc urbs. in stk1160_start_streaming()
223 * We (re)allocate isoc urbs if: in stk1160_start_streaming()
224 * there is no allocated isoc urbs, OR in stk1160_start_streaming()
/linux/drivers/media/usb/gspca/
H A Dbenq.c132 u8 *data, /* isoc packet */ in sd_pkt_scan()
146 gspca_dbg(gspca_dev, D_PACK, "sd isoc irq\n"); in sd_isoc_irq()
174 gspca_err(gspca_dev, "ISOC bad lengths %d / %d\n", in sd_isoc_irq()
184 pr_err("ISOC data error: [%d] status=%d\n", in sd_isoc_irq()
H A Dgspca.h62 u8 bulk; /* image transfer by 0:isoc / 1:bulk */
63 u8 npkt; /* number of packets in an ISOC message
203 u16 pkt_size; /* ISOC packet size */
H A Dspca1528.c195 gspca_dev->cam.npkt = 128; /* number of packets per ISOC message */ in sd_config()
303 u8 *data, /* isoc packet */ in sd_pkt_scan()
/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c18 /* table 5-5. High-speed Isoc Transaction Limits in usb_20 spec */
29 * for fs isoc in : 1 ss + 1 idle + 6 cs (roundup(1023/188))
32 /* offset from SS for fs/ls isoc/intr ep (ss + idle) */
383 * check TT for INT_OUT_EP, ISOC/INT_IN_EP type in setup_sch_info()
513 else /* ep_type : ISOC IN / INTR IN */ in check_fs_budget_microframes()
627 * when isoc-out transfers 188 bytes in a uframe, and send isoc/intr's
630 * when isoc-out transfer less than 188 bytes in a uframe, shall send
631 * isoc-in's ss after isoc-out's ss (but hw can't ensure the sequence,
H A Dxhci-ring.c781 * of this TD.) This is used to remove partially enqueued isoc TDs from a ring.
916 /* set isoc urb status to 0 just as EHCI, UHCI, and OHCI */ in xhci_td_cleanup()
2495 xhci_dbg(xhci, "Error mid isoc TD, wait for final completion event\n"); in process_isoc_td()
2764 * When encounter missed service error, one or more isoc tds in handle_tx_event()
2777 "No Ping response error for slot %u ep %u, Skip one Isoc TD\n", in handle_tx_event()
2802 * xhci 4.10.2 states isoc endpoints should continue in handle_tx_event()
2805 * isoc TRB even if the IOC flag is set. in handle_tx_event()
3124 * update ERDP, and force isoc trbs to interrupt more often in xhci_handle_events()
4040 /* get current microframe index and isoc scheduling threshold */ in xhci_get_isoc_start_frame()
4049 /* Is this the first URB starting the whole isoc data flow? */ in xhci_get_isoc_start_frame()
[all …]
H A Dxen-hcd.c686 req->u.isoc.interval = urb->interval; in xenhcd_map_urb_for_request()
687 req->u.isoc.start_frame = urb->start_frame; in xenhcd_map_urb_for_request()
688 req->u.isoc.number_of_packets = urb->number_of_packets; in xenhcd_map_urb_for_request()
689 req->u.isoc.nr_frame_desc_segs = nr_isodesc_pages; in xenhcd_map_urb_for_request()
731 nr_segs += shadow->req.u.isoc.nr_frame_desc_segs; in xenhcd_gnttab_done()
739 shadow->req.u.isoc.nr_frame_desc_segs = 0; in xenhcd_gnttab_done()
H A Dxhci-mem.c1229 * Full speed isoc endpoints specify interval in frames, in xhci_parse_exponent_interval()
1299 fallthrough; /* SS and HS isoc/int have same decoding */ in xhci_get_endpoint_interval()
1337 * isoc eps, and High speed isoc eps that support bandwidth doubling. Standard
1351 /* eUSB2 double isoc bw devices are the only USB2 devices using mult */ in xhci_get_endpoint_mult()
1356 /* SuperSpeed isoc transfers on hosts without LEC uses mult field */ in xhci_get_endpoint_mult()
1437 /* Ensure host supports double isoc bandwidth for eUSB2 devices */ in xhci_endpoint_init()
1439 dev_dbg(&udev->dev, "Double Isoc Bandwidth not supported by xhci\n"); in xhci_endpoint_init()
1446 * have no clue on scatter gather list entry size. For Isoc and Int, in xhci_endpoint_init()
1473 /* Allow 3 retries for everything but isoc, set CErr = 3 */ in xhci_endpoint_init()
/linux/drivers/media/usb/pwc/
H A Dpwc.h232 int vendpoint; /* video isoc endpoint */
240 int visoc_errors; /* number of contiguous ISOC errors */
242 char vsync; /* used by isoc handler */
253 * isoc urb complete handler, and by stream start / stop since
/linux/drivers/usb/usbip/
H A Dvudc_rx.c110 /* we don't know the type, there may be isoc data! */ in v_recv_cmd_submit()
135 "CMD_SUBMIT: isoc invalid num packets %d\n", in v_recv_cmd_submit()
/linux/drivers/usb/dwc2/
H A Dhcd_ddma.c366 * Seen on Isoc URB dequeue. Channel halted but no subsequent in dwc2_hcd_qh_free_ddma()
466 * With current ISOC processing algorithm the channel is being released in dwc2_recalc_initial_desc_idx()
472 * is, do not disable and release the channel when ISOC session in dwc2_recalc_initial_desc_idx()
569 * So that next isoc descriptor will be scheduled on frame number + 1 in dwc2_init_isoc_dma_desc()
849 /* Enable channel only once for ISOC */ in dwc2_hcd_start_xfer_ddma()
912 * urb->status is not used for isoc transfers here. The in dwc2_cmpl_host_isoc_dma_desc()
995 * qtd was added. In fact, during isoc desc init, dwc2 may skip in dwc2_complete_isoc_xfer_ddma()
/linux/sound/firewire/
H A Damdtp-stream.c89 * @process_ctx_payloads: callback handler to process payloads of isoc context
213 // In IEC 61883-6, one isoc packet can transfer events up to the value in amdtp_stream_add_pcm_hw_constraints()
214 // of syt interval. This comes from the interval of isoc cycle. As 1394 in amdtp_stream_add_pcm_hw_constraints()
215 // OHCI controller can generate hardware IRQ per isoc packet, the in amdtp_stream_add_pcm_hw_constraints()
218 // and non-blocking modes. In blocking mode, the sequence of isoc packet in amdtp_stream_add_pcm_hw_constraints()
945 // Fireface skips transmission just for an isoc cycle corresponding in generate_tx_packet_descs()
963 // OXFW970 skips transmission for several isoc cycles during in generate_tx_packet_descs()
1981 * amdtp_domain_add_stream - register isoc context into the domain.
2054 * amdtp_domain_start - start sending packets for isoc context in the domain.
2128 * amdtp_domain_stop - stop sending packets for isoc context in the same domain.
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-debug.h145 return "ISOC"; in cdnsp_ring_type_string()
521 return "Isoc OUT"; in cdnsp_ep_type_string()
529 return "Isoc IN"; in cdnsp_ep_type_string()
H A Dcdnsp-mem.c790 * Full speed isoc endpoints specify interval in frames, in cdnsp_parse_exponent_interval()
858 * The "Mult" field in the endpoint context is only set for SuperSpeed isoc eps.
923 /* SuperSpeedPlus Isoc ep sending over 48k per EIST. */ in cdnsp_get_max_esit_payload()
927 /* SuperSpeed or SuperSpeedPlus Isoc ep with less than 48k per esit */ in cdnsp_get_max_esit_payload()
965 * have no clue on scatter gather list entry size. For Isoc and Int, in cdnsp_endpoint_init()
975 /* Allow 3 retries for everything but isoc, set CErr = 3. */ in cdnsp_endpoint_init()
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_sensor.h43 /* Isoc packet size (per mode) */
H A Dstv06xx.c326 /* Start isoc bandwidth "negotiation" at max isoc bandwidth */ in stv06xx_isoc_init()
393 u8 *data, /* isoc packet */ in stv06xx_pkt_scan()
/linux/drivers/usb/gadget/function/
H A Df_sourcesink.c351 /* sanity check the isoc module parameters */ in sourcesink_bind()
361 /* fill in the FS isoc descriptors from the module parameters */ in sourcesink_bind()
380 * We still want to work even if the UDC doesn't have isoc in sourcesink_bind()
397 * Fill in the HS isoc descriptors from the module parameters. in sourcesink_bind()
419 * Fill in the SS isoc descriptors from the module parameters. in sourcesink_bind()
/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.h69 /* USB bandwidth allocated for isoc/int transfer */
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.h463 /* Used for Bulk, Interrupt, ISOC, and control data stage. */
538 * @interval: interval between packets used for ISOC and Interrupt endpoint.
542 * quickly enough and it will miss some isoc tds on the ring and

1234