Home
last modified time | relevance | path

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

12

/linux-5.19.10/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_ecm.c214 static struct usb_descriptor_header *ecm_fs_function[] = {
216 (struct usb_descriptor_header *) &ecm_iad_descriptor,
217 (struct usb_descriptor_header *) &ecm_control_intf,
218 (struct usb_descriptor_header *) &ecm_header_desc,
219 (struct usb_descriptor_header *) &ecm_union_desc,
220 (struct usb_descriptor_header *) &ecm_desc,
223 (struct usb_descriptor_header *) &fs_ecm_notify_desc,
226 (struct usb_descriptor_header *) &ecm_data_nop_intf,
227 (struct usb_descriptor_header *) &ecm_data_intf,
228 (struct usb_descriptor_header *) &fs_ecm_in_desc,
[all …]
Df_acm.c185 static struct usb_descriptor_header *acm_fs_function[] = {
186 (struct usb_descriptor_header *) &acm_iad_descriptor,
187 (struct usb_descriptor_header *) &acm_control_interface_desc,
188 (struct usb_descriptor_header *) &acm_header_desc,
189 (struct usb_descriptor_header *) &acm_call_mgmt_descriptor,
190 (struct usb_descriptor_header *) &acm_descriptor,
191 (struct usb_descriptor_header *) &acm_union_desc,
192 (struct usb_descriptor_header *) &acm_fs_notify_desc,
193 (struct usb_descriptor_header *) &acm_data_interface_desc,
194 (struct usb_descriptor_header *) &acm_fs_in_desc,
[all …]
Df_rndis.c213 static struct usb_descriptor_header *eth_fs_function[] = {
214 (struct usb_descriptor_header *) &rndis_iad_descriptor,
217 (struct usb_descriptor_header *) &rndis_control_intf,
218 (struct usb_descriptor_header *) &header_desc,
219 (struct usb_descriptor_header *) &call_mgmt_descriptor,
220 (struct usb_descriptor_header *) &rndis_acm_descriptor,
221 (struct usb_descriptor_header *) &rndis_union_desc,
222 (struct usb_descriptor_header *) &fs_notify_desc,
225 (struct usb_descriptor_header *) &rndis_data_intf,
226 (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.c69 struct usb_descriptor_header *fsg_fs_function[] = {
70 (struct usb_descriptor_header *) &fsg_intf_desc,
71 (struct usb_descriptor_header *) &fsg_fs_bulk_in_desc,
72 (struct usb_descriptor_header *) &fsg_fs_bulk_out_desc,
106 struct usb_descriptor_header *fsg_hs_function[] = {
107 (struct usb_descriptor_header *) &fsg_intf_desc,
108 (struct usb_descriptor_header *) &fsg_hs_bulk_in_desc,
109 (struct usb_descriptor_header *) &fsg_hs_bulk_out_desc,
150 struct usb_descriptor_header *fsg_ss_function[] = {
151 (struct usb_descriptor_header *) &fsg_intf_desc,
[all …]
Df_ncm.c270 static struct usb_descriptor_header *ncm_fs_function[] = {
271 (struct usb_descriptor_header *) &ncm_iad_desc,
273 (struct usb_descriptor_header *) &ncm_control_intf,
274 (struct usb_descriptor_header *) &ncm_header_desc,
275 (struct usb_descriptor_header *) &ncm_union_desc,
276 (struct usb_descriptor_header *) &ecm_desc,
277 (struct usb_descriptor_header *) &ncm_desc,
278 (struct usb_descriptor_header *) &fs_ncm_notify_desc,
280 (struct usb_descriptor_header *) &ncm_data_nop_intf,
281 (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.c156 static struct usb_descriptor_header *hidg_ss_descriptors_intout[] = {
157 (struct usb_descriptor_header *)&hidg_interface_desc,
158 (struct usb_descriptor_header *)&hidg_desc,
159 (struct usb_descriptor_header *)&hidg_ss_in_ep_desc,
160 (struct usb_descriptor_header *)&hidg_ss_in_comp_desc,
161 (struct usb_descriptor_header *)&hidg_ss_out_ep_desc,
162 (struct usb_descriptor_header *)&hidg_ss_out_comp_desc,
166 static struct usb_descriptor_header *hidg_ss_descriptors_ssreport[] = {
167 (struct usb_descriptor_header *)&hidg_interface_desc,
168 (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_uvc.c184 static const struct usb_descriptor_header * const uvc_fs_streaming[] = {
185 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
186 (struct usb_descriptor_header *) &uvc_fs_streaming_ep,
190 static const struct usb_descriptor_header * const uvc_hs_streaming[] = {
191 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
192 (struct usb_descriptor_header *) &uvc_hs_streaming_ep,
196 static const struct usb_descriptor_header * const uvc_ss_streaming[] = {
197 (struct usb_descriptor_header *) &uvc_streaming_intf_alt1,
198 (struct usb_descriptor_header *) &uvc_ss_streaming_ep,
199 (struct usb_descriptor_header *) &uvc_ss_streaming_comp,
[all …]
Df_tcm.c1897 static struct usb_descriptor_header *uasp_fs_function_desc[] = {
1898 (struct usb_descriptor_header *) &bot_intf_desc,
1899 (struct usb_descriptor_header *) &uasp_fs_bi_desc,
1900 (struct usb_descriptor_header *) &uasp_fs_bo_desc,
1902 (struct usb_descriptor_header *) &uasp_intf_desc,
1903 (struct usb_descriptor_header *) &uasp_fs_bi_desc,
1904 (struct usb_descriptor_header *) &uasp_bi_pipe_desc,
1905 (struct usb_descriptor_header *) &uasp_fs_bo_desc,
1906 (struct usb_descriptor_header *) &uasp_bo_pipe_desc,
1907 (struct usb_descriptor_header *) &uasp_fs_status_desc,
[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.c136 static struct usb_descriptor_header *fs_printer_function[] = {
137 (struct usb_descriptor_header *) &intf_desc,
138 (struct usb_descriptor_header *) &fs_ep_in_desc,
139 (struct usb_descriptor_header *) &fs_ep_out_desc,
162 static struct usb_descriptor_header *hs_printer_function[] = {
163 (struct usb_descriptor_header *) &intf_desc,
164 (struct usb_descriptor_header *) &hs_ep_in_desc,
165 (struct usb_descriptor_header *) &hs_ep_out_desc,
197 static struct usb_descriptor_header *ss_printer_function[] = {
198 (struct usb_descriptor_header *) &intf_desc,
[all …]
/linux-5.19.10/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-5.19.10/include/linux/usb/
Dgadget.h832 const struct usb_descriptor_header **);
836 void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
839 struct usb_descriptor_header **usb_copy_descriptors(
840 struct usb_descriptor_header **);
846 static inline void usb_free_descriptors(struct usb_descriptor_header **v) in usb_free_descriptors()
853 struct usb_descriptor_header **fs,
854 struct usb_descriptor_header **hs,
855 struct usb_descriptor_header **ss,
856 struct usb_descriptor_header **ssp);
859 struct usb_descriptor_header *usb_otg_descriptor_alloc(
[all …]
Dcomposite.h194 struct usb_descriptor_header **fs_descriptors;
195 struct usb_descriptor_header **hs_descriptors;
196 struct usb_descriptor_header **ss_descriptors;
197 struct usb_descriptor_header **ssp_descriptors;
305 const struct usb_descriptor_header **descriptors;
/linux-5.19.10/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