Lines Matching refs:descriptor
41 static struct descriptor { struct
47 } __attribute__ ((packed)) descriptor = { variable
692 srcptr = &descriptor.device; in ehci_submit_root()
693 srclen = descriptor.device.bLength; in ehci_submit_root()
697 srcptr = &descriptor.config; in ehci_submit_root()
698 srclen = descriptor.config.bLength + in ehci_submit_root()
699 descriptor.interface.bLength + in ehci_submit_root()
700 descriptor.endpoint.bLength; in ehci_submit_root()
1045 descriptor.hub.bNbrPorts = HCS_N_PORTS(reg); in ehci_common_init()
1046 debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in ehci_common_init()
1049 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init()
1050 | 0x80, &descriptor.hub.wHubCharacteristics); in ehci_common_init()
1053 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init()
1054 | 0x01, &descriptor.hub.wHubCharacteristics); in ehci_common_init()
1056 memcpy(&ctrl->hub, &descriptor, sizeof(struct usb_hub_descriptor)); in ehci_common_init()