Home
last modified time | relevance | path

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

/linux/drivers/usb/dwc2/
H A Dhcd_ddma.c48 qh->dev_speed == USB_SPEED_HIGH) ? in dwc2_max_desc_num()
54 return qh->dev_speed == USB_SPEED_HIGH ? in dwc2_frame_incr_val()
64 qh->dev_speed == USB_SPEED_HIGH) in dwc2_desc_list_alloc()
98 qh->dev_speed == USB_SPEED_HIGH) in dwc2_desc_list_free()
387 if (qh->dev_speed == USB_SPEED_HIGH) in dwc2_frame_to_desc_idx()
424 if (qh->dev_speed == USB_SPEED_HIGH) { in dwc2_calc_starting_frame()
563 next_idx = dwc2_desclist_idx_inc(qh->td_last, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc()
577 qh->dev_speed); in dwc2_init_isoc_dma_desc()
589 max_xfer_size = qh->dev_speed == USB_SPEED_HIGH ? in dwc2_init_isoc_dma_desc()
603 idx = dwc2_desclist_idx_inc(idx, inc, qh->dev_speed); in dwc2_init_isoc_dma_desc()
[all …]
H A Dhcd_queue.c88 if (qh->dev_speed == USB_SPEED_HIGH || qh->do_split) { in dwc2_check_periodic_bandwidth()
971 if (qh->dev_speed == USB_SPEED_HIGH) in dwc2_uframe_schedule()
1053 if (qh->dev_speed == USB_SPEED_HIGH || qh->do_split) { in dwc2_pick_first_frame()
1445 int dev_speed = dwc2_host_get_speed(hsotg, urb->priv); in dwc2_qh_init() local
1453 dev_speed != USB_SPEED_HIGH); in dwc2_qh_init()
1473 qh->dev_speed = dev_speed; in dwc2_qh_init()
1477 int host_speed = do_split ? USB_SPEED_HIGH : dev_speed; in dwc2_qh_init()
1487 device_ns = usb_calc_bus_time(dev_speed, ep_is_in, in dwc2_qh_init()
1508 } else if (dev_speed == USB_SPEED_HIGH) { in dwc2_qh_init()
1517 switch (dev_speed) { in dwc2_qh_init()
[all …]
H A Dhcd.h317 u8 dev_speed; member
H A Dhcd.c1850 int dev_speed; in dwc2_hcd_urb_enqueue() local
1858 dev_speed = dwc2_host_get_speed(hsotg, urb->priv); in dwc2_hcd_urb_enqueue()
1861 if ((dev_speed == USB_SPEED_LOW) && in dwc2_hcd_urb_enqueue()
2580 chan->speed = qh->dev_speed; in dwc2_assign_and_init_hc()
H A Dhcd_intr.c77 if (chan->qh->dev_speed == USB_SPEED_HIGH) in dwc2_hc_handle_tt_clear()
/linux/drivers/usb/host/
H A Dxhci-debugfs.c664 static int xhci_port_bw_show(struct xhci_hcd *xhci, u8 dev_speed, in xhci_port_bw_show() argument
684 ret = xhci_get_port_bandwidth(xhci, ctx, dev_speed); in xhci_port_bw_show()
H A Dxhci.h1934 u8 dev_speed, bool command_must_succeed);
1936 u8 dev_speed);
H A Dxhci-ring.c4440 u8 dev_speed, bool command_must_succeed) in xhci_queue_get_port_bw() argument
4444 TRB_TYPE(TRB_GET_BW) | DEV_SPEED_FOR_TRB(dev_speed), in xhci_queue_get_port_bw()
H A Dxhci.c3197 u8 dev_speed) in xhci_get_port_bandwidth() argument
3215 ret = xhci_queue_get_port_bw(xhci, cmd, ctx->dma, dev_speed, 0); in xhci_get_port_bandwidth()
/linux/include/linux/
H A Dethtool.h1297 u32 *dev_speed, u8 *dev_duplex);
/linux/drivers/usb/gadget/udc/
H A Dpch_udc.c2519 u32 dev_stat, dev_speed; in pch_udc_svc_enum_interrupt() local
2523 dev_speed = (dev_stat & UDC_DEVSTS_ENUM_SPEED_MASK) >> in pch_udc_svc_enum_interrupt()
2525 switch (dev_speed) { in pch_udc_svc_enum_interrupt()