Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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 …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/usb/
Dch9.h145 __u8 bLength; member
149 __u8 bLength; member
188 __u8 bLength; member
204 __u8 bLength; member
209 __u8 bLength; member
221 __u8 bLength; member
257 __u8 bLength; member
264 __u8 bLength; member
274 __u8 bLength; member
285 __u8 bLength; member
[all …]
Dvideo.h143 __u8 bLength; member
148 __u8 bLength; member
159 #define DECLARE_UVC_HEADER_DESCRIPTOR(n) struct UVC_HEADER_DESCRIPTOR(n) { __u8 bLength; __u8 bDesc…
162 __u8 bLength; member
172 __u8 bLength; member
183 __u8 bLength; member
198 __u8 bLength; member
208 …ELECTOR_UNIT_DESCRIPTOR(n) struct UVC_SELECTOR_UNIT_DESCRIPTOR(n) { __u8 bLength; __u8 bDescriptor…
211 __u8 bLength; member
223 __u8 bLength; member
[all …]
Daudio.h106 __u8 bLength; member
115 #define DECLARE_UAC_AC_HEADER_DESCRIPTOR(n) struct uac1_ac_header_descriptor_ ##n { __u8 bLength; _…
118 __u8 bLength; member
139 __u8 bLength; member
164 …TURE_UNIT_DESCRIPTOR(ch) struct uac_feature_unit_descriptor_ ##ch { __u8 bLength; __u8 bDescriptor…
167 __u8 bLength; member
175 __u8 bLength; member
183 __u8 bLength; member
192 __u8 bLength; member
201 __u8 bLength; member
[all …]
Dcdc.h58 __u8 bLength; member
64 __u8 bLength; member
73 __u8 bLength; member
83 __u8 bLength; member
90 __u8 bLength; member
97 __u8 bLength; member
106 __u8 bLength; member
123 __u8 bLength; member
130 __u8 bLength; member
137 __u8 bLength; member
[all …]
Dmidi.h30 __u8 bLength; member
38 __u8 bLength; member
51 __u8 bLength; member
60 …I_OUT_JACK_DESCRIPTOR(p) struct usb_midi_out_jack_descriptor_ ##p { __u8 bLength; __u8 bDescriptor…
63 __u8 bLength; member
70 #define DECLARE_USB_MS_ENDPOINT_DESCRIPTOR(n) struct usb_ms_endpoint_descriptor_ ##n { __u8 bLength
/kernel/linux/linux-5.10/include/uapi/linux/usb/
Dch9.h281 __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 …]
Dvideo.h188 __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 …]
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; \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/usb/
Dch9.h132 __u8 bLength; member
136 __u8 bLength; member
171 __u8 bLength; member
186 __u8 bLength; member
191 __u8 bLength; member
203 __u8 bLength; member
328 __u8 bLength; member
335 __u8 bLength; member
357 __u8 bLength; member
368 __u8 bLength; member
[all …]
Dvideo.h130 __u8 bLength; member
135 __u8 bLength; member
149 __u8 bLength; \
159 __u8 bLength; member
169 __u8 bLength; member
180 __u8 bLength; member
195 __u8 bLength; member
208 __u8 bLength; \
217 __u8 bLength; member
229 __u8 bLength; member
[all …]
Daudio.h93 __u8 bLength; member
104 __u8 bLength; \
113 __u8 bLength; member
134 __u8 bLength; member
161 __u8 bLength; \
171 __u8 bLength; member
223 return raw[desc->bLength - 1]; in uac_mixer_unit_iMixer()
226 __u8 bLength; member
236 return raw[desc->bLength - 1]; in uac_selector_unit_iSelector()
239 __u8 bLength; member
[all …]
Dcdc.h45 __u8 bLength; member
51 __u8 bLength; member
60 __u8 bLength; member
70 __u8 bLength; member
78 __u8 bLength; member
86 __u8 bLength; member
95 __u8 bLength; member
112 __u8 bLength; member
119 __u8 bLength; member
127 __u8 bLength; member
[all …]
Dmidi.h17 __u8 bLength; member
25 __u8 bLength; member
38 __u8 bLength; member
50 __u8 bLength; \
60 __u8 bLength; member
69 __u8 bLength; \
/kernel/linux/linux-5.10/include/linux/usb/
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 …]
Daudio-v2.h49 __u8 bLength; /* 9 */ member
60 __u8 bLength; /* in bytes: 6 */ member
71 __u8 bLength; member
91 __u8 bLength; member
103 __u8 bLength; member
115 __u8 bLength; member
132 __u8 bLength; member
149 __u8 bLength; member
162 __u8 bLength; member
174 __u8 bLength; member
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Dwebcam.c71 .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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_uvc.c68 .bLength = sizeof(uvc_iad),
79 .bLength = USB_DT_INTERFACE_SIZE,
91 .bLength = USB_DT_ENDPOINT_SIZE,
100 .bLength = sizeof(uvc_ss_control_comp),
109 .bLength = UVC_DT_CONTROL_ENDPOINT_SIZE,
116 .bLength = USB_DT_INTERFACE_SIZE,
128 .bLength = USB_DT_INTERFACE_SIZE,
140 .bLength = USB_DT_ENDPOINT_SIZE,
151 .bLength = USB_DT_ENDPOINT_SIZE,
162 .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_uac1.c61 .bLength = USB_DT_INTERFACE_SIZE,
80 .bLength = UAC_DT_AC_HEADER_LENGTH,
95 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
106 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
117 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
128 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
139 .bLength = USB_DT_INTERFACE_SIZE,
148 .bLength = USB_DT_INTERFACE_SIZE,
157 .bLength = USB_DT_INTERFACE_SIZE,
166 .bLength = USB_DT_INTERFACE_SIZE,
[all …]
Df_ecm.c102 .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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
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()

12345