Lines Matching defs:setup
315 * usbd_transfer_setup_sub - transfer setup subroutine
319 * transfer. This function will setup correct packet sizes, buffer
331 const struct usb_config *setup = parm->curr_setup;
357 xfer->flags = setup->flags;
358 xfer->nframes = setup->frames;
359 xfer->timeout = setup->timeout;
360 xfer->callback = setup->callback;
361 xfer->interval = setup->interval;
368 parm->bufsize = setup->bufsize;
591 parm->bufsize = 0; /* automatic setup length */
604 * check if we should setup a default
616 * check if we are about to setup a proxy
692 /* setup "frbuffers" */
700 * check if we need to setup
843 * usbd_transfer_setup - setup an array of USB transfers
862 const struct usb_config *setup;
879 DPRINTFN(5, "setup array has zero length!\n");
893 for (setup = setup_start, n = 0;
894 setup != setup_end; setup++, n++) {
895 if (setup->bufsize == (usb_frlength_t)-1) {
899 if (setup->callback == NULL) {
926 /* setup all transfers */
995 for (setup = setup_start, n = 0;
996 setup != setup_end; setup++, n++) {
998 if (setup->callback == NULL) {
1003 ifaces[setup->if_index], setup);
1016 ((setup->stream_id != 0) &&
1017 ((setup->stream_id >= USB_MAX_EP_STREAMS) ||
1019 if (setup->flags.no_pipe_ok)
1021 if ((setup->usb_mode != USB_MODE_DUAL) &&
1022 (setup->usb_mode != udev->flags.usb_mode))
1031 /* store current setup pointer */
1032 parm->curr_setup = setup;
1063 xfer->stream_id = setup->stream_id;
1071 * setup routine:
1107 * Transfer is successfully setup and
1358 USB_ASSERT(info->setup_refcount != 0, ("Invalid setup "
1379 * having to setup the USB transfer at two different places in
1392 /* setup remainder */
1475 /* setup control transfer */
1498 * We need to receive the setup
1512 /* setup "endpoint" and "control_rem" */
2738 * This function is used to setup a timeout on the given USB
3026 * This function is used to setup the default USB control endpoint
3087 * Try to setup a new USB transfer for the
3095 DPRINTFN(0, "could not setup default "
3193 /* setup a clear-stall packet */