/linux-master/sound/usb/ |
H A D | validate.c | 30 return d->bLength >= sizeof(*d) && 31 d->bLength >= sizeof(*d) + d->bInCollection; 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) 65 return d->bLength >= len; 76 if (d->bLength < sizeof(*d)) 79 if (d->bLength < len) 86 if (d->bLength < len + 1) /* bControlSize */ 105 if (d->bLength < len) 116 if (d->bLength < len + 1) /* bNrModes */ 131 if (d->bLength < le [all...] |
/linux-master/include/uapi/linux/usb/ |
H A D | midi.h | 39 __u8 bLength; member in struct:usb_ms_header_descriptor 50 __u8 bLength; member in struct:usb_midi_in_jack_descriptor 67 __u8 bLength; member in struct:usb_midi_out_jack_descriptor 82 __u8 bLength; \ 94 __u8 bLength; /* 4+n */ member in struct:usb_ms_endpoint_descriptor 106 __u8 bLength; \
|
H A D | video.h | 218 __u8 bLength; member in struct:uvc_descriptor_header 225 __u8 bLength; member in struct:uvc_header_descriptor 242 __u8 bLength; \ 254 __u8 bLength; member in struct:uvc_input_terminal_descriptor 267 __u8 bLength; member in struct:uvc_output_terminal_descriptor 281 __u8 bLength; member in struct:uvc_camera_terminal_descriptor 299 __u8 bLength; member in struct:uvc_selector_unit_descriptor 315 __u8 bLength; \ 326 __u8 bLength; member in struct:uvc_processing_unit_descriptor 342 __u8 bLength; member in struct:uvc_extension_unit_descriptor 377 __u8 bLength; member in struct:uvc_control_endpoint_descriptor 387 __u8 bLength; member in struct:uvc_input_header_descriptor 426 __u8 bLength; member in struct:uvc_output_header_descriptor 457 __u8 bLength; member in struct:uvc_color_matching_descriptor 489 __u8 bLength; member in struct:uvc_format_uncompressed 507 __u8 bLength; member in struct:uvc_frame_uncompressed 546 __u8 bLength; member in struct:uvc_format_mjpeg 563 __u8 bLength; member in struct:uvc_frame_mjpeg [all...] |
H A D | ch9.h | 278 __u8 bLength; member in struct:usb_descriptor_header 287 __u8 bLength; member in struct:usb_device_descriptor 347 __u8 bLength; member in struct:usb_config_descriptor 373 __u8 bLength; member in struct:usb_string_descriptor 390 __u8 bLength; member in struct:usb_interface_descriptor 408 __u8 bLength; member in struct:usb_endpoint_descriptor 417 /* use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof. */ 678 __u8 bLength; member in struct:usb_ssp_isoc_ep_comp_descriptor 690 __u8 bLength; member in struct:usb_ss_ep_comp_descriptor 728 __u8 bLength; member in struct:usb_qualifier_descriptor 745 __u8 bLength; member in struct:usb_otg_descriptor 753 __u8 bLength; member in struct:usb_otg20_descriptor 774 __u8 bLength; member in struct:usb_debug_descriptor 786 __u8 bLength; member in struct:usb_interface_assoc_descriptor 805 __u8 bLength; member in struct:usb_security_descriptor 818 __u8 bLength; member in struct:usb_key_descriptor 830 __u8 bLength; member in struct:usb_encryption_descriptor 847 __u8 bLength; member in struct:usb_bos_descriptor 859 __u8 bLength; member in struct:usb_dev_cap_header 867 __u8 bLength; member in struct:usb_wireless_cap_descriptor 898 __u8 bLength; member in struct:usb_ext_cap_descriptor 920 __u8 bLength; member in struct:usb_ss_cap_descriptor 943 __u8 bLength; member in struct:usb_ss_container_id_descriptor 958 __u8 bLength; member in struct:usb_plat_dev_cap_descriptor 974 __u8 bLength; member in struct:usb_ssp_cap_descriptor 1026 __u8 bLength; member in struct:usb_pd_cap_descriptor 1050 __u8 bLength; member in struct:usb_pd_cap_battery_info_descriptor 1077 __u8 bLength; member in struct:usb_pd_cap_consumer_port_descriptor 1096 __u8 bLength; member in struct:usb_pd_cap_provider_port_descriptor 1116 __u8 bLength; member in struct:usb_ptm_cap_descriptor 1134 __u8 bLength; member in struct:usb_wireless_ep_comp_descriptor [all...] |
H A D | cdc.h | 64 __u8 bLength; member in struct:usb_cdc_header_desc 73 __u8 bLength; member in struct:usb_cdc_call_mgmt_descriptor 86 __u8 bLength; member in struct:usb_cdc_acm_descriptor 102 __u8 bLength; member in struct:usb_cdc_union_desc 113 __u8 bLength; member in struct:usb_cdc_country_functional_desc 124 __u8 bLength; member in struct:usb_cdc_network_terminal_desc 136 __u8 bLength; member in struct:usb_cdc_ether_desc 158 __u8 bLength; member in struct:usb_cdc_mdlm_desc 168 __u8 bLength; member in struct:usb_cdc_mdlm_detail_desc 179 __u8 bLength; member in struct:usb_cdc_obex_desc 188 __u8 bLength; member in struct:usb_cdc_ncm_desc 198 __u8 bLength; member in struct:usb_cdc_mbim_desc 212 __u8 bLength; member in struct:usb_cdc_mbim_extended_desc [all...] |
H A D | audio.h | 157 __u8 bLength; /* 8 + n */ member in struct:uac1_ac_header_descriptor 171 __u8 bLength; \ 182 __u8 bLength; /* in bytes: 12 */ member in struct:uac_input_terminal_descriptor 211 __u8 bLength; /* in bytes: 9 */ member in struct:uac1_output_terminal_descriptor 247 __u8 bLength; \ 259 __u8 bLength; member in struct:uac_mixer_unit_descriptor 317 return raw[desc->bLength - 1]; 322 __u8 bLength; member in struct:uac_selector_unit_descriptor 333 return raw[desc->bLength - 1]; 338 __u8 bLength; member in struct:uac_feature_unit_descriptor 355 __u8 bLength; member in struct:uac_processing_unit_descriptor 492 __u8 bLength; /* in bytes: 7 */ member in struct:uac1_as_header_descriptor 511 __u8 bLength; /* in bytes: 8 + (ns * 3) */ member in struct:uac_format_type_i_continuous_descriptor 526 __u8 bLength; /* in bytes: 8 + (ns * 3) */ member in struct:uac_format_type_i_discrete_descriptor 553 __u8 bLength; member in struct:uac_format_type_i_ext_descriptor 570 __u8 bLength; member in struct:uac_format_type_ii_discrete_descriptor 581 __u8 bLength; member in struct:uac_format_type_ii_ext_descriptor 609 __u8 bLength; /* in bytes: 7 */ member in struct:uac_iso_endpoint_descriptor [all...] |
/linux-master/include/linux/usb/ |
H A D | midi-v2.h | 52 __u8 bLength; /* 4+n */ member in struct:usb_ms20_endpoint_descriptor 64 __u8 bLength; \ 73 __u8 bLength; /* 5 */ member in struct:usb_ms20_gr_trm_block_header_descriptor 81 __u8 bLength; /* 13 */ member in struct:usb_ms20_gr_trm_block_descriptor
|
H A D | audio-v3.h | 60 __u8 bLength; /* 10 */ member in struct:uac3_ac_header_descriptor 73 __u8 bLength; member in struct:uac3_input_terminal_descriptor 89 __u8 bLength; member in struct:uac3_output_terminal_descriptor 105 __u8 bLength; member in struct:uac3_feature_unit_descriptor 121 __u8 bLength; \ 132 __u8 bLength; member in struct:uac3_clock_source_descriptor 150 __u8 bLength; member in struct:uac3_clock_selector_descriptor 161 __u8 bLength; member in struct:uac3_clock_multiplier_descriptor 172 __u8 bLength; member in struct:uac3_power_domain_descriptor 186 __u8 bLength; \ 199 __u8 bLength; member in struct:uac3_as_header_descriptor 216 __u8 bLength; member in struct:uac3_iso_endpoint_descriptor [all...] |
H A D | ccid.h | 15 __u8 bLength; member in struct:ccid_descriptor
|
H A D | webusb.h | 59 u8 bLength; member in struct:webusb_url_descriptor
|
H A D | audio-v2.h | 46 __u8 bLength; /* 9 */ member in struct:uac2_ac_header_descriptor 57 __u8 bLength; /* in bytes: 6 */ member in struct:uac2_format_type_i_descriptor 68 __u8 bLength; member in struct:uac_clock_source_descriptor 88 __u8 bLength; member in struct:uac_clock_selector_descriptor 100 __u8 bLength; member in struct:uac_clock_multiplier_descriptor 112 __u8 bLength; member in struct:uac2_input_terminal_descriptor 129 __u8 bLength; member in struct:uac2_output_terminal_descriptor 146 __u8 bLength; member in struct:uac2_feature_unit_descriptor 161 __u8 bLength; \ 173 __u8 bLength; member in struct:uac2_effect_unit_descriptor 185 __u8 bLength; member in struct:uac2_as_header_descriptor 202 __u8 bLength; /* in bytes: 8 */ member in struct:uac2_iso_endpoint_descriptor [all...] |
/linux-master/drivers/usb/gadget/function/ |
H 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 [all...] |
H A D | f_uvc.c | 64 .bLength = sizeof(uvc_iad), 75 .bLength = USB_DT_INTERFACE_SIZE, 87 .bLength = USB_DT_ENDPOINT_SIZE, 96 .bLength = sizeof(uvc_ss_interrupt_comp), 105 .bLength = UVC_DT_CONTROL_ENDPOINT_SIZE, 112 .bLength = USB_DT_INTERFACE_SIZE, 124 .bLength = USB_DT_INTERFACE_SIZE, 136 .bLength = USB_DT_ENDPOINT_SIZE, 148 .bLength = USB_DT_ENDPOINT_SIZE, 160 .bLength [all...] |
H 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,
|
H 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 [all...] |
H 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),
|
H 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,
|
H A D | f_rndis.c | 99 .bLength = sizeof rndis_control_intf, 112 .bLength = sizeof header_desc, 120 .bLength = sizeof call_mgmt_descriptor, 129 .bLength = sizeof rndis_acm_descriptor, 137 .bLength = sizeof(rndis_union_desc), 147 .bLength = sizeof rndis_data_intf, 161 .bLength = sizeof rndis_iad_descriptor, 175 .bLength = USB_DT_ENDPOINT_SIZE, 185 .bLength = USB_DT_ENDPOINT_SIZE, 193 .bLength [all...] |
H A D | f_ecm.c | 91 .bLength = sizeof ecm_iad_descriptor, 104 .bLength = sizeof ecm_control_intf, 117 .bLength = sizeof ecm_header_desc, 125 .bLength = sizeof(ecm_union_desc), 133 .bLength = sizeof ecm_desc, 148 .bLength = sizeof ecm_data_nop_intf, 163 .bLength = sizeof ecm_data_intf, 178 .bLength = USB_DT_ENDPOINT_SIZE, 188 .bLength = USB_DT_ENDPOINT_SIZE, 196 .bLength [all...] |
H 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 [all...] |
/linux-master/drivers/usb/core/ |
H A D | config.c | 39 buffer += h->bLength; 40 size -= h->bLength; 98 ep->ss_ep_comp.bLength = USB_DT_SS_EP_COMP_SIZE; 106 buffer += desc->bLength; 107 size -= desc->bLength; 268 buffer += d->bLength; 269 size -= d->bLength; 271 if (d->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE) 273 else if (d->bLength >= USB_DT_ENDPOINT_SIZE) 278 cfgno, inum, asnum, d->bLength); [all...] |
/linux-master/drivers/usb/gadget/legacy/ |
H 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, 214 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(3), 268 .bLength [all...] |
/linux-master/drivers/usb/gadget/ |
H A D | config.c | 44 unsigned len = (*src)->bLength; 101 cp->bLength = USB_DT_CONFIG_SIZE; 132 bytes += (*tmp)->bLength; 147 memcpy(mem, *src, (*src)->bLength); 150 mem += (*src)->bLength; 253 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); 259 otg1x_desc->bLength = sizeof(struct usb_otg_descriptor);
|
/linux-master/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 91 .bLength = sizeof(descriptors.fs_descs.intf), 98 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 104 .bLength = sizeof(descriptors.fs_descs.bulk_source), 113 .bLength = sizeof(descriptors.hs_descs.intf), 120 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 127 .bLength = sizeof(descriptors.hs_descs.bulk_source),
|
/linux-master/tools/usb/ffs-aio-example/multibuff/device_app/ |
H A D | aio_multibuff.c | 75 .bLength = sizeof(descriptors.fs_descs.intf), 82 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 88 .bLength = sizeof(descriptors.fs_descs.bulk_source), 97 .bLength = sizeof(descriptors.hs_descs.intf), 104 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 111 .bLength = sizeof(descriptors.hs_descs.bulk_source),
|