| /drivers/usb/core/ |
| A D | config.c | 34 buffer += h->bLength; in find_next_descriptor() 35 size -= h->bLength; in find_next_descriptor() 90 buffer += h->bLength; in usb_parse_eusb2_isoc_endpoint_companion() 91 size -= h->bLength; in usb_parse_eusb2_isoc_endpoint_companion() 139 size -= desc->bLength; in usb_parse_ss_endpoint_companion() 302 buffer += d->bLength; in usb_parse_endpoint() 303 size -= d->bLength; in usb_parse_endpoint() 566 buffer += d->bLength; in usb_parse_interface() 567 size -= d->bLength; in usb_parse_interface() 704 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration() [all …]
|
| A D | usb.c | 676 dev->ep0.desc.bLength = USB_DT_ENDPOINT_SIZE; in usb_alloc_dev() 958 if (header->bLength < 2 || header->bLength > size) { in __usb_get_extra_descriptor() 963 header->bLength); in __usb_get_extra_descriptor() 967 if (header->bDescriptorType == type && header->bLength >= minsize) { in __usb_get_extra_descriptor() 972 buffer += header->bLength; in __usb_get_extra_descriptor() 973 size -= header->bLength; in __usb_get_extra_descriptor()
|
| /drivers/usb/gadget/function/ |
| A D | f_uvc.c | 64 .bLength = sizeof(uvc_iad), 75 .bLength = USB_DT_INTERFACE_SIZE, 87 .bLength = USB_DT_ENDPOINT_SIZE, 467 mem += (desc)->bLength; \ 476 mem += (*__src)->bLength; \ 559 bytes = uvc_iad.bLength + uvc_control_intf.bLength in uvc_copy_descriptors() 564 bytes += uvc_interrupt_ep.bLength + uvc_interrupt_cs_ep.bLength; in uvc_copy_descriptors() 577 bytes += (*src)->bLength; in uvc_copy_descriptors() 583 bytes += xu->desc.bLength; in uvc_copy_descriptors() 590 bytes += (*src)->bLength; in uvc_copy_descriptors() [all …]
|
| A D | f_subset.c | 76 .bLength = sizeof subset_data_intf, 89 .bLength = sizeof mdlm_header_desc, 97 .bLength = sizeof mdlm_desc, 123 .bLength = sizeof ether_desc, 138 .bLength = USB_DT_ENDPOINT_SIZE, 146 .bLength = USB_DT_ENDPOINT_SIZE, 167 .bLength = USB_DT_ENDPOINT_SIZE, 175 .bLength = USB_DT_ENDPOINT_SIZE, 196 .bLength = USB_DT_ENDPOINT_SIZE, 204 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_ecm.c | 134 .bLength = sizeof ecm_desc, 164 .bLength = sizeof ecm_data_intf, 179 .bLength = USB_DT_ENDPOINT_SIZE, 189 .bLength = USB_DT_ENDPOINT_SIZE, 197 .bLength = USB_DT_ENDPOINT_SIZE, 226 .bLength = USB_DT_ENDPOINT_SIZE, 236 .bLength = USB_DT_ENDPOINT_SIZE, 245 .bLength = USB_DT_ENDPOINT_SIZE, 275 .bLength = USB_DT_ENDPOINT_SIZE, 295 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_rndis.c | 112 .bLength = sizeof header_desc, 147 .bLength = sizeof rndis_data_intf, 175 .bLength = USB_DT_ENDPOINT_SIZE, 185 .bLength = USB_DT_ENDPOINT_SIZE, 193 .bLength = USB_DT_ENDPOINT_SIZE, 221 .bLength = USB_DT_ENDPOINT_SIZE, 231 .bLength = USB_DT_ENDPOINT_SIZE, 240 .bLength = USB_DT_ENDPOINT_SIZE, 269 .bLength = USB_DT_ENDPOINT_SIZE, 289 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_obex.c | 71 .bLength = sizeof(obex_control_intf), 82 .bLength = sizeof(obex_data_nop_intf), 92 .bLength = sizeof(obex_data_intf), 102 .bLength = sizeof(obex_cdc_header_desc), 109 .bLength = sizeof(obex_cdc_union_desc), 117 .bLength = sizeof(obex_desc), 126 .bLength = USB_DT_ENDPOINT_SIZE, 135 .bLength = USB_DT_ENDPOINT_SIZE, 159 .bLength = USB_DT_ENDPOINT_SIZE, 167 .bLength = USB_DT_ENDPOINT_SIZE,
|
| A D | f_acm.c | 99 .bLength = USB_DT_INTERFACE_SIZE, 110 .bLength = USB_DT_INTERFACE_SIZE, 137 .bLength = sizeof(acm_descriptor), 154 .bLength = USB_DT_ENDPOINT_SIZE, 163 .bLength = USB_DT_ENDPOINT_SIZE, 170 .bLength = USB_DT_ENDPOINT_SIZE, 192 .bLength = USB_DT_ENDPOINT_SIZE, 201 .bLength = USB_DT_ENDPOINT_SIZE, 208 .bLength = USB_DT_ENDPOINT_SIZE, 229 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_uac2.c | 135 .bLength = sizeof iad_desc, 147 .bLength = sizeof std_ac_if_desc, 197 .bLength = sizeof io_in_it_desc, 211 .bLength = sizeof usb_in_ot_desc, 241 .bLength = sizeof ac_hdr_desc, 253 .bLength = USB_DT_ENDPOINT_SIZE, 263 .bLength = USB_DT_ENDPOINT_SIZE, 272 .bLength = USB_DT_ENDPOINT_SIZE, 334 .bLength = USB_DT_ENDPOINT_SIZE, 344 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_serial.c | 43 .bLength = USB_DT_INTERFACE_SIZE, 56 .bLength = USB_DT_ENDPOINT_SIZE, 63 .bLength = USB_DT_ENDPOINT_SIZE, 79 .bLength = USB_DT_ENDPOINT_SIZE, 86 .bLength = USB_DT_ENDPOINT_SIZE, 100 .bLength = USB_DT_ENDPOINT_SIZE, 107 .bLength = USB_DT_ENDPOINT_SIZE, 114 .bLength = sizeof gser_ss_bulk_comp_desc,
|
| A D | storage_common.c | 34 .bLength = sizeof fsg_intf_desc, 51 .bLength = USB_DT_ENDPOINT_SIZE, 61 .bLength = USB_DT_ENDPOINT_SIZE, 86 .bLength = USB_DT_ENDPOINT_SIZE, 96 .bLength = USB_DT_ENDPOINT_SIZE, 116 .bLength = USB_DT_ENDPOINT_SIZE, 126 .bLength = sizeof(fsg_ss_bulk_in_comp_desc), 134 .bLength = USB_DT_ENDPOINT_SIZE, 144 .bLength = sizeof(fsg_ss_bulk_in_comp_desc),
|
| A D | f_uac1.c | 76 .bLength = USB_DT_INTERFACE_SIZE, 87 .bLength = UAC_DT_INPUT_TERMINAL_SIZE, 107 .bLength = UAC_DT_INPUT_TERMINAL_SIZE, 131 .bLength = USB_DT_ENDPOINT_SIZE, 141 .bLength = USB_DT_INTERFACE_SIZE, 150 .bLength = USB_DT_INTERFACE_SIZE, 159 .bLength = USB_DT_INTERFACE_SIZE, 168 .bLength = USB_DT_INTERFACE_SIZE, 178 .bLength = UAC_DT_AS_HEADER_SIZE, 187 .bLength = UAC_DT_AS_HEADER_SIZE, [all …]
|
| A D | f_loopback.c | 46 .bLength = sizeof(loopback_intf), 57 .bLength = USB_DT_ENDPOINT_SIZE, 65 .bLength = USB_DT_ENDPOINT_SIZE, 82 .bLength = USB_DT_ENDPOINT_SIZE, 90 .bLength = USB_DT_ENDPOINT_SIZE, 107 .bLength = USB_DT_ENDPOINT_SIZE, 115 .bLength = USB_DT_SS_EP_COMP_SIZE, 123 .bLength = USB_DT_ENDPOINT_SIZE, 131 .bLength = USB_DT_SS_EP_COMP_SIZE,
|
| A D | f_sourcesink.c | 61 .bLength = USB_DT_INTERFACE_SIZE, 71 .bLength = USB_DT_INTERFACE_SIZE, 83 .bLength = USB_DT_ENDPOINT_SIZE, 91 .bLength = USB_DT_ENDPOINT_SIZE, 99 .bLength = USB_DT_ENDPOINT_SIZE, 109 .bLength = USB_DT_ENDPOINT_SIZE, 134 .bLength = USB_DT_ENDPOINT_SIZE, 142 .bLength = USB_DT_ENDPOINT_SIZE, 150 .bLength = USB_DT_ENDPOINT_SIZE, 159 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_phonet.c | 68 .bLength = sizeof pn_control_intf_desc, 78 .bLength = sizeof pn_header_desc, 86 .bLength = sizeof pn_phonet_desc, 94 .bLength = sizeof pn_union_desc, 104 .bLength = sizeof pn_data_nop_intf_desc, 115 .bLength = sizeof pn_data_intf_desc, 126 .bLength = USB_DT_ENDPOINT_SIZE, 135 .bLength = USB_DT_ENDPOINT_SIZE, 145 .bLength = USB_DT_ENDPOINT_SIZE, 154 .bLength = USB_DT_ENDPOINT_SIZE,
|
| A D | f_ncm.c | 144 .bLength = sizeof ncm_iad_desc, 186 .bLength = sizeof ecm_desc, 200 .bLength = sizeof ncm_desc, 227 .bLength = sizeof ncm_data_intf, 242 .bLength = USB_DT_ENDPOINT_SIZE, 252 .bLength = USB_DT_ENDPOINT_SIZE, 260 .bLength = USB_DT_ENDPOINT_SIZE, 287 .bLength = USB_DT_ENDPOINT_SIZE, 296 .bLength = USB_DT_ENDPOINT_SIZE, 305 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_eem.c | 48 .bLength = sizeof eem_intf, 62 .bLength = USB_DT_ENDPOINT_SIZE, 70 .bLength = USB_DT_ENDPOINT_SIZE, 88 .bLength = USB_DT_ENDPOINT_SIZE, 97 .bLength = USB_DT_ENDPOINT_SIZE, 116 .bLength = USB_DT_ENDPOINT_SIZE, 125 .bLength = USB_DT_ENDPOINT_SIZE, 134 .bLength = sizeof eem_ss_bulk_comp_desc,
|
| A D | f_uac1_legacy.c | 35 .bLength = USB_DT_INTERFACE_SIZE, 54 .bLength = UAC_DT_AC_HEADER_LENGTH, 68 .bLength = UAC_DT_INPUT_TERMINAL_SIZE, 81 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0), 118 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE, 129 .bLength = USB_DT_INTERFACE_SIZE, 138 .bLength = USB_DT_INTERFACE_SIZE, 148 .bLength = UAC_DT_AS_HEADER_SIZE, 159 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1), 170 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, [all …]
|
| A D | f_midi.c | 121 .bLength = USB_DT_INTERFACE_SIZE, 132 .bLength = UAC_DT_AC_HEADER_SIZE(1), 143 .bLength = USB_DT_INTERFACE_SIZE, 154 .bLength = USB_DT_MS_HEADER_SIZE, 163 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, 187 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, 194 .bLength = sizeof(bulk_in_ss_comp_desc), 960 in_ext->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind() 968 out_emb->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind() 988 in_emb->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind() [all …]
|
| A D | f_tcm.c | 2045 .bLength = USB_DT_ENDPOINT_SIZE, 2053 .bLength = USB_DT_ENDPOINT_SIZE, 2066 .bLength = USB_DT_ENDPOINT_SIZE, 2088 .bLength = USB_DT_ENDPOINT_SIZE, 2096 .bLength = USB_DT_ENDPOINT_SIZE, 2109 .bLength = USB_DT_ENDPOINT_SIZE, 2130 .bLength = USB_DT_ENDPOINT_SIZE, 2138 .bLength = USB_DT_ENDPOINT_SIZE, 2151 .bLength = USB_DT_ENDPOINT_SIZE, 2165 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
| A D | f_midi2.c | 187 .bLength = sizeof(gtb_desc), 209 .bLength = USB_DT_INTERFACE_SIZE, 220 .bLength = 0x09, 231 .bLength = USB_DT_INTERFACE_SIZE, 243 .bLength = 0x07, 264 .bLength = 0x05, // to be filled 285 .bLength = 0x05, // to be filled 294 .bLength = USB_DT_INTERFACE_SIZE, 306 .bLength = 0x07, 1683 jack->bLength = 0x06; in append_midi1_in_jack() [all …]
|
| /drivers/usb/gadget/legacy/ |
| A D | webcam.c | 72 .bLength = USB_DT_DEVICE_SIZE, 89 .bLength = UVC_DT_HEADER_SIZE(1), 100 .bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3), 117 .bLength = UVC_DT_PROCESSING_UNIT_SIZE(2), 131 .bLength = UVC_DT_OUTPUT_TERMINAL_SIZE, 144 .bLength = UVC_DT_INPUT_HEADER_SIZE(1, 2), 162 .bLength = UVC_DT_COLOR_MATCHING_SIZE, 178 .bLength = UVC_DT_FORMAT_UNCOMPRESSED_SIZE, 317 .bLength = UVC_DT_FORMAT_MJPEG_SIZE, 339 .bLength = UVC_DT_FRAME_MJPEG_SIZE(3), [all …]
|
| A D | dbgp.c | 37 .bLength = sizeof device_desc, 47 .bLength = sizeof dbg_desc, 52 .bLength = USB_DT_ENDPOINT_SIZE, 59 .bLength = USB_DT_ENDPOINT_SIZE,
|
| /drivers/usb/gadget/ |
| A D | config.c | 44 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf() 79 bytes += (*tmp)->bLength; in usb_copy_descriptors() 94 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors() 97 mem += (*src)->bLength; in usb_copy_descriptors() 200 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); in usb_otg_descriptor_init() 206 otg1x_desc->bLength = sizeof(struct usb_otg_descriptor); in usb_otg_descriptor_init()
|
| /drivers/net/usb/ |
| A D | zaurus.c | 157 if (desc->bLength != sizeof *desc) { in blan_mdlm_bind() 159 desc->bLength); in blan_mdlm_bind() 178 if (detail->bLength != (sizeof *detail + 2)) in blan_mdlm_bind() 182 if (detail->bLength != (sizeof *detail + 3)) in blan_mdlm_bind() 209 detail->bLength, in blan_mdlm_bind()
|