Searched refs:maximum_speed (Results 1 – 8 of 8) sorted by relevance
1475 if (dwc->maximum_speed == USB_SPEED_FULL || in dwc3_core_init()1476 dwc->maximum_speed == USB_SPEED_HIGH) in dwc3_core_init()1489 dwc->maximum_speed == USB_SPEED_SUPER) { in dwc3_core_init()1736 dwc->maximum_speed = usb_get_maximum_speed(dev); in dwc3_get_properties()1908 switch (dwc->maximum_speed) { in dwc3_check_params()1925 dwc->maximum_speed); in dwc3_check_params()1930 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()1934 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()1936 dwc->maximum_speed = USB_SPEED_SUPER; in dwc3_check_params()1939 dwc->maximum_speed = USB_SPEED_HIGH; in dwc3_check_params()[all …]
2554 if (speed == USB_SPEED_UNKNOWN || speed > dwc->maximum_speed) in __dwc3_gadget_set_speed()2555 speed = dwc->maximum_speed; in __dwc3_gadget_set_speed()4772 dwc->gadget->max_speed = dwc->maximum_speed; in dwc3_gadget_init()4790 if (DWC3_IP_IS(DWC32) && dwc->maximum_speed == USB_SPEED_SUPER_PLUS) in dwc3_gadget_init()4793 dwc3_gadget_set_speed(dwc->gadget, dwc->maximum_speed); in dwc3_gadget_init()
50 What: /sys/class/udc/<udc>/maximum_speed
791 config->maximum_speed = usb_get_maximum_speed(&parent->dev); in dsps_create_musb_pdev()792 switch (config->maximum_speed) { in dsps_create_musb_pdev()801 config->maximum_speed = USB_SPEED_HIGH; in dsps_create_musb_pdev()
1200 if (musb->config->maximum_speed == USB_SPEED_HIGH || in musb_start()1201 musb->config->maximum_speed == USB_SPEED_UNKNOWN) in musb_start()
964 enum usb_device_speed maximum_speed; in tegra_xusb_usb3_port_parse_dt() local979 maximum_speed = usb_get_maximum_speed(&port->dev); in tegra_xusb_usb3_port_parse_dt()980 if (maximum_speed == USB_SPEED_SUPER) in tegra_xusb_usb3_port_parse_dt()982 else if (maximum_speed == USB_SPEED_SUPER_PLUS) in tegra_xusb_usb3_port_parse_dt()
950 enum usb_device_speed maximum_speed; in rk_udphy_parse_dt() local982 maximum_speed = usb_get_maximum_speed(dev); in rk_udphy_parse_dt()983 udphy->hs = maximum_speed <= USB_SPEED_HIGH; in rk_udphy_parse_dt()
1843 static USB_UDC_SPEED_ATTR(maximum_speed, max_speed);