Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_winusb.c824 uint8_t config_desc_length, uint8_t ep_interval) in alloc_root_hub_config_desc() argument
839 ptr = malloc(USB_DESCRIPTOR_REQUEST_SIZE + config_desc_length); in alloc_root_hub_config_desc()
845 memcpy(ptr, root_hub_config_descriptor_template, config_desc_length); in alloc_root_hub_config_desc()
846 ptr[CONFIG_DESC_WTOTAL_LENGTH_OFFSET] = config_desc_length; in alloc_root_hub_config_desc()
864 uint8_t config_desc_length; in init_root_hub() local
972 config_desc_length = ROOT_HUB_SS_CONFIG_DESC_LENGTH; in init_root_hub()
977 config_desc_length = ROOT_HUB_SS_CONFIG_DESC_LENGTH; in init_root_hub()
982 config_desc_length = ROOT_HUB_HS_CONFIG_DESC_LENGTH; in init_root_hub()
994 config_desc_length = ROOT_HUB_FS_CONFIG_DESC_LENGTH; in init_root_hub()
1011 r = alloc_root_hub_config_desc(dev, num_ports, config_desc_length, ep_interval); in init_root_hub()