Lines Matching +full:endpoint +full:- +full:config
144 is a pointer to an array of USB config structures.
150 "xfer->priv_sc".
154 This pointer is used to initialize "xfer->priv_mtx".
156 A non-zero return value indicates failure.
185 This function is always non-blocking and must be called with the
186 so-called private USB mutex locked.
198 This function is always non-blocking and must be called with the
199 so-called private USB mutex locked.
257 .Bd -literal -offset indent
312 .Bd -literal -offset indent
325 Example3: SETUP + DATA + STATUS - split
338 Example4: SETUP + STATUS - split
352 .Sh USB TRANSFER CONFIG
355 module defines a USB config structure where it is possible to specify
356 the characteristics of the wanted endpoint.
357 .Bd -literal -offset indent
385 .Fa endpoint
386 field selects the USB endpoint number.
388 A value of 0xFF, "-1" or "UE_ADDR_ANY" will select the first matching
389 endpoint.
395 field selects the USB endpoint direction.
397 A value of "UE_DIR_ANY" will select the first matching endpoint.
418 Depending on the endpoint type, this field has different meaning:
419 .Bl -tag -width "UE_ISOCHRONOUS"
421 "0" use the default interrupt interval based on endpoint descriptor.
428 "0" no transfer pre-delay.
434 pre-delay has elapsed!
439 field, if non-zero, will set the transfer timeout in milliseconds.
447 .Bl -tag -width "UE_INTERRUPT"
449 xfer->nframes = 1;
451 xfer->nframes = 1;
453 xfer->nframes = 2;
475 .Bl -tag -width "force_short_xfer"
478 A short packet has a length of less than "xfer->max_packet_size", which
482 This flag allows the received transfer length, "xfer->actlen" to be
483 less than "xfer->sumlen" upon completion of a transfer.
493 queue except in the case of "xfer->error" equal to
497 .Bl -tag -width "X"
504 queued for execution on an USB endpoint, and the first executing
509 from being executed at the same time the clear-stall command is
510 executed on the USB control endpoint.
517 which use an endpoint that can be shared between userland and kernel.
525 "xfer->max_data_length".
528 for the 8-bytes of SETUP header.
530 These 8-bytes are not counted by the "xfer->max_data_length"
564 .Bl -tag -width "Device Side Mode"
566 Setting this flag will cause STALL pids to be sent to the endpoint
569 The transfer is started at the moment the host issues a clear-stall
570 command on the STALL'ed endpoint.
574 Setting this flag will cause a clear-stall control request to be
575 executed on the endpoint before the USB transfer is started.
585 During transfer setup the frames field is pre scaled with the corresponding value for the endpoint …