Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_hub.c1194 struct usb_hub_descriptor hubdesc20; in uhub_query_info() local
1211 err = usbd_req_get_hub_descriptor(udev, NULL, &hubdesc20, 1); in uhub_query_info()
1217 nports = hubdesc20.bNbrPorts; in uhub_query_info()
1222 tt = (UGETW(hubdesc20.wHubCharacteristics) >> 5) & 3; in uhub_query_info()
1263 struct usb_hub_descriptor hubdesc20; in uhub_attach() local
1332 err = usbd_req_get_hub_descriptor(udev, NULL, &hubdesc20, 1); in uhub_attach()
1339 nports = hubdesc20.bNbrPorts; in uhub_attach()
1342 pwrdly = ((hubdesc20.bPwrOn2PwrGood * UHD_PWRON_FACTOR) + in uhub_attach()
1354 err = usbd_req_get_hub_descriptor(udev, NULL, &hubdesc20, nports); in uhub_attach()
1361 if (hubdesc20.bNbrPorts != nports) { in uhub_attach()
[all …]