Home
last modified time | relevance | path

Searched refs:dwc2_urb (Results 1 – 2 of 2) sorted by relevance

/netbsd/sys/external/bsd/dwc2/dist/
H A Ddwc2_hcd.h607 return dwc2_urb->status; in dwc2_hcd_urb_get_status()
611 struct dwc2_hcd_urb *dwc2_urb) in dwc2_hcd_urb_get_actual_length() argument
613 return dwc2_urb->actual_length; in dwc2_hcd_urb_get_actual_length()
618 return dwc2_urb->error_count; in dwc2_hcd_urb_get_error_count()
622 struct dwc2_hcd_urb *dwc2_urb, int desc_num, u32 offset, in dwc2_hcd_urb_set_iso_desc_params() argument
625 dwc2_urb->iso_descs[desc_num].offset = offset; in dwc2_hcd_urb_set_iso_desc_params()
626 dwc2_urb->iso_descs[desc_num].length = length; in dwc2_hcd_urb_set_iso_desc_params()
630 struct dwc2_hcd_urb *dwc2_urb, int desc_num) in dwc2_hcd_urb_get_iso_desc_status() argument
632 return dwc2_urb->iso_descs[desc_num].status; in dwc2_hcd_urb_get_iso_desc_status()
636 struct dwc2_hcd_urb *dwc2_urb, int desc_num) in dwc2_hcd_urb_get_iso_desc_actual_length() argument
[all …]
/netbsd/sys/external/bsd/dwc2/
H A Ddwc2.c973 dwc2_urb = dxfer->urb; in dwc2_device_start()
974 if (!dwc2_urb) in dwc2_device_start()
978 memset(dwc2_urb, 0, sizeof(*dwc2_urb) + in dwc2_device_start()
979 sizeof(dwc2_urb->iso_descs[0]) * dwc2_urb->packet_count); in dwc2_device_start()
981 dwc2_urb->priv = xfer; in dwc2_device_start()
1004 dwc2_urb->buf = KERNADDR(dwc2_urb->usbdma, 0); in dwc2_device_start()
1005 dwc2_urb->dma = DMAADDR(dwc2_urb->usbdma, 0); in dwc2_device_start()
1011 dwc2_urb->length = len; in dwc2_device_start()
1012 dwc2_urb->flags = flags; in dwc2_device_start()
1045 dwc2_urb->interval = ival; in dwc2_device_start()
[all …]