Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/dwc3/
H A Ddwc3-rtk.c177 const char *maximum_speed; in __get_dwc3_maximum_speed() local
185 ret = of_property_read_string(dwc3_np, "maximum-speed", &maximum_speed); in __get_dwc3_maximum_speed()
189 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in __get_dwc3_maximum_speed()
199 enum usb_device_speed maximum_speed; in dwc3_rtk_init() local
226 maximum_speed = __get_dwc3_maximum_speed(dev->of_node); in dwc3_rtk_init()
227 if (maximum_speed != USB_SPEED_UNKNOWN && maximum_speed <= USB_SPEED_HIGH) { in dwc3_rtk_init()
H A Dcore.c1469 if (dwc->maximum_speed == USB_SPEED_FULL || in dwc3_core_init()
1470 dwc->maximum_speed == USB_SPEED_HIGH) in dwc3_core_init()
1487 dwc->maximum_speed == USB_SPEED_SUPER) { in dwc3_core_init()
1722 dwc->maximum_speed = usb_get_maximum_speed(dev); in dwc3_get_properties()
1886 switch (dwc->maximum_speed) { in dwc3_check_params()
1903 dwc->maximum_speed); in dwc3_check_params()
1908 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()
1912 dwc->maximum_speed = USB_SPEED_SUPER_PLUS; in dwc3_check_params()
1914 dwc->maximum_speed = USB_SPEED_SUPER; in dwc3_check_params()
1917 dwc->maximum_speed = USB_SPEED_HIGH; in dwc3_check_params()
[all …]
H A Dgadget.c2545 if (speed == USB_SPEED_UNKNOWN || speed > dwc->maximum_speed) in __dwc3_gadget_set_speed()
2546 speed = dwc->maximum_speed; in __dwc3_gadget_set_speed()
4751 dwc->gadget->max_speed = dwc->maximum_speed; in dwc3_gadget_init()
4769 if (DWC3_IP_IS(DWC32) && dwc->maximum_speed == USB_SPEED_SUPER_PLUS) in dwc3_gadget_init()
4772 dwc3_gadget_set_speed(dwc->gadget, dwc->maximum_speed); in dwc3_gadget_init()
H A Dcore.h1243 u32 maximum_speed; member
/linux-6.15/drivers/cpufreq/
H A 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-6.15/drivers/usb/common/
H A Dcommon.c142 const char *maximum_speed; in usb_get_maximum_ssp_rate() local
145 ret = device_property_read_string(dev, "maximum-speed", &maximum_speed); in usb_get_maximum_ssp_rate()
149 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
/linux-6.15/include/linux/usb/
H A Dmusb.h77 u32 maximum_speed; member
/linux-6.15/Documentation/ABI/stable/
H A Dsysfs-class-udc50 What: /sys/class/udc/<udc>/maximum_speed
/linux-6.15/drivers/usb/musb/
H A Dmusb_dsps.c792 config->maximum_speed = usb_get_maximum_speed(&parent->dev); in dsps_create_musb_pdev()
793 switch (config->maximum_speed) { in dsps_create_musb_pdev()
802 config->maximum_speed = USB_SPEED_HIGH; in dsps_create_musb_pdev()
H A Dmusb_core.c1200 if (musb->config->maximum_speed == USB_SPEED_HIGH || in musb_start()
1201 musb->config->maximum_speed == USB_SPEED_UNKNOWN) in musb_start()
/linux-6.15/drivers/phy/tegra/
H A Dxusb.c964 enum usb_device_speed maximum_speed; in tegra_xusb_usb3_port_parse_dt() local
979 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()
/linux-6.15/drivers/phy/rockchip/
H A Dphy-rockchip-usbdp.c950 enum usb_device_speed maximum_speed; in rk_udphy_parse_dt() local
982 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()
/linux-6.15/drivers/usb/gadget/udc/
H A Dcore.c1824 static USB_UDC_SPEED_ATTR(maximum_speed, max_speed);