Home
last modified time | relevance | path

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

1234

/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 …]
/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 …]
Dusb.c730 dev->ep0.desc.bLength = USB_DT_ENDPOINT_SIZE; in usb_alloc_dev()
1002 if (header->bLength < 2 || header->bLength > size) { in __usb_get_extra_descriptor()
1007 header->bLength); in __usb_get_extra_descriptor()
1011 if (header->bDescriptorType == type && header->bLength >= minsize) { in __usb_get_extra_descriptor()
1016 buffer += header->bLength; in __usb_get_extra_descriptor()
1017 size -= header->bLength; in __usb_get_extra_descriptor()
/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_control_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.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 …]
Df_uac2.c138 .bLength = sizeof iad_desc,
150 .bLength = sizeof std_ac_if_desc,
162 .bLength = sizeof in_clk_src_desc,
174 .bLength = sizeof out_clk_src_desc,
186 .bLength = sizeof usb_out_it_desc,
200 .bLength = sizeof io_in_it_desc,
214 .bLength = sizeof usb_in_ot_desc,
228 .bLength = sizeof io_out_ot_desc,
244 .bLength = sizeof ac_hdr_desc,
256 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_acm.c95 .bLength = sizeof acm_iad_descriptor,
108 .bLength = USB_DT_INTERFACE_SIZE,
119 .bLength = USB_DT_INTERFACE_SIZE,
130 .bLength = sizeof(acm_header_desc),
138 .bLength = sizeof(acm_call_mgmt_descriptor),
146 .bLength = sizeof(acm_descriptor),
153 .bLength = sizeof(acm_union_desc),
163 .bLength = USB_DT_ENDPOINT_SIZE,
172 .bLength = USB_DT_ENDPOINT_SIZE,
179 .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.c112 .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 …]
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.c33 .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),
Df_uac1.c72 .bLength = USB_DT_INTERFACE_SIZE,
83 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
93 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
103 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
113 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
127 .bLength = USB_DT_ENDPOINT_SIZE,
137 .bLength = USB_DT_INTERFACE_SIZE,
146 .bLength = USB_DT_INTERFACE_SIZE,
155 .bLength = USB_DT_INTERFACE_SIZE,
164 .bLength = USB_DT_INTERFACE_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,
Df_sourcesink.c61 .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 = USB_DT_ENDPOINT_SIZE,
[all …]
Df_phonet.c68 .bLength = sizeof pn_control_intf_desc,
78 .bLength = sizeof pn_header_desc,
86 .bLength = sizeof pn_phonet_desc,
94 .bLength = sizeof pn_union_desc,
104 .bLength = sizeof pn_data_nop_intf_desc,
115 .bLength = sizeof pn_data_intf_desc,
126 .bLength = USB_DT_ENDPOINT_SIZE,
135 .bLength = USB_DT_ENDPOINT_SIZE,
145 .bLength = USB_DT_ENDPOINT_SIZE,
154 .bLength = USB_DT_ENDPOINT_SIZE,
Df_ncm.c148 .bLength = sizeof ncm_iad_desc,
162 .bLength = sizeof ncm_control_intf,
174 .bLength = sizeof ncm_header_desc,
182 .bLength = sizeof(ncm_union_desc),
190 .bLength = sizeof ecm_desc,
205 .bLength = sizeof ncm_desc,
217 .bLength = sizeof ncm_data_nop_intf,
232 .bLength = sizeof ncm_data_intf,
247 .bLength = USB_DT_ENDPOINT_SIZE,
257 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_audio_source.c47 .bLength = USB_DT_INTERFACE_SIZE,
63 .bLength = UAC_DT_AC_HEADER_LENGTH,
77 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
90 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0),
100 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
111 .bLength = USB_DT_INTERFACE_SIZE,
120 .bLength = USB_DT_INTERFACE_SIZE,
130 .bLength = UAC_DT_AS_HEADER_SIZE,
141 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1),
152 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
[all …]
Df_eem.c48 .bLength = sizeof eem_intf,
62 .bLength = USB_DT_ENDPOINT_SIZE,
70 .bLength = USB_DT_ENDPOINT_SIZE,
88 .bLength = USB_DT_ENDPOINT_SIZE,
97 .bLength = USB_DT_ENDPOINT_SIZE,
116 .bLength = USB_DT_ENDPOINT_SIZE,
125 .bLength = USB_DT_ENDPOINT_SIZE,
134 .bLength = sizeof eem_ss_bulk_comp_desc,
Df_uac1_legacy.c35 .bLength = USB_DT_INTERFACE_SIZE,
54 .bLength = UAC_DT_AC_HEADER_LENGTH,
68 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
81 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0),
118 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
129 .bLength = USB_DT_INTERFACE_SIZE,
138 .bLength = USB_DT_INTERFACE_SIZE,
148 .bLength = UAC_DT_AS_HEADER_SIZE,
159 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1),
170 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
[all …]
Df_midi.c120 .bLength = USB_DT_INTERFACE_SIZE,
131 .bLength = UAC_DT_AC_HEADER_SIZE(1),
142 .bLength = USB_DT_INTERFACE_SIZE,
153 .bLength = USB_DT_MS_HEADER_SIZE,
162 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
169 .bLength = sizeof(bulk_out_ss_comp_desc),
186 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
193 .bLength = sizeof(bulk_in_ss_comp_desc),
950 in_ext->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind()
958 out_emb->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind()
[all …]
Df_tcm.c1745 .bLength = sizeof(bot_intf_desc),
1755 .bLength = sizeof(uasp_intf_desc),
1765 .bLength = USB_DT_ENDPOINT_SIZE,
1773 .bLength = USB_DT_ENDPOINT_SIZE,
1780 .bLength = sizeof(uasp_bi_pipe_desc),
1786 .bLength = USB_DT_ENDPOINT_SIZE,
1794 .bLength = sizeof(uasp_bi_ep_comp_desc),
1802 .bLength = sizeof(bot_bi_ep_comp_desc),
1808 .bLength = USB_DT_ENDPOINT_SIZE,
1816 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_hid.c100 .bLength = sizeof hidg_interface_desc,
112 .bLength = sizeof hidg_desc,
124 .bLength = USB_DT_ENDPOINT_SIZE,
136 .bLength = sizeof(hidg_ss_in_comp_desc),
145 .bLength = USB_DT_ENDPOINT_SIZE,
157 .bLength = sizeof(hidg_ss_out_comp_desc),
186 .bLength = USB_DT_ENDPOINT_SIZE,
198 .bLength = USB_DT_ENDPOINT_SIZE,
227 .bLength = USB_DT_ENDPOINT_SIZE,
239 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
/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()
/drivers/net/usb/
Dzaurus.c157 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()

1234