Searched refs:maximum_speed (Results 1 – 10 of 10) sorted by relevance
96 static unsigned int maximum_speed; variable199 if (speed > maximum_speed) in get_ranges()200 maximum_speed = speed; in get_ranges()409 if (speed > maximum_speed) in powernow_acpi_init()410 maximum_speed = speed; in powernow_acpi_init()620 maximum_speed = 0; in powernow_cpu_init()638 minimum_speed/1000, maximum_speed/1000); in powernow_cpu_init()
1477 if (dwc->maximum_speed == USB_SPEED_FULL || in dwc3_core_init()1478 dwc->maximum_speed == USB_SPEED_HIGH) in dwc3_core_init()1491 dwc->maximum_speed == USB_SPEED_SUPER) { in dwc3_core_init()1738 dwc->maximum_speed = usb_get_maximum_speed(dev); in dwc3_get_properties()1910 switch (dwc->maximum_speed) { in dwc3_check_params()1927 dwc->maximum_speed); in dwc3_check_params()1932 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()1936 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()1938 dwc->maximum_speed = USB_SPEED_SUPER; in dwc3_check_params()1941 dwc->maximum_speed = USB_SPEED_HIGH; in dwc3_check_params()[all …]
2555 if (speed == USB_SPEED_UNKNOWN || speed > dwc->maximum_speed) in __dwc3_gadget_set_speed()2556 speed = dwc->maximum_speed; in __dwc3_gadget_set_speed()4770 dwc->gadget->max_speed = dwc->maximum_speed; in dwc3_gadget_init()4788 if (DWC3_IP_IS(DWC32) && dwc->maximum_speed == USB_SPEED_SUPER_PLUS) in dwc3_gadget_init()4791 dwc3_gadget_set_speed(dwc->gadget, dwc->maximum_speed); in dwc3_gadget_init()
1260 u32 maximum_speed; member
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);