Lines Matching refs:parm
2341 ohci_xfer_setup(struct usb_setup_params *parm) in ohci_xfer_setup() argument
2352 xfer = parm->curr_xfer; in ohci_xfer_setup()
2354 parm->hc_max_packet_size = 0x500; in ohci_xfer_setup()
2355 parm->hc_max_packet_count = 1; in ohci_xfer_setup()
2356 parm->hc_max_frame_size = OHCI_PAGE_SIZE; in ohci_xfer_setup()
2361 if (parm->methods == &ohci_device_ctrl_methods) { in ohci_xfer_setup()
2364 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2371 } else if (parm->methods == &ohci_device_bulk_methods) { in ohci_xfer_setup()
2374 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2381 } else if (parm->methods == &ohci_device_intr_methods) { in ohci_xfer_setup()
2384 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2391 } else if (parm->methods == &ohci_device_isoc_methods) { in ohci_xfer_setup()
2394 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2403 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2412 if (parm->err) { in ohci_xfer_setup()
2418 parm, &pc, sizeof(ohci_td_t), in ohci_xfer_setup()
2420 parm->err = USB_ERR_NOMEM; in ohci_xfer_setup()
2423 if (parm->buf) { in ohci_xfer_setup()
2442 parm, &pc, sizeof(ohci_itd_t), in ohci_xfer_setup()
2444 parm->err = USB_ERR_NOMEM; in ohci_xfer_setup()
2447 if (parm->buf) { in ohci_xfer_setup()
2470 parm, &pc, sizeof(ohci_ed_t), in ohci_xfer_setup()
2472 parm->err = USB_ERR_NOMEM; in ohci_xfer_setup()
2475 if (parm->buf) { in ohci_xfer_setup()