Home
last modified time | relevance | path

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

12345

/linux/sound/usb/
A Dvalidate.c30 return d->bLength >= sizeof(*d) && in validate_uac1_header()
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()
105 if (d->bLength < len) in validate_processing_unit()
160 if (d->bLength < len) in validate_processing_unit()
173 if (d->bLength < sizeof(*d)) in validate_selector_unit()
188 return d->bLength >= len; in validate_selector_unit()
207 if (d->bLength < sizeof(*d)) in validate_uac2_feature_unit()
218 if (d->bLength < sizeof(*d)) in validate_uac3_feature_unit()
[all …]
/linux/include/uapi/linux/usb/
A Dch9.h281 __u8 bLength; member
290 __u8 bLength; member
351 __u8 bLength; member
377 __u8 bLength; member
394 __u8 bLength; member
412 __u8 bLength; member
682 __u8 bLength; member
694 __u8 bLength; member
1054 __u8 bLength; member
1081 __u8 bLength; member
[all …]
A Dvideo.h218 __u8 bLength; member
225 __u8 bLength; member
254 __u8 bLength; member
267 __u8 bLength; member
281 __u8 bLength; member
299 __u8 bLength; member
326 __u8 bLength; member
342 __u8 bLength; member
457 __u8 bLength; member
489 __u8 bLength; member
[all …]
A Daudio.h157 __u8 bLength; /* 8 + n */ member
171 __u8 bLength; \
247 __u8 bLength; \
259 __u8 bLength; member
322 __u8 bLength; member
338 __u8 bLength; member
355 __u8 bLength; member
539 __u8 bLength; \
553 __u8 bLength; member
570 __u8 bLength; member
[all …]
A Dcdc.h64 __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 …]
A Dmidi.h39 __u8 bLength; member
50 __u8 bLength; member
67 __u8 bLength; member
82 __u8 bLength; \
94 __u8 bLength; /* 4+n */ member
106 __u8 bLength; \
/linux/include/linux/usb/
A Daudio-v2.h46 __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 …]
A Daudio-v3.h73 __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; \
199 __u8 bLength; member
[all …]
A Dmidi-v2.h52 __u8 bLength; /* 4+n */ member
64 __u8 bLength; \
73 __u8 bLength; /* 5 */ member
81 __u8 bLength; /* 13 */ member
/linux/drivers/usb/core/
A Dconfig.c39 buffer += h->bLength; in find_next_descriptor()
40 size -= h->bLength; in find_next_descriptor()
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()
524 buffer += d->bLength; in usb_parse_interface()
525 size -= d->bLength; in usb_parse_interface()
662 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration()
672 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration()
[all …]
/linux/drivers/usb/gadget/function/
A Df_uvc.c64 .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 Df_subset.c76 .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 Df_ecm.c133 .bLength = sizeof ecm_desc,
163 .bLength = sizeof ecm_data_intf,
178 .bLength = USB_DT_ENDPOINT_SIZE,
188 .bLength = USB_DT_ENDPOINT_SIZE,
196 .bLength = USB_DT_ENDPOINT_SIZE,
225 .bLength = USB_DT_ENDPOINT_SIZE,
235 .bLength = USB_DT_ENDPOINT_SIZE,
244 .bLength = USB_DT_ENDPOINT_SIZE,
274 .bLength = USB_DT_ENDPOINT_SIZE,
294 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
A Df_obex.c71 .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 Df_rndis.c112 .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 Df_serial.c43 .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 Df_acm.c99 .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 Dstorage_common.c34 .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 Df_uac2.c135 .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 Df_loopback.c46 .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 Df_uac1.c76 .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 …]
/linux/drivers/usb/gadget/
A Dconfig.c44 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()
253 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); in usb_otg_descriptor_init()
259 otg1x_desc->bLength = sizeof(struct usb_otg_descriptor); in usb_otg_descriptor_init()
/linux/drivers/usb/gadget/legacy/
A Dwebcam.c72 .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 …]
/linux/tools/usb/
A Dffs-test.c137 .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/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c91 .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),

Completed in 66 milliseconds

12345