/linux-6.1.9/sound/usb/ |
D | validate.c | 30 return d->bLength >= sizeof(*d) && in validate_uac1_header() 31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header() 41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit() 65 return d->bLength >= len; in validate_mixer_unit() 76 if (d->bLength < sizeof(*d)) in validate_processing_unit() 79 if (d->bLength < len) in validate_processing_unit() 86 if (d->bLength < len + 1) /* bControlSize */ in validate_processing_unit() 105 if (d->bLength < len) in validate_processing_unit() 116 if (d->bLength < len + 1) /* bNrModes */ in validate_processing_unit() 131 if (d->bLength < len + 1) /* bNrModes */ in validate_processing_unit() [all …]
|
/linux-6.1.9/include/uapi/linux/usb/ |
D | ch9.h | 281 __u8 bLength; member 290 __u8 bLength; member 350 __u8 bLength; member 376 __u8 bLength; member 390 __u8 bLength; member 408 __u8 bLength; member 678 __u8 bLength; member 690 __u8 bLength; member 728 __u8 bLength; member 745 __u8 bLength; member [all …]
|
D | video.h | 188 __u8 bLength; member 195 __u8 bLength; member 212 __u8 bLength; \ 224 __u8 bLength; member 237 __u8 bLength; member 251 __u8 bLength; member 269 __u8 bLength; member 285 __u8 bLength; \ 296 __u8 bLength; member 312 __u8 bLength; member [all …]
|
D | audio.h | 157 __u8 bLength; /* 8 + n */ member 171 __u8 bLength; \ 182 __u8 bLength; /* in bytes: 12 */ member 211 __u8 bLength; /* in bytes: 9 */ member 247 __u8 bLength; \ 259 __u8 bLength; member 317 return raw[desc->bLength - 1]; in uac_mixer_unit_iMixer() 322 __u8 bLength; member 333 return raw[desc->bLength - 1]; in uac_selector_unit_iSelector() 338 __u8 bLength; member [all …]
|
D | cdc.h | 64 __u8 bLength; member 73 __u8 bLength; member 86 __u8 bLength; member 102 __u8 bLength; member 113 __u8 bLength; member 124 __u8 bLength; member 136 __u8 bLength; member 158 __u8 bLength; member 168 __u8 bLength; member 179 __u8 bLength; member [all …]
|
D | midi.h | 39 __u8 bLength; member 50 __u8 bLength; member 67 __u8 bLength; member 82 __u8 bLength; \ 94 __u8 bLength; /* 4+n */ member 106 __u8 bLength; \
|
/linux-6.1.9/include/linux/usb/ |
D | audio-v2.h | 46 __u8 bLength; /* 9 */ member 57 __u8 bLength; /* in bytes: 6 */ member 68 __u8 bLength; member 88 __u8 bLength; member 100 __u8 bLength; member 112 __u8 bLength; member 129 __u8 bLength; member 146 __u8 bLength; member 161 __u8 bLength; \ 173 __u8 bLength; member [all …]
|
D | audio-v3.h | 60 __u8 bLength; /* 10 */ member 73 __u8 bLength; member 89 __u8 bLength; member 105 __u8 bLength; member 121 __u8 bLength; \ 132 __u8 bLength; member 150 __u8 bLength; member 161 __u8 bLength; member 172 __u8 bLength; member 186 __u8 bLength; \ [all …]
|
/linux-6.1.9/drivers/usb/gadget/legacy/ |
D | webcam.c | 71 .bLength = USB_DT_DEVICE_SIZE, 90 .bLength = UVC_DT_HEADER_SIZE(1), 101 .bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3), 118 .bLength = UVC_DT_PROCESSING_UNIT_SIZE(2), 132 .bLength = UVC_DT_OUTPUT_TERMINAL_SIZE, 145 .bLength = UVC_DT_INPUT_HEADER_SIZE(1, 2), 162 .bLength = UVC_DT_FORMAT_UNCOMPRESSED_SIZE, 182 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(3), 200 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(1), 216 .bLength = UVC_DT_FORMAT_MJPEG_SIZE, [all …]
|
/linux-6.1.9/drivers/usb/core/ |
D | config.c | 39 buffer += h->bLength; in find_next_descriptor() 40 size -= h->bLength; in find_next_descriptor() 98 ep->ss_ep_comp.bLength = USB_DT_SS_EP_COMP_SIZE; in usb_parse_ss_endpoint_companion() 106 buffer += desc->bLength; in usb_parse_ss_endpoint_companion() 107 size -= desc->bLength; in usb_parse_ss_endpoint_companion() 268 buffer += d->bLength; in usb_parse_endpoint() 269 size -= d->bLength; in usb_parse_endpoint() 271 if (d->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE) in usb_parse_endpoint() 273 else if (d->bLength >= USB_DT_ENDPOINT_SIZE) in usb_parse_endpoint() 278 cfgno, inum, asnum, d->bLength); in usb_parse_endpoint() [all …]
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_uvc.c | 67 .bLength = sizeof(uvc_iad), 78 .bLength = USB_DT_INTERFACE_SIZE, 90 .bLength = USB_DT_ENDPOINT_SIZE, 99 .bLength = sizeof(uvc_ss_control_comp), 108 .bLength = UVC_DT_CONTROL_ENDPOINT_SIZE, 115 .bLength = USB_DT_INTERFACE_SIZE, 127 .bLength = USB_DT_INTERFACE_SIZE, 139 .bLength = USB_DT_ENDPOINT_SIZE, 151 .bLength = USB_DT_ENDPOINT_SIZE, 163 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
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 …]
|
D | f_ecm.c | 102 .bLength = sizeof ecm_iad_descriptor, 115 .bLength = sizeof ecm_control_intf, 128 .bLength = sizeof ecm_header_desc, 136 .bLength = sizeof(ecm_union_desc), 144 .bLength = sizeof ecm_desc, 159 .bLength = sizeof ecm_data_nop_intf, 174 .bLength = sizeof ecm_data_intf, 189 .bLength = USB_DT_ENDPOINT_SIZE, 199 .bLength = USB_DT_ENDPOINT_SIZE, 207 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
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,
|
D | f_rndis.c | 112 .bLength = sizeof rndis_control_intf, 125 .bLength = sizeof header_desc, 133 .bLength = sizeof call_mgmt_descriptor, 142 .bLength = sizeof rndis_acm_descriptor, 150 .bLength = sizeof(rndis_union_desc), 160 .bLength = sizeof rndis_data_intf, 174 .bLength = sizeof rndis_iad_descriptor, 188 .bLength = USB_DT_ENDPOINT_SIZE, 198 .bLength = USB_DT_ENDPOINT_SIZE, 206 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
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,
|
D | f_acm.c | 85 .bLength = sizeof acm_iad_descriptor, 98 .bLength = USB_DT_INTERFACE_SIZE, 109 .bLength = USB_DT_INTERFACE_SIZE, 120 .bLength = sizeof(acm_header_desc), 128 .bLength = sizeof(acm_call_mgmt_descriptor), 136 .bLength = sizeof(acm_descriptor), 143 .bLength = sizeof(acm_union_desc), 153 .bLength = USB_DT_ENDPOINT_SIZE, 162 .bLength = USB_DT_ENDPOINT_SIZE, 169 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | storage_common.c | 33 .bLength = sizeof fsg_intf_desc, 50 .bLength = USB_DT_ENDPOINT_SIZE, 60 .bLength = USB_DT_ENDPOINT_SIZE, 85 .bLength = USB_DT_ENDPOINT_SIZE, 95 .bLength = USB_DT_ENDPOINT_SIZE, 115 .bLength = USB_DT_ENDPOINT_SIZE, 125 .bLength = sizeof(fsg_ss_bulk_in_comp_desc), 133 .bLength = USB_DT_ENDPOINT_SIZE, 143 .bLength = sizeof(fsg_ss_bulk_in_comp_desc),
|
D | f_uac2.c | 148 .bLength = sizeof iad_desc, 160 .bLength = sizeof std_ac_if_desc, 172 .bLength = sizeof in_clk_src_desc, 184 .bLength = sizeof out_clk_src_desc, 196 .bLength = sizeof usb_out_it_desc, 210 .bLength = sizeof io_in_it_desc, 224 .bLength = sizeof usb_in_ot_desc, 238 .bLength = sizeof io_out_ot_desc, 254 .bLength = sizeof ac_hdr_desc, 266 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
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,
|
/linux-6.1.9/drivers/usb/gadget/ |
D | config.c | 44 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf() 101 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf() 132 bytes += (*tmp)->bLength; in usb_copy_descriptors() 147 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors() 150 mem += (*src)->bLength; in usb_copy_descriptors() 255 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); in usb_otg_descriptor_init() 261 otg1x_desc->bLength = sizeof(struct usb_otg_descriptor); in usb_otg_descriptor_init()
|
/linux-6.1.9/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 73 .bLength = sizeof(descriptors.fs_descs.intf), 80 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 86 .bLength = sizeof(descriptors.fs_descs.bulk_source), 95 .bLength = sizeof(descriptors.hs_descs.intf), 102 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 109 .bLength = sizeof(descriptors.hs_descs.bulk_source),
|
/linux-6.1.9/tools/usb/ |
D | ffs-test.c | 137 .bLength = sizeof descriptors.fs_descs.intf, 144 .bLength = sizeof descriptors.fs_descs.sink, 151 .bLength = sizeof descriptors.fs_descs.source, 161 .bLength = sizeof descriptors.fs_descs.intf, 168 .bLength = sizeof descriptors.hs_descs.sink, 175 .bLength = sizeof descriptors.hs_descs.source, 186 .bLength = sizeof descriptors.fs_descs.intf, 193 .bLength = sizeof descriptors.hs_descs.sink, 200 .bLength = USB_DT_SS_EP_COMP_SIZE, 207 .bLength = sizeof descriptors.hs_descs.source, [all …]
|
/linux-6.1.9/tools/usb/ffs-aio-example/multibuff/device_app/ |
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),
|
/linux-6.1.9/drivers/net/usb/ |
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()
|