Home
last modified time | relevance | path

Searched refs:usb_descriptor_header (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v6.6/drivers/usb/gadget/function/
Df_subset.c153 static struct usb_descriptor_header *fs_eth_function[] = {
154 (struct usb_descriptor_header *) &subset_data_intf,
155 (struct usb_descriptor_header *) &mdlm_header_desc,
156 (struct usb_descriptor_header *) &mdlm_desc,
157 (struct usb_descriptor_header *) &mdlm_detail_desc,
158 (struct usb_descriptor_header *) &ether_desc,
159 (struct usb_descriptor_header *) &fs_subset_in_desc,
160 (struct usb_descriptor_header *) &fs_subset_out_desc,
182 static struct usb_descriptor_header *hs_eth_function[] = {
183 (struct usb_descriptor_header *) &subset_data_intf,
[all …]
Df_acm.c175 static struct usb_descriptor_header *acm_fs_function[] = {
176 (struct usb_descriptor_header *) &acm_iad_descriptor,
177 (struct usb_descriptor_header *) &acm_control_interface_desc,
178 (struct usb_descriptor_header *) &acm_header_desc,
179 (struct usb_descriptor_header *) &acm_call_mgmt_descriptor,
180 (struct usb_descriptor_header *) &acm_descriptor,
181 (struct usb_descriptor_header *) &acm_union_desc,
182 (struct usb_descriptor_header *) &acm_fs_notify_desc,
183 (struct usb_descriptor_header *) &acm_data_interface_desc,
184 (struct usb_descriptor_header *) &acm_fs_in_desc,
[all …]
Df_ecm.c203 static struct usb_descriptor_header *ecm_fs_function[] = {
205 (struct usb_descriptor_header *) &ecm_iad_descriptor,
206 (struct usb_descriptor_header *) &ecm_control_intf,
207 (struct usb_descriptor_header *) &ecm_header_desc,
208 (struct usb_descriptor_header *) &ecm_union_desc,
209 (struct usb_descriptor_header *) &ecm_desc,
212 (struct usb_descriptor_header *) &fs_ecm_notify_desc,
215 (struct usb_descriptor_header *) &ecm_data_nop_intf,
216 (struct usb_descriptor_header *) &ecm_data_intf,
217 (struct usb_descriptor_header *) &fs_ecm_in_desc,
[all …]
Df_rndis.c200 static struct usb_descriptor_header *eth_fs_function[] = {
201 (struct usb_descriptor_header *) &rndis_iad_descriptor,
204 (struct usb_descriptor_header *) &rndis_control_intf,
205 (struct usb_descriptor_header *) &header_desc,
206 (struct usb_descriptor_header *) &call_mgmt_descriptor,
207 (struct usb_descriptor_header *) &rndis_acm_descriptor,
208 (struct usb_descriptor_header *) &rndis_union_desc,
209 (struct usb_descriptor_header *) &fs_notify_desc,
212 (struct usb_descriptor_header *) &rndis_data_intf,
213 (struct usb_descriptor_header *) &fs_in_desc,
[all …]
Df_uac2.c529 static struct usb_descriptor_header *fs_audio_desc[] = {
530 (struct usb_descriptor_header *)&iad_desc,
531 (struct usb_descriptor_header *)&std_ac_if_desc,
533 (struct usb_descriptor_header *)&ac_hdr_desc,
534 (struct usb_descriptor_header *)&in_clk_src_desc,
535 (struct usb_descriptor_header *)&out_clk_src_desc,
536 (struct usb_descriptor_header *)&usb_out_it_desc,
537 (struct usb_descriptor_header *)&out_feature_unit_desc,
538 (struct usb_descriptor_header *)&io_in_it_desc,
539 (struct usb_descriptor_header *)&usb_in_ot_desc,
[all …]
Df_obex.c143 static struct usb_descriptor_header *hs_function[] = {
144 (struct usb_descriptor_header *) &obex_control_intf,
145 (struct usb_descriptor_header *) &obex_cdc_header_desc,
146 (struct usb_descriptor_header *) &obex_desc,
147 (struct usb_descriptor_header *) &obex_cdc_union_desc,
149 (struct usb_descriptor_header *) &obex_data_nop_intf,
150 (struct usb_descriptor_header *) &obex_data_intf,
151 (struct usb_descriptor_header *) &obex_hs_ep_in_desc,
152 (struct usb_descriptor_header *) &obex_hs_ep_out_desc,
174 static struct usb_descriptor_header *fs_function[] = {
[all …]
Df_serial.c69 static struct usb_descriptor_header *gser_fs_function[] = {
70 (struct usb_descriptor_header *) &gser_interface_desc,
71 (struct usb_descriptor_header *) &gser_fs_in_desc,
72 (struct usb_descriptor_header *) &gser_fs_out_desc,
92 static struct usb_descriptor_header *gser_hs_function[] = {
93 (struct usb_descriptor_header *) &gser_interface_desc,
94 (struct usb_descriptor_header *) &gser_hs_in_desc,
95 (struct usb_descriptor_header *) &gser_hs_out_desc,
118 static struct usb_descriptor_header *gser_ss_function[] = {
119 (struct usb_descriptor_header *) &gser_interface_desc,
[all …]
Dstorage_common.c70 struct usb_descriptor_header *fsg_fs_function[] = {
71 (struct usb_descriptor_header *) &fsg_intf_desc,
72 (struct usb_descriptor_header *) &fsg_fs_bulk_in_desc,
73 (struct usb_descriptor_header *) &fsg_fs_bulk_out_desc,
107 struct usb_descriptor_header *fsg_hs_function[] = {
108 (struct usb_descriptor_header *) &fsg_intf_desc,
109 (struct usb_descriptor_header *) &fsg_hs_bulk_in_desc,
110 (struct usb_descriptor_header *) &fsg_hs_bulk_out_desc,
151 struct usb_descriptor_header *fsg_ss_function[] = {
152 (struct usb_descriptor_header *) &fsg_intf_desc,
[all …]
Df_ncm.c257 static struct usb_descriptor_header *ncm_fs_function[] = {
258 (struct usb_descriptor_header *) &ncm_iad_desc,
260 (struct usb_descriptor_header *) &ncm_control_intf,
261 (struct usb_descriptor_header *) &ncm_header_desc,
262 (struct usb_descriptor_header *) &ncm_union_desc,
263 (struct usb_descriptor_header *) &ecm_desc,
264 (struct usb_descriptor_header *) &ncm_desc,
265 (struct usb_descriptor_header *) &fs_ncm_notify_desc,
267 (struct usb_descriptor_header *) &ncm_data_nop_intf,
268 (struct usb_descriptor_header *) &ncm_data_intf,
[all …]
Df_sourcesink.c118 static struct usb_descriptor_header *fs_source_sink_descs[] = {
119 (struct usb_descriptor_header *) &source_sink_intf_alt0,
120 (struct usb_descriptor_header *) &fs_sink_desc,
121 (struct usb_descriptor_header *) &fs_source_desc,
122 (struct usb_descriptor_header *) &source_sink_intf_alt1,
124 (struct usb_descriptor_header *) &fs_sink_desc,
125 (struct usb_descriptor_header *) &fs_source_desc,
126 (struct usb_descriptor_header *) &fs_iso_sink_desc,
127 (struct usb_descriptor_header *) &fs_iso_source_desc,
167 static struct usb_descriptor_header *hs_source_sink_descs[] = {
[all …]
Df_phonet.c162 static struct usb_descriptor_header *fs_pn_function[] = {
163 (struct usb_descriptor_header *) &pn_control_intf_desc,
164 (struct usb_descriptor_header *) &pn_header_desc,
165 (struct usb_descriptor_header *) &pn_phonet_desc,
166 (struct usb_descriptor_header *) &pn_union_desc,
167 (struct usb_descriptor_header *) &pn_data_nop_intf_desc,
168 (struct usb_descriptor_header *) &pn_data_intf_desc,
169 (struct usb_descriptor_header *) &pn_fs_sink_desc,
170 (struct usb_descriptor_header *) &pn_fs_source_desc,
174 static struct usb_descriptor_header *hs_pn_function[] = {
[all …]
Df_loopback.c72 static struct usb_descriptor_header *fs_loopback_descs[] = {
73 (struct usb_descriptor_header *) &loopback_intf,
74 (struct usb_descriptor_header *) &fs_loop_sink_desc,
75 (struct usb_descriptor_header *) &fs_loop_source_desc,
97 static struct usb_descriptor_header *hs_loopback_descs[] = {
98 (struct usb_descriptor_header *) &loopback_intf,
99 (struct usb_descriptor_header *) &hs_loop_source_desc,
100 (struct usb_descriptor_header *) &hs_loop_sink_desc,
138 static struct usb_descriptor_header *ss_loopback_descs[] = {
139 (struct usb_descriptor_header *) &loopback_intf,
[all …]
Df_hid.c168 static struct usb_descriptor_header *hidg_ss_descriptors_intout[] = {
169 (struct usb_descriptor_header *)&hidg_interface_desc,
170 (struct usb_descriptor_header *)&hidg_desc,
171 (struct usb_descriptor_header *)&hidg_ss_in_ep_desc,
172 (struct usb_descriptor_header *)&hidg_ss_in_comp_desc,
173 (struct usb_descriptor_header *)&hidg_ss_out_ep_desc,
174 (struct usb_descriptor_header *)&hidg_ss_out_comp_desc,
178 static struct usb_descriptor_header *hidg_ss_descriptors_ssreport[] = {
179 (struct usb_descriptor_header *)&hidg_interface_desc,
180 (struct usb_descriptor_header *)&hidg_desc,
[all …]
Df_eem.c77 static struct usb_descriptor_header *eem_fs_function[] = {
79 (struct usb_descriptor_header *) &eem_intf,
80 (struct usb_descriptor_header *) &eem_fs_in_desc,
81 (struct usb_descriptor_header *) &eem_fs_out_desc,
105 static struct usb_descriptor_header *eem_hs_function[] = {
107 (struct usb_descriptor_header *) &eem_intf,
108 (struct usb_descriptor_header *) &eem_hs_in_desc,
109 (struct usb_descriptor_header *) &eem_hs_out_desc,
142 static struct usb_descriptor_header *eem_ss_function[] = {
144 (struct usb_descriptor_header *) &eem_intf,
[all …]
Df_tcm.c1866 static struct usb_descriptor_header *uasp_fs_function_desc[] = {
1867 (struct usb_descriptor_header *) &bot_intf_desc,
1868 (struct usb_descriptor_header *) &uasp_fs_bi_desc,
1869 (struct usb_descriptor_header *) &uasp_fs_bo_desc,
1871 (struct usb_descriptor_header *) &uasp_intf_desc,
1872 (struct usb_descriptor_header *) &uasp_fs_bi_desc,
1873 (struct usb_descriptor_header *) &uasp_bi_pipe_desc,
1874 (struct usb_descriptor_header *) &uasp_fs_bo_desc,
1875 (struct usb_descriptor_header *) &uasp_bo_pipe_desc,
1876 (struct usb_descriptor_header *) &uasp_fs_status_desc,
[all …]
Df_uvc.c181 static const struct usb_descriptor_header * const uvc_fs_streaming[] = {
182 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
183 (struct usb_descriptor_header *) &uvc_fs_streaming_ep,
187 static const struct usb_descriptor_header * const uvc_hs_streaming[] = {
188 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
189 (struct usb_descriptor_header *) &uvc_hs_streaming_ep,
193 static const struct usb_descriptor_header * const uvc_ss_streaming[] = {
194 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
195 (struct usb_descriptor_header *) &uvc_ss_streaming_ep,
196 (struct usb_descriptor_header *) &uvc_ss_streaming_comp,
[all …]
Df_midi.c869 struct usb_descriptor_header **midi_function; in f_midi_bind()
933 midi_function[i++] = (struct usb_descriptor_header *) &ac_interface_desc; in f_midi_bind()
934 midi_function[i++] = (struct usb_descriptor_header *) &ac_header_desc; in f_midi_bind()
935 midi_function[i++] = (struct usb_descriptor_header *) &ms_interface_desc; in f_midi_bind()
943 midi_function[i++] = (struct usb_descriptor_header *) &ms_header_desc; in f_midi_bind()
956 midi_function[i++] = (struct usb_descriptor_header *) in_ext; in f_midi_bind()
967 midi_function[i++] = (struct usb_descriptor_header *) out_emb; in f_midi_bind()
984 midi_function[i++] = (struct usb_descriptor_header *) in_emb; in f_midi_bind()
995 midi_function[i++] = (struct usb_descriptor_header *) out_ext; in f_midi_bind()
1010 midi_function[i++] = (struct usb_descriptor_header *) &bulk_out_desc; in f_midi_bind()
[all …]
Df_uac1_legacy.c113 .desc = (struct usb_descriptor_header *)&feature_unit_desc,
189 static struct usb_descriptor_header *f_audio_desc[] = {
190 (struct usb_descriptor_header *)&ac_interface_desc,
191 (struct usb_descriptor_header *)&ac_header_desc,
193 (struct usb_descriptor_header *)&input_terminal_desc,
194 (struct usb_descriptor_header *)&output_terminal_desc,
195 (struct usb_descriptor_header *)&feature_unit_desc,
197 (struct usb_descriptor_header *)&as_interface_alt_0_desc,
198 (struct usb_descriptor_header *)&as_interface_alt_1_desc,
199 (struct usb_descriptor_header *)&as_header_desc,
[all …]
Df_uac1.c261 static struct usb_descriptor_header *f_audio_desc[] = {
262 (struct usb_descriptor_header *)&ac_interface_desc,
263 (struct usb_descriptor_header *)&ac_header_desc,
265 (struct usb_descriptor_header *)&usb_out_it_desc,
266 (struct usb_descriptor_header *)&io_out_ot_desc,
267 (struct usb_descriptor_header *)&out_feature_unit_desc,
269 (struct usb_descriptor_header *)&io_in_it_desc,
270 (struct usb_descriptor_header *)&usb_in_ot_desc,
271 (struct usb_descriptor_header *)&in_feature_unit_desc,
273 (struct usb_descriptor_header *)&ac_int_ep_desc,
[all …]
Dstorage_common.h188 extern struct usb_descriptor_header *fsg_fs_function[];
192 extern struct usb_descriptor_header *fsg_hs_function[];
198 extern struct usb_descriptor_header *fsg_ss_function[];
Df_printer.c139 static struct usb_descriptor_header *fs_printer_function[] = {
140 (struct usb_descriptor_header *) &intf_desc,
141 (struct usb_descriptor_header *) &fs_ep_in_desc,
142 (struct usb_descriptor_header *) &fs_ep_out_desc,
165 static struct usb_descriptor_header *hs_printer_function[] = {
166 (struct usb_descriptor_header *) &intf_desc,
167 (struct usb_descriptor_header *) &hs_ep_in_desc,
168 (struct usb_descriptor_header *) &hs_ep_out_desc,
200 static struct usb_descriptor_header *ss_printer_function[] = {
201 (struct usb_descriptor_header *) &intf_desc,
[all …]
/Linux-v6.6/drivers/usb/gadget/
Dconfig.c35 const struct usb_descriptor_header **src) in usb_descriptor_fillbuf()
80 const struct usb_descriptor_header **desc in usb_gadget_config_buf()
121 struct usb_descriptor_header **
122 usb_copy_descriptors(struct usb_descriptor_header **src) in usb_copy_descriptors()
124 struct usb_descriptor_header **tmp; in usb_copy_descriptors()
128 struct usb_descriptor_header **ret; in usb_copy_descriptors()
160 struct usb_descriptor_header **fs, in usb_assign_descriptors()
161 struct usb_descriptor_header **hs, in usb_assign_descriptors()
162 struct usb_descriptor_header **ss, in usb_assign_descriptors()
163 struct usb_descriptor_header **ssp) in usb_assign_descriptors()
[all …]
/Linux-v6.6/include/linux/usb/
Dgadget.h850 const struct usb_descriptor_header **);
854 void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
857 struct usb_descriptor_header **usb_copy_descriptors(
858 struct usb_descriptor_header **);
864 static inline void usb_free_descriptors(struct usb_descriptor_header **v) in usb_free_descriptors()
871 struct usb_descriptor_header **fs,
872 struct usb_descriptor_header **hs,
873 struct usb_descriptor_header **ss,
874 struct usb_descriptor_header **ssp);
877 struct usb_descriptor_header *usb_otg_descriptor_alloc(
[all …]
Dcomposite.h184 struct usb_descriptor_header **fs_descriptors;
185 struct usb_descriptor_header **hs_descriptors;
186 struct usb_descriptor_header **ss_descriptors;
187 struct usb_descriptor_header **ssp_descriptors;
298 const struct usb_descriptor_header **descriptors;
/Linux-v6.6/drivers/usb/gadget/legacy/
Dncm.c68 static const struct usb_descriptor_header *otg_desc[2];
156 struct usb_descriptor_header *usb_desc; in gncm_bind()

12