| /Zephyr-latest/subsys/usb/device_next/class/ |
| D | loopback.c | 60 struct usb_desc_header nil_desc; 65 const struct usb_desc_header **const fs_desc; 66 const struct usb_desc_header **const hs_desc; 475 const static struct usb_desc_header *lb_fs_desc_##x[] = { \ 476 (struct usb_desc_header *) &lb_desc_##x.iad, \ 477 (struct usb_desc_header *) &lb_desc_##x.if0, \ 478 (struct usb_desc_header *) &lb_desc_##x.if0_in_ep, \ 479 (struct usb_desc_header *) &lb_desc_##x.if0_out_ep, \ 480 (struct usb_desc_header *) &lb_desc_##x.if1, \ 481 (struct usb_desc_header *) &lb_desc_##x.if1_int_in_ep, \ [all …]
|
| D | bt_hci.c | 107 struct usb_desc_header nil_desc; 113 const struct usb_desc_header **const fs_desc; 114 const struct usb_desc_header **const hs_desc; 611 const static struct usb_desc_header *bt_hci_fs_desc_##n[] = { \ 612 (struct usb_desc_header *) &bt_hci_desc_##n.iad, \ 613 (struct usb_desc_header *) &bt_hci_desc_##n.if0, \ 614 (struct usb_desc_header *) &bt_hci_desc_##n.if0_int_ep, \ 615 (struct usb_desc_header *) &bt_hci_desc_##n.if0_in_ep, \ 616 (struct usb_desc_header *) &bt_hci_desc_##n.if0_out_ep, \ 617 (struct usb_desc_header *) &bt_hci_desc_##n.if1_0, \ [all …]
|
| D | usbd_midi2.c | 144 struct usb_desc_header const **fs_descs; 145 struct usb_desc_header const **hs_descs; 732 static const struct usb_desc_header *usbd_midi_desc_array_fs_##n[] = { \ 733 (struct usb_desc_header *)&usbd_midi_desc_##n.iad, \ 734 (struct usb_desc_header *)&usbd_midi_desc_##n.if0_std, \ 735 (struct usb_desc_header *)&usbd_midi_desc_##n.if0_cs, \ 736 (struct usb_desc_header *)&usbd_midi_desc_##n.if1_0_std, \ 737 (struct usb_desc_header *)&usbd_midi_desc_##n.if1_0_ms_header, \ 738 (struct usb_desc_header *)&usbd_midi_desc_##n.if1_0_out_ep_fs, \ 739 (struct usb_desc_header *)&usbd_midi_desc_##n.if1_0_cs_out_ep, \ [all …]
|
| D | usbd_cdc_ecm.c | 78 struct usb_desc_header nil_desc; 85 const struct usb_desc_header **const fs_desc; 86 const struct usb_desc_header **const hs_desc; 781 const static struct usb_desc_header *cdc_ecm_fs_desc_##n[] = { \ 782 (struct usb_desc_header *) &cdc_ecm_desc_##n.iad, \ 783 (struct usb_desc_header *) &cdc_ecm_desc_##n.if0, \ 784 (struct usb_desc_header *) &cdc_ecm_desc_##n.if0_header, \ 785 (struct usb_desc_header *) &cdc_ecm_desc_##n.if0_union, \ 786 (struct usb_desc_header *) &cdc_ecm_desc_##n.if0_ecm, \ 787 (struct usb_desc_header *) &cdc_ecm_desc_##n.if0_int_ep, \ [all …]
|
| D | usbd_hid.c | 68 const struct usb_desc_header **fs_desc; 69 const struct usb_desc_header **hs_desc; 687 const static struct usb_desc_header *hid_fs_desc_##n[] = { \ 688 (struct usb_desc_header *) &hid_desc_##n.if0, \ 689 (struct usb_desc_header *) &hid_desc_##n.hid, \ 690 (struct usb_desc_header *) &hid_desc_##n.in_ep, \ 691 (struct usb_desc_header *) &hid_desc_##n.out_ep, \ 695 const static struct usb_desc_header *hid_hs_desc_##n[] = { \ 696 (struct usb_desc_header *) &hid_desc_##n.if0, \ 697 (struct usb_desc_header *) &hid_desc_##n.hid, \ [all …]
|
| D | usbd_cdc_ncm.c | 206 struct usb_desc_header nil_desc; 222 const struct usb_desc_header **const fs_desc; 223 const struct usb_desc_header **const hs_desc; 1340 const static struct usb_desc_header *cdc_ncm_fs_desc_##n[] = { \ 1341 (struct usb_desc_header *) &cdc_ncm_desc_##n.iad, \ 1342 (struct usb_desc_header *) &cdc_ncm_desc_##n.if0, \ 1343 (struct usb_desc_header *) &cdc_ncm_desc_##n.if0_header, \ 1344 (struct usb_desc_header *) &cdc_ncm_desc_##n.if0_union, \ 1345 (struct usb_desc_header *) &cdc_ncm_desc_##n.if0_ecm, \ 1346 (struct usb_desc_header *) &cdc_ncm_desc_##n.if0_ncm, \ [all …]
|
| D | usbd_cdc_acm.c | 80 struct usb_desc_header nil_desc; 90 const struct usb_desc_header **const fs_desc; 91 const struct usb_desc_header **const hs_desc; 1255 const static struct usb_desc_header *cdc_acm_fs_desc_##n[] = { \ 1256 (struct usb_desc_header *) &cdc_acm_desc_##n.iad, \ 1257 (struct usb_desc_header *) &cdc_acm_desc_##n.if0, \ 1258 (struct usb_desc_header *) &cdc_acm_desc_##n.if0_header, \ 1259 (struct usb_desc_header *) &cdc_acm_desc_##n.if0_cm, \ 1260 (struct usb_desc_header *) &cdc_acm_desc_##n.if0_acm, \ 1261 (struct usb_desc_header *) &cdc_acm_desc_##n.if0_union, \ [all …]
|
| D | usbd_uac2_macros.h | 361 (struct usb_desc_header *) &DESCRIPTOR_NAME(ac_entity, entity), \ 469 (struct usb_desc_header *) &DESCRIPTOR_NAME(as_general_desc, node), \ 470 (struct usb_desc_header *) &DESCRIPTOR_NAME(as_format_desc, node), 488 (struct usb_desc_header *) &DESCRIPTOR_NAME(ac_header, node), 527 (struct usb_desc_header *) &DESCRIPTOR_NAME(fs_iad, node), 530 (struct usb_desc_header *) &DESCRIPTOR_NAME(hs_iad, node), 557 (struct usb_desc_header *) &DESCRIPTOR_NAME(fs_ac_interface, node), 560 (struct usb_desc_header *) &DESCRIPTOR_NAME(hs_ac_interface, node), 577 (struct usb_desc_header *) &DESCRIPTOR_NAME(ac_endpoint, node), 671 (struct usb_desc_header *) &DESCRIPTOR_NAME(fs_as_if_alt##altnum, node), [all …]
|
| D | usbd_msc.c | 92 struct usb_desc_header nil_desc; 116 const struct usb_desc_header **const fs_desc; 117 const struct usb_desc_header **const hs_desc; 839 const static struct usb_desc_header *msc_bot_fs_desc_##n[] = { \ 840 (struct usb_desc_header *) &msc_bot_desc_##n.if0, \ 841 (struct usb_desc_header *) &msc_bot_desc_##n.if0_in_ep, \ 842 (struct usb_desc_header *) &msc_bot_desc_##n.if0_out_ep, \ 843 (struct usb_desc_header *) &msc_bot_desc_##n.nil_desc, \ 846 const static struct usb_desc_header *msc_bot_hs_desc_##n[] = { \ 847 (struct usb_desc_header *) &msc_bot_desc_##n.if0, \ [all …]
|
| D | usbd_dfu.c | 58 struct usb_desc_header **const runtime_mode_descs; 59 struct usb_desc_header **const dfu_mode_descs; 74 static struct usb_desc_header *runtime_mode_descs[] = { 75 (struct usb_desc_header *) &runtime_if0_desc, 76 (struct usb_desc_header *) &dfu_desc, 84 static struct usb_desc_header *dfu_mode_descs[CONFIG_USBD_DFU_NUMOF_IMAGES + 2]; 176 dfu_mode_descs[n] = (struct usb_desc_header *)if_desc; in usbd_dfu_preinit() 180 dfu_mode_descs[n] = (struct usb_desc_header *)&dfu_desc; in usbd_dfu_preinit()
|
| D | usbd_uac2.c | 95 const struct usb_desc_header **fs_descriptors; 96 const struct usb_desc_header **hs_descriptors; 131 const struct usb_desc_header *desc = NULL; in get_as_data_ep() 132 const struct usb_desc_header **descriptors; in get_as_data_ep() 153 const struct usb_desc_header *desc = NULL; in get_as_feedback_ep() 154 const struct usb_desc_header **descriptors; in get_as_feedback_ep() 448 const struct usb_desc_header **descriptors; in uac2_update() 980 static const struct usb_desc_header *uac2_fs_desc_##inst[] = \ 984 static const struct usb_desc_header *uac2_hs_desc_##inst[] = \
|
| /Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
| D | sfunc.c | 30 struct usb_desc_header nil_desc; 37 const struct usb_desc_header **const fs_desc; 38 const struct usb_desc_header **const hs_desc; 248 const static struct usb_desc_header *sfunc_fs_desc_##n[] = { \ 249 (struct usb_desc_header *) &sfunc_desc_##n.if0, \ 250 (struct usb_desc_header *) &sfunc_desc_##n.if0_in_ep, \ 251 (struct usb_desc_header *) &sfunc_desc_##n.if0_out_ep, \ 252 (struct usb_desc_header *) &sfunc_desc_##n.nil_desc, \ 255 const static struct usb_desc_header *sfunc_hs_desc_##n[] = { \ 256 (struct usb_desc_header *) &sfunc_desc_##n.if0, \ [all …]
|
| /Zephyr-latest/subsys/dap/ |
| D | dap_backend_usb.c | 33 struct usb_desc_header nil_desc; 40 const struct usb_desc_header **const fs_desc; 41 const struct usb_desc_header **const hs_desc; 275 const static struct usb_desc_header *dap_func_fs_desc_##n[] = { \ 276 (struct usb_desc_header *) &dap_func_desc_##n.if0, \ 277 (struct usb_desc_header *) &dap_func_desc_##n.if0_out_ep, \ 278 (struct usb_desc_header *) &dap_func_desc_##n.if0_in_ep, \ 279 (struct usb_desc_header *) &dap_func_desc_##n.nil_desc, \ 282 const static struct usb_desc_header *dap_func_hs_desc_##n[] = { \ 283 (struct usb_desc_header *) &dap_func_desc_##n.if0, \ [all …]
|
| /Zephyr-latest/tests/subsys/usb/desc_sections/src/ |
| D | desc_sections.c | 18 extern struct usb_desc_header __usb_descriptor_start[]; 19 extern struct usb_desc_header __usb_descriptor_end[]; 113 static void interface_config(struct usb_desc_header *head, in interface_config() 160 static void check_endpoint_allocation(struct usb_desc_header *head) in check_endpoint_allocation() 197 head = (struct usb_desc_header *)((uint8_t *)head + head->bLength); in check_endpoint_allocation() 208 struct usb_desc_header *head; in ZTEST() 233 head = (struct usb_desc_header *)__usb_descriptor_start; in ZTEST()
|
| /Zephyr-latest/tests/subsys/usb/uac2/src/ |
| D | uac2_desc.c | 192 const static struct usb_desc_header *uac2_fs_descriptor_set[] = 195 const static struct usb_desc_header *uac2_hs_descriptor_set[] = 284 const static struct usb_desc_header *fs_headphones_descriptor_set[] = 287 const static struct usb_desc_header *hs_headphones_descriptor_set[] = 290 static void test_uac2_descriptors(const struct usb_desc_header **descriptors, in test_uac2_descriptors() 293 const struct usb_desc_header **ptr = descriptors; in test_uac2_descriptors() 490 const struct usb_desc_header **fs_ptr = uac2_fs_descriptor_set; in ZTEST() 491 const struct usb_desc_header **hs_ptr = uac2_hs_descriptor_set; in ZTEST() 494 const struct usb_desc_header *fs = *fs_ptr; in ZTEST() 495 const struct usb_desc_header *hs = *hs_ptr; in ZTEST() [all …]
|
| /Zephyr-latest/subsys/usb/device/ |
| D | usb_descriptor.c | 36 extern struct usb_desc_header __usb_descriptor_start[]; 37 extern struct usb_desc_header __usb_descriptor_end[]; 179 USBD_TERM_DESCR_DEFINE(primary) struct usb_desc_header term_descr = { 218 struct usb_desc_header *head = __usb_descriptor_start; in usb_get_str_descriptor_idx() 225 if (head == (struct usb_desc_header *)str) { in usb_get_str_descriptor_idx() 236 head = (struct usb_desc_header *)((uint8_t *)head + head->bLength); in usb_get_str_descriptor_idx() 416 static int usb_fix_descriptor(struct usb_desc_header *head) in usb_fix_descriptor() 517 head = (struct usb_desc_header *)((uint8_t *)head + head->bLength); in usb_fix_descriptor()
|
| /Zephyr-latest/include/zephyr/usb/ |
| D | usb_device.h | 120 typedef void (*usb_interface_config)(struct usb_desc_header *head,
|
| D | usb_ch9.h | 144 struct usb_desc_header { struct
|
| /Zephyr-latest/subsys/usb/device/class/ |
| D | loopback.c | 160 static void loopback_interface_config(struct usb_desc_header *head, in loopback_interface_config()
|
| /Zephyr-latest/subsys/usb/device_next/ |
| D | usbd_interface.c | 59 struct usb_desc_header **dhp; in usbd_interface_modify()
|
| D | usbd_init.c | 117 struct usb_desc_header **dhp; in init_configuration_inst()
|
| /Zephyr-latest/subsys/usb/device/class/netusb/ |
| D | function_eem.c | 273 static void eem_interface_config(struct usb_desc_header *head, in eem_interface_config()
|
| /Zephyr-latest/subsys/usb/host/ |
| D | usbh_device.c | 155 struct usb_desc_header *dhp; in device_interface_modify() 268 struct usb_desc_header *dhp; in parse_configuration_descriptor()
|
| /Zephyr-latest/include/zephyr/drivers/usb/ |
| D | uhc.h | 57 struct usb_desc_header *dhp;
|
| /Zephyr-latest/subsys/usb/device/class/dfu/ |
| D | usb_dfu.c | 309 USBD_TERM_DESCR_DEFINE(secondary) struct usb_desc_header term_descr = { 841 static void dfu_interface_config(struct usb_desc_header *head, in dfu_interface_config()
|