Home
last modified time | relevance | path

Searched refs:bLength (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/qemu/hw/usb/
H A Ddesc.c12 uint8_t bLength = 0x12; in usb_desc_device() local
15 if (len < bLength) { in usb_desc_device()
19 d->bLength = bLength; in usb_desc_device()
51 return bLength; in usb_desc_device()
57 uint8_t bLength = 0x0a; in usb_desc_device_qualifier() local
60 if (len < bLength) { in usb_desc_device_qualifier()
64 d->bLength = bLength; in usb_desc_device_qualifier()
76 return bLength; in usb_desc_device_qualifier()
82 uint8_t bLength = 0x09; in usb_desc_config() local
87 if (len < bLength) { in usb_desc_config()
[all …]
/openbmc/u-boot/include/linux/usb/
H A Dch9.h247 __u8 bLength; member
256 __u8 bLength; member
312 __u8 bLength; member
335 __u8 bLength; member
349 __u8 bLength; member
367 __u8 bLength; member
386 __u8 bLength; member
391 u8 bLength; member
402 u8 bLength; /* dummy */ member
658 __u8 bLength; member
[all …]
H A Dcdc.h50 __u8 bLength; member
59 __u8 bLength; member
72 __u8 bLength; member
88 __u8 bLength; member
99 __u8 bLength; member
110 __u8 bLength; member
122 __u8 bLength; member
135 __u8 bLength; member
145 __u8 bLength; member
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_keyb.c49 .bLength = sizeof(keyb_device_desc),
67 .bLength = sizeof(keyb_config0),
79 .bLength = sizeof(keyb_interface0),
92 .bLength = sizeof(keyb_report0),
102 .bLength = USB_DT_ENDPOINT_SIZE,
113 .bLength = sizeof(keyb_interface1),
126 .bLength = sizeof(struct usb_class_hid_descriptor),
136 .bLength = USB_DT_ENDPOINT_SIZE,
H A Dsandbox_hub.c36 .bLength = sizeof(hub_device_desc),
54 .bLength = sizeof(hub_config1),
66 .bLength = sizeof(hub_interface0),
79 .bLength = USB_DT_ENDPOINT_SIZE,
89 .bLength = sizeof(hub_desc),
H A Dsandbox_flash.c99 .bLength = sizeof(flash_device_desc),
117 .bLength = sizeof(flash_config0),
129 .bLength = sizeof(flash_interface0),
142 .bLength = USB_DT_ENDPOINT_SIZE,
152 .bLength = USB_DT_ENDPOINT_SIZE,
H A Dusb-emul-uclass.c98 todo = min(length - upto, (int)(*ptr)->bLength); in usb_emul_get_descriptor()
272 for (cdesc = NULL, upto = 0; *ptr; upto += (*ptr)->bLength, ptr++) { in usb_emul_setup_device()
279 cdesc->bLength); in usb_emul_setup_device()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0014-add-u3-ss-descriptor-support-for-adb.patch117 + .bLength = sizeof(fs_descriptors.intf),
127 + .bLength = sizeof(fs_descriptors.source),
134 + .bLength = sizeof(fs_descriptors.sink),
144 + .bLength = sizeof(hs_descriptors.intf),
154 + .bLength = sizeof(hs_descriptors.source),
161 + .bLength = sizeof(hs_descriptors.sink),
171 + .bLength = sizeof(ss_descriptors.intf),
181 + .bLength = sizeof(ss_descriptors.source),
188 + .bLength = sizeof(ss_descriptors.source_comp),
194 - .bLength = sizeof(descriptors.fs_descs.intf),
[all …]
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c107 .bLength = sizeof(struct usb_device_descriptor),
124 .bLength = sizeof(struct usb_qualifier_descriptor),
159 .bLength =
173 .bLength = sizeof(struct usb_interface_descriptor),
215 .bLength =
227 .bLength =
241 .bLength =
252 .bLength =
291 .bLength = sizeof(struct usb_configuration_descriptor),
304 .bLength =
[all …]
/openbmc/u-boot/include/
H A Dusbdescriptors.h182 u8 bLength; member
191 u8 bLength; member
203 u8 bLength; member
214 u8 bLength; member
232 u8 bLength; member
246 u8 bLength; member
252 u8 bLength; member
448 u8 bLength; member
459 u8 bLength; /* dummy */ member
512 serial_printf("\tbLength %2.2x\n", d->bLength); in print_device_descriptor()
/openbmc/u-boot/drivers/usb/gadget/
H A Dstorage_common.c389 .bLength = sizeof fsg_otg_desc,
400 .bLength = sizeof fsg_intf_desc,
417 .bLength = USB_DT_ENDPOINT_SIZE,
427 .bLength = USB_DT_ENDPOINT_SIZE,
439 .bLength = USB_DT_ENDPOINT_SIZE,
479 .bLength = USB_DT_ENDPOINT_SIZE,
489 .bLength = USB_DT_ENDPOINT_SIZE,
502 .bLength = USB_DT_ENDPOINT_SIZE,
H A Df_thor.c369 .bLength = sizeof(thor_downloader_intf_data),
377 .bLength = USB_DT_ENDPOINT_SIZE,
385 .bLength = USB_DT_ENDPOINT_SIZE,
394 .bLength = sizeof(thor_downloader_intf_int),
406 .bLength = sizeof(thor_downloader_cdc_header),
413 .bLength = sizeof(thor_downloader_cdc_call),
421 .bLength = sizeof(thor_downloader_cdc_abstract),
428 .bLength = sizeof(thor_downloader_cdc_union),
434 .bLength = USB_DT_ENDPOINT_SIZE,
446 .bLength = sizeof(thor_iad_descriptor),
[all …]
H A Dconfig.c44 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf()
102 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf()
H A Dether.c333 .bLength = sizeof device_desc,
351 .bLength = sizeof otg_descriptor,
359 .bLength = sizeof eth_config,
373 .bLength = sizeof rndis_config,
407 .bLength = sizeof control_intf,
423 .bLength = sizeof rndis_control_intf,
436 .bLength = sizeof header_desc,
446 .bLength = sizeof union_desc,
459 .bLength = sizeof call_mgmt_descriptor,
468 .bLength = sizeof acm_descriptor,
[all …]
H A Df_fastboot.c54 .bLength = USB_DT_ENDPOINT_SIZE,
62 .bLength = USB_DT_ENDPOINT_SIZE,
70 .bLength = USB_DT_ENDPOINT_SIZE,
78 .bLength = USB_DT_ENDPOINT_SIZE,
86 .bLength = USB_DT_INTERFACE_SIZE,
H A Df_dfu.h76 __u8 bLength; member
H A Dep0.c253 dbg_ep0(3, "string_descriptor: %p length %d", string_descriptor, string_descriptor->bLength); in ep0_get_descriptor()
254 copy_config (urb, string_descriptor, string_descriptor->bLength, max); in ep0_get_descriptor()
287 class_descriptor->descriptor.hid.bLength, in ep0_get_descriptor()
H A Df_thor.h29 __u8 bLength; member
H A Df_rockusb.c26 .bLength = USB_DT_ENDPOINT_SIZE,
34 .bLength = USB_DT_ENDPOINT_SIZE,
42 .bLength = USB_DT_ENDPOINT_SIZE,
50 .bLength = USB_DT_ENDPOINT_SIZE,
58 .bLength = USB_DT_INTERFACE_SIZE,
H A Df_sdp.c127 .bLength = sizeof(sdp_intf_runtime),
139 .bLength = sizeof(sdp_hid_desc),
151 .bLength = USB_DT_ENDPOINT_SIZE,
H A Dcomposite.c173 c->bLength = USB_DT_CONFIG_SIZE; in config_buf()
277 qual->bLength = sizeof(*qual); in device_qual()
564 s->bLength = 2 * (len + 1); in get_string()
565 return s->bLength; in get_string()
H A Dg_dnl.c57 .bLength = sizeof device_desc,
H A Df_dfu.c59 .bLength = sizeof dfu_func,
71 .bLength = sizeof dfu_intf_runtime,
657 d->bLength = sizeof(*d); in dfu_prepare_function()
/openbmc/u-boot/common/
H A Dusb.c389 if (head->bLength != USB_DT_CONFIG_SIZE) { in usb_parse_config()
390 printf("ERROR: Invalid USB CFG length (%d)\n", head->bLength); in usb_parse_config()
396 index = dev->config.desc.bLength; in usb_parse_config()
400 while (index + 1 < dev->config.desc.wTotalLength && head->bLength) { in usb_parse_config()
403 if (head->bLength != USB_DT_INTERFACE_SIZE) { in usb_parse_config()
405 head->bLength); in usb_parse_config()
439 if (head->bLength != USB_DT_ENDPOINT_SIZE && in usb_parse_config()
440 head->bLength != USB_DT_ENDPOINT_AUDIO_SIZE) { in usb_parse_config()
442 head->bLength); in usb_parse_config()
445 if (index + head->bLength > in usb_parse_config()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci.h83 unsigned char bLength; member
96 unsigned char bLength; member

12