Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dether.c667 static const struct usb_descriptor_header *fs_eth_function[11] = {
668 (struct usb_descriptor_header *) &otg_descriptor,
671 (struct usb_descriptor_header *) &control_intf,
672 (struct usb_descriptor_header *) &header_desc,
673 (struct usb_descriptor_header *) &union_desc,
674 (struct usb_descriptor_header *) &ether_desc,
676 (struct usb_descriptor_header *) &fs_status_desc,
678 (struct usb_descriptor_header *) &data_nop_intf,
679 (struct usb_descriptor_header *) &data_intf,
680 (struct usb_descriptor_header *) &fs_source_desc,
[all …]
H A Dstorage_common.c461 static struct usb_descriptor_header *fsg_fs_function[] = {
463 (struct usb_descriptor_header *) &fsg_otg_desc,
465 (struct usb_descriptor_header *) &fsg_intf_desc,
466 (struct usb_descriptor_header *) &fsg_fs_bulk_in_desc,
467 (struct usb_descriptor_header *) &fsg_fs_bulk_out_desc,
469 (struct usb_descriptor_header *) &fsg_fs_intr_in_desc,
524 static struct usb_descriptor_header *fsg_hs_function[] = {
526 (struct usb_descriptor_header *) &fsg_otg_desc,
528 (struct usb_descriptor_header *) &fsg_intf_desc,
529 (struct usb_descriptor_header *) &fsg_hs_bulk_in_desc,
[all …]
H A Dconfig.c36 const struct usb_descriptor_header **src) in usb_descriptor_fillbuf()
81 const struct usb_descriptor_header **desc in usb_gadget_config_buf()
H A Df_thor.c499 static const struct usb_descriptor_header *hs_thor_downloader_function[] = {
500 (struct usb_descriptor_header *)&thor_iad_descriptor,
502 (struct usb_descriptor_header *)&thor_downloader_intf_int,
503 (struct usb_descriptor_header *)&thor_downloader_cdc_header,
504 (struct usb_descriptor_header *)&thor_downloader_cdc_call,
505 (struct usb_descriptor_header *)&thor_downloader_cdc_abstract,
506 (struct usb_descriptor_header *)&thor_downloader_cdc_union,
507 (struct usb_descriptor_header *)&hs_int_desc,
509 (struct usb_descriptor_header *)&thor_downloader_intf_data,
510 (struct usb_descriptor_header *)&thor_downloader_cdc_av,
[all …]
H A Df_rockusb.c44 static struct usb_descriptor_header *rkusb_fs_function[] = {
45 (struct usb_descriptor_header *)&rkusb_intf_desc,
46 (struct usb_descriptor_header *)&fsg_fs_bulk_in_desc,
47 (struct usb_descriptor_header *)&fsg_fs_bulk_out_desc,
51 static struct usb_descriptor_header *rkusb_hs_function[] = {
52 (struct usb_descriptor_header *)&rkusb_intf_desc,
53 (struct usb_descriptor_header *)&fsg_hs_bulk_in_desc,
54 (struct usb_descriptor_header *)&fsg_hs_bulk_out_desc,
58 static struct usb_descriptor_header *rkusb_ss_function[] = {
59 (struct usb_descriptor_header *)&rkusb_intf_desc,
[all …]
H A Df_fastboot.c163 static struct usb_descriptor_header *fb_fs_function[] = {
164 (struct usb_descriptor_header *)&interface_desc,
165 (struct usb_descriptor_header *)&fs_ep_in,
166 (struct usb_descriptor_header *)&fs_ep_out,
169 static struct usb_descriptor_header *fb_hs_function[] = {
170 (struct usb_descriptor_header *)&interface_desc,
171 (struct usb_descriptor_header *)&hs_ep_in,
172 (struct usb_descriptor_header *)&hs_ep_out,
176 static struct usb_descriptor_header *fb_ss_function[] = {
177 (struct usb_descriptor_header *)&interface_desc,
[all …]
H A Df_sdp.c98 struct usb_descriptor_header **function;
161 static struct usb_descriptor_header *sdp_runtime_descs[] = {
162 (struct usb_descriptor_header *)&sdp_intf_runtime,
163 (struct usb_descriptor_header *)&sdp_hid_desc,
164 (struct usb_descriptor_header *)&in_desc,
H A Df_dfu.c33 struct usb_descriptor_header **function;
81 static struct usb_descriptor_header *dfu_runtime_descs[] = {
82 (struct usb_descriptor_header *) &dfu_intf_runtime,
649 f_dfu->function = calloc(sizeof(struct usb_descriptor_header *), n + 2); in dfu_prepare_function()
666 f_dfu->function[i] = (struct usb_descriptor_header *)d; in dfu_prepare_function()
H A Dcomposite.c177 struct usb_descriptor_header **descriptors; in config_buf()
219 (const struct usb_descriptor_header **) descriptors); in config_buf()
337 struct usb_descriptor_header **descriptors; in set_config()
H A Df_mass_storage.c2641 struct usb_descriptor_header **
2642 usb_copy_descriptors(struct usb_descriptor_header **src) in usb_copy_descriptors()
2644 struct usb_descriptor_header **tmp; in usb_copy_descriptors()
2648 struct usb_descriptor_header **ret; in usb_copy_descriptors()
/rk3399_rockchip-uboot/include/linux/usb/
H A Dcomposite.h100 struct usb_descriptor_header **descriptors;
101 struct usb_descriptor_header **hs_descriptors;
102 struct usb_descriptor_header **ss_descriptors;
205 const struct usb_descriptor_header **descriptors;
H A Dgadget.h920 const struct usb_descriptor_header **);
924 void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
H A Dch9.h246 struct usb_descriptor_header { struct
/rk3399_rockchip-uboot/include/
H A Drockusb.h78 static struct usb_descriptor_header *rkusb_fs_function[];
79 static struct usb_descriptor_header *rkusb_hs_function[];
/rk3399_rockchip-uboot/common/
H A Dusb.c380 struct usb_descriptor_header *head; in usb_parse_config()
390 head = (struct usb_descriptor_header *) &buffer[0]; in usb_parse_config()
406 head = (struct usb_descriptor_header *) &buffer[index]; in usb_parse_config()
521 head = (struct usb_descriptor_header *)&buffer[index]; in usb_parse_config()