Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcihub.c153 usb_hub_descr_t *root_hub_descr = &uhcip->uhci_root_hub.rh_descr; in uhci_init_root_hub() local
163 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE; in uhci_init_root_hub()
164 root_hub_descr->bNbrPorts = MAX_RH_PORTS; in uhci_init_root_hub()
166 length = root_hub_descr->bNbrPorts / 8; in uhci_init_root_hub()
168 root_hub_descr->bDescLength = 7 + (2 * (length + 1)); in uhci_init_root_hub()
170 root_hub_descr->bDescLength = ROOT_HUB_DESCRIPTOR_LENGTH; in uhci_init_root_hub()
174 root_hub_descr->bPwrOn2PwrGood = 10; /* arbitrary number */ in uhci_init_root_hub()
175 root_hub_descr->wHubCharacteristics = in uhci_init_root_hub()
179 root_hub_descr->DeviceRemovable = 0x0; in uhci_init_root_hub()
182 root_hub_descr->PortPwrCtrlMask = 0xff; in uhci_init_root_hub()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_hub.c116 usb_hub_descr_t *root_hub_descr = in ehci_init_root_hub() local
131 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE; in ehci_init_root_hub()
143 root_hub_descr->bNbrPorts = capability & EHCI_HCS_NUM_PORTS; in ehci_init_root_hub()
145 length = root_hub_descr->bNbrPorts / 8; in ehci_init_root_hub()
148 root_hub_descr->bDescLength = 7 + (2 * (length + 1)); in ehci_init_root_hub()
150 root_hub_descr->bDescLength = ROOT_HUB_DESCRIPTOR_LENGTH; in ehci_init_root_hub()
169 root_hub_descr-> wHubCharacteristics = in ehci_init_root_hub()
173 root_hub_descr->wHubCharacteristics |= in ehci_init_root_hub()
180 root_hub_descr-> in ehci_init_root_hub()
184 root_hub_descr->wHubCharacteristics |= in ehci_init_root_hub()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_hub.c107 usb_hub_descr_t *root_hub_descr = in ohci_init_root_hub() local
132 root_hub_descr->bDescriptorType = ROOT_HUB_DESCRIPTOR_TYPE; in ohci_init_root_hub()
143 root_hub_descr->bNbrPorts = des_A & HCR_RHA_NDP; in ohci_init_root_hub()
145 length = root_hub_descr->bNbrPorts / 8; in ohci_init_root_hub()
148 root_hub_descr->bDescLength = 7 + (2 * (length + 1)); in ohci_init_root_hub()
150 root_hub_descr->bDescLength = ROOT_HUB_DESCRIPTOR_LENGTH; in ohci_init_root_hub()
161 root_hub_descr->wHubCharacteristics = in ohci_init_root_hub()
165 root_hub_descr-> in ohci_init_root_hub()
173 root_hub_descr-> in ohci_init_root_hub()
185 root_hub_descr-> in ohci_init_root_hub()
[all …]