Home
last modified time | relevance | path

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

12345

/linux-6.6.21/sound/usb/
Dvalidate.c30 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.6.21/include/uapi/linux/usb/
Dch9.h278 __u8 bLength; member
287 __u8 bLength; member
347 __u8 bLength; member
373 __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 …]
Dvideo.h218 __u8 bLength; member
225 __u8 bLength; member
242 __u8 bLength; \
254 __u8 bLength; member
267 __u8 bLength; member
281 __u8 bLength; member
299 __u8 bLength; member
315 __u8 bLength; \
326 __u8 bLength; member
342 __u8 bLength; member
[all …]
Daudio.h157 __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 …]
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 …]
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-6.6.21/include/linux/usb/
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 …]
Daudio-v3.h60 __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 …]
Dmidi-v2.h52 __u8 bLength; /* 4+n */ member
64 __u8 bLength; \
73 __u8 bLength; /* 5 */ member
81 __u8 bLength; /* 13 */ member
/linux-6.6.21/drivers/usb/core/
Dconfig.c39 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.6.21/drivers/usb/gadget/function/
Df_uvc.c64 .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 = USB_DT_ENDPOINT_SIZE,
[all …]
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 …]
Df_ecm.c91 .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 = USB_DT_ENDPOINT_SIZE,
[all …]
Df_acm.c85 .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 …]
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,
Df_rndis.c99 .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 = USB_DT_ENDPOINT_SIZE,
[all …]
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,
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),
Df_uac2.c148 .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 …]
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,
/linux-6.6.21/drivers/usb/gadget/
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-6.6.21/drivers/usb/gadget/legacy/
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,
214 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(3),
268 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(1),
[all …]
/linux-6.6.21/tools/usb/
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-6.6.21/tools/usb/ffs-aio-example/simple/device_app/
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),
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c75 .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),

12345