Home
last modified time | relevance | path

Searched refs:ssp_rate (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/usb/common/
H A Dcommon.c85 static const char *const ssp_rate[] = { variable
119 ret = device_property_match_property_string(dev, p, ssp_rate, ARRAY_SIZE(ssp_rate)); in usb_get_maximum_speed()
149 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
/linux-6.15/drivers/usb/dwc3/
H A Dgadget.c2517 enum usb_ssp_rate ssp_rate = dwc->gadget_ssp_rate; in __dwc3_gadget_set_ssp_rate() local
2520 if (ssp_rate == USB_SSP_GEN_UNKNOWN) in __dwc3_gadget_set_ssp_rate()
2521 ssp_rate = dwc->max_ssp_rate; in __dwc3_gadget_set_ssp_rate()
2527 if (ssp_rate == USB_SSP_GEN_1x2) in __dwc3_gadget_set_ssp_rate()
2532 if (ssp_rate != USB_SSP_GEN_2x1 && in __dwc3_gadget_set_ssp_rate()
4177 dwc->gadget->ssp_rate = USB_SSP_GEN_UNKNOWN; in dwc3_gadget_conndone_interrupt()
4195 dwc->gadget->ssp_rate = USB_SSP_GEN_2x2; in dwc3_gadget_conndone_interrupt()
4197 dwc->gadget->ssp_rate = USB_SSP_GEN_2x1; in dwc3_gadget_conndone_interrupt()
4222 dwc->gadget->ssp_rate = USB_SSP_GEN_1x2; in dwc3_gadget_conndone_interrupt()
4724 dwc->gadget->ssp_rate = USB_SSP_GEN_UNKNOWN; in dwc3_gadget_init()
/linux-6.15/include/linux/usb/
H A Dgadget.h425 enum usb_ssp_rate ssp_rate; member
/linux-6.15/drivers/usb/core/
H A Dhcd.c2881 rhdev->ssp_rate = USB_SSP_GEN_UNKNOWN; in usb_add_hcd()
2896 rhdev->ssp_rate = USB_SSP_GEN_2x2; in usb_add_hcd()
2900 rhdev->ssp_rate = USB_SSP_GEN_2x1; in usb_add_hcd()
H A Dhub.c2998 udev->ssp_rate = get_port_ssp_rate(hub->hdev, ext_portstatus); in hub_port_wait_reset()
3002 udev->ssp_rate = USB_SSP_GEN_UNKNOWN; in hub_port_wait_reset()
3004 if (udev->ssp_rate != USB_SSP_GEN_UNKNOWN) in hub_port_wait_reset()
5057 (udev->ssp_rate == USB_SSP_GEN_2x2) ? in hub_port_init()
5059 (udev->ssp_rate == USB_SSP_GEN_2x1) ? in hub_port_init()
5061 (udev->ssp_rate == USB_SSP_GEN_1x2) ? in hub_port_init()
H A Dsysfs.c168 if (udev->ssp_rate == USB_SSP_GEN_2x2) in speed_show()
/linux-6.15/include/linux/
H A Dusb.h663 enum usb_ssp_rate ssp_rate; member
/linux-6.15/drivers/usb/host/
H A Dxhci.c5247 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x2; in xhci_hcd_init_usb3_data()
5252 hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x1; in xhci_hcd_init_usb3_data()