Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/common/
Dcommon.c109 const char *maximum_speed; in usb_get_maximum_speed() local
112 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_speed()
116 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_speed()
120 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in usb_get_maximum_speed()
136 const char *maximum_speed; in usb_get_maximum_ssp_rate() local
139 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
143 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
/Linux-v5.15/drivers/cpufreq/
Dpowernow-k7.c96 static unsigned int maximum_speed; variable
199 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()
/Linux-v5.15/drivers/usb/dwc3/
Dcore.c1298 dwc->maximum_speed = usb_get_maximum_speed(dev); in dwc3_get_properties()
1447 switch (dwc->maximum_speed) { in dwc3_check_params()
1464 dwc->maximum_speed); in dwc3_check_params()
1469 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()
1473 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()
1475 dwc->maximum_speed = USB_SPEED_SUPER; in dwc3_check_params()
1478 dwc->maximum_speed = USB_SPEED_HIGH; in dwc3_check_params()
1481 dwc->maximum_speed = USB_SPEED_SUPER; in dwc3_check_params()
1494 if (dwc->maximum_speed == USB_SPEED_SUPER_PLUS) { in dwc3_check_params()
Dgadget.c2301 if (speed == USB_SPEED_UNKNOWN || speed > dwc->maximum_speed) in __dwc3_gadget_set_speed()
2302 speed = dwc->maximum_speed; in __dwc3_gadget_set_speed()
2898 if (dwc->maximum_speed >= USB_SPEED_SUPER) in dwc3_gadget_init_in_endpoint()
4277 dwc->gadget->max_speed = dwc->maximum_speed; in dwc3_gadget_init()
4295 if (DWC3_IP_IS(DWC32) && dwc->maximum_speed == USB_SPEED_SUPER_PLUS) in dwc3_gadget_init()
4298 dwc3_gadget_set_speed(dwc->gadget, dwc->maximum_speed); in dwc3_gadget_init()
Dcore.h1159 u32 maximum_speed; member
/Linux-v5.15/include/linux/usb/
Dmusb.h77 u32 maximum_speed; member
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-class-udc50 What: /sys/class/udc/<udc>/maximum_speed
/Linux-v5.15/drivers/usb/musb/
Dmusb_dsps.c790 config->maximum_speed = usb_get_maximum_speed(&parent->dev); in dsps_create_musb_pdev()
791 switch (config->maximum_speed) { in dsps_create_musb_pdev()
800 config->maximum_speed = USB_SPEED_HIGH; in dsps_create_musb_pdev()
Dmusb_core.c1204 if (musb->config->maximum_speed == USB_SPEED_HIGH || in musb_start()
1205 musb->config->maximum_speed == USB_SPEED_UNKNOWN) in musb_start()
/Linux-v5.15/drivers/phy/tegra/
Dxusb.c932 enum usb_device_speed maximum_speed; in tegra_xusb_usb3_port_parse_dt() local
947 maximum_speed = usb_get_maximum_speed(&port->dev); in tegra_xusb_usb3_port_parse_dt()
948 if (maximum_speed == USB_SPEED_SUPER) in tegra_xusb_usb3_port_parse_dt()
950 else if (maximum_speed == USB_SPEED_SUPER_PLUS) in tegra_xusb_usb3_port_parse_dt()
/Linux-v5.15/drivers/usb/gadget/udc/
Dcore.c1688 static USB_UDC_SPEED_ATTR(maximum_speed, max_speed);