Lines Matching refs:parm
2768 uhci_xfer_setup(struct usb_setup_params *parm) in uhci_xfer_setup() argument
2780 xfer = parm->curr_xfer; in uhci_xfer_setup()
2782 parm->hc_max_packet_size = 0x500; in uhci_xfer_setup()
2783 parm->hc_max_packet_count = 1; in uhci_xfer_setup()
2784 parm->hc_max_frame_size = 0x500; in uhci_xfer_setup()
2789 if (parm->methods == &uhci_device_ctrl_methods) { in uhci_xfer_setup()
2793 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2801 } else if (parm->methods == &uhci_device_bulk_methods) { in uhci_xfer_setup()
2805 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2811 } else if (parm->methods == &uhci_device_intr_methods) { in uhci_xfer_setup()
2815 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2821 } else if (parm->methods == &uhci_device_isoc_methods) { in uhci_xfer_setup()
2825 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2831 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2837 if (parm->err) { in uhci_xfer_setup()
2845 nfixup = (parm->bufsize / USB_PAGE_SIZE) + 1; in uhci_xfer_setup()
2876 parm, &pc, xfer->max_frame_size, in uhci_xfer_setup()
2878 parm->err = USB_ERR_NOMEM; in uhci_xfer_setup()
2885 if (parm->err) { in uhci_xfer_setup()
2891 parm, &pc, sizeof(uhci_td_t), in uhci_xfer_setup()
2893 parm->err = USB_ERR_NOMEM; in uhci_xfer_setup()
2896 if (parm->buf) { in uhci_xfer_setup()
2905 if ((parm->methods == &uhci_device_bulk_methods) || in uhci_xfer_setup()
2906 (parm->methods == &uhci_device_ctrl_methods) || in uhci_xfer_setup()
2907 (parm->methods == &uhci_device_intr_methods)) { in uhci_xfer_setup()
2929 parm, &pc, sizeof(uhci_qh_t), in uhci_xfer_setup()
2931 parm->err = USB_ERR_NOMEM; in uhci_xfer_setup()
2934 if (parm->buf) { in uhci_xfer_setup()