Home
last modified time | relevance | path

Searched refs:dev_speed (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/dwc2/
Dhcd_queue.c68 int dev_speed, hub_addr, hub_port; in dwc2_qh_init() local
83 dev_speed = dwc2_host_get_speed(hsotg, urb->priv); in dwc2_qh_init()
87 if ((dev_speed == USB_SPEED_LOW || dev_speed == USB_SPEED_FULL) && in dwc2_qh_init()
106 USB_SPEED_HIGH : dev_speed, qh->ep_is_in, in dwc2_qh_init()
121 (dev_speed == USB_SPEED_LOW || in dwc2_qh_init()
122 dev_speed == USB_SPEED_FULL)) { in dwc2_qh_init()
138 qh->dev_speed = dev_speed; in dwc2_qh_init()
140 switch (dev_speed) { in dwc2_qh_init()
294 if (qh->dev_speed == USB_SPEED_HIGH || qh->do_split) { in dwc2_check_periodic_bandwidth()
415 if (qh->dev_speed == USB_SPEED_HIGH) { in dwc2_find_uframe()
Dhcd_ddma.c77 qh->dev_speed == USB_SPEED_HIGH) ? in dwc2_max_desc_num()
83 return qh->dev_speed == USB_SPEED_HIGH ? in dwc2_frame_incr_val()
386 if (qh->dev_speed == USB_SPEED_HIGH) in dwc2_frame_to_desc_idx()
420 if (qh->dev_speed == USB_SPEED_HIGH) { in dwc2_calc_starting_frame()
555 max_xfer_size = qh->dev_speed == USB_SPEED_HIGH ? in dwc2_init_isoc_dma_desc()
565 idx = dwc2_desclist_idx_inc(idx, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc()
576 idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc()
597 qh->dev_speed); in dwc2_init_isoc_dma_desc()
604 idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc()
Dhcd.h267 u8 dev_speed; member
Dhcd.c358 int dev_speed; in dwc2_hcd_urb_enqueue() local
366 dev_speed = dwc2_host_get_speed(hsotg, urb->priv); in dwc2_hcd_urb_enqueue()
369 if ((dev_speed == USB_SPEED_LOW) && in dwc2_hcd_urb_enqueue()
791 chan->speed = qh->dev_speed; in dwc2_assign_and_init_hc()
Dhcd_intr.c95 if (chan->qh->dev_speed == USB_SPEED_HIGH) in dwc2_hc_handle_tt_clear()
/drivers/usb/gadget/udc/
Dpch_udc.c2608 u32 dev_stat, dev_speed; in pch_udc_svc_enum_interrupt() local
2612 dev_speed = (dev_stat & UDC_DEVSTS_ENUM_SPEED_MASK) >> in pch_udc_svc_enum_interrupt()
2614 switch (dev_speed) { in pch_udc_svc_enum_interrupt()