Home
last modified time | relevance | path

Searched refs:bDescriptorType (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-latest/subsys/usb/device_next/
Dusbd_desc.c22 return a->bDescriptorType == b->bDescriptorType; in desc_type_equal()
89 if (desc_nd->bDescriptorType == type) { in usbd_get_descriptor()
90 if (desc_nd->bDescriptorType == USB_DESC_STRING) { in usbd_get_descriptor()
96 if (desc_nd->bDescriptorType == USB_DESC_BOS) { in usbd_get_descriptor()
145 if (desc_nd->bDescriptorType == USB_DESC_BOS) { in usbd_add_descriptor()
156 if (desc_nd->bDescriptorType == USB_DESC_STRING) { in usbd_add_descriptor()
202 if (desc_nd->bDescriptorType == USB_DESC_STRING) { in usbd_remove_descriptor()
/Zephyr-latest/include/zephyr/usb/
Dbos.h25 uint8_t bDescriptorType; member
39 uint8_t bDescriptorType; member
47 uint8_t bDescriptorType; member
Dusb_ch9.h146 uint8_t bDescriptorType; member
152 uint8_t bDescriptorType; member
170 uint8_t bDescriptorType; member
183 uint8_t bDescriptorType; member
195 uint8_t bDescriptorType; member
222 uint8_t bDescriptorType; member
235 uint8_t bDescriptorType; member
242 uint8_t bDescriptorType; member
Dusbd.h175 uint8_t bDescriptorType; member
476 .bDescriptorType = USB_DESC_DEVICE, \
493 .bDescriptorType = USB_DESC_DEVICE, \
535 .bDescriptorType = USB_DESC_CONFIGURATION, \
571 .bDescriptorType = USB_DESC_STRING, \
594 .bDescriptorType = USB_DESC_STRING, \
642 .bDescriptorType = USB_DESC_STRING, \
674 .bDescriptorType = USB_DESC_BOS, \
717 .bDescriptorType = USB_DESC_BOS, \
/Zephyr-latest/include/zephyr/usb/class/
Dusb_cdc.h171 uint8_t bDescriptorType; member
179 uint8_t bDescriptorType; member
188 uint8_t bDescriptorType; member
197 uint8_t bDescriptorType; member
223 uint8_t bDescriptorType; member
235 uint8_t bDescriptorType; member
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c51 .bDescriptorType = USB_DESC_INTERFACE_ASSOC,
63 .bDescriptorType = USB_DESC_INTERFACE,
75 .bDescriptorType = USB_DESC_CS_INTERFACE,
82 .bDescriptorType = USB_DESC_CS_INTERFACE,
90 .bDescriptorType = USB_DESC_CS_INTERFACE,
101 .bDescriptorType = USB_DESC_ENDPOINT,
114 .bDescriptorType = USB_DESC_INTERFACE,
128 .bDescriptorType = USB_DESC_INTERFACE,
140 .bDescriptorType = USB_DESC_ENDPOINT,
151 .bDescriptorType = USB_DESC_ENDPOINT,
[all …]
Dfunction_eem.c37 .bDescriptorType = USB_DESC_INTERFACE,
50 .bDescriptorType = USB_DESC_ENDPOINT,
61 .bDescriptorType = USB_DESC_ENDPOINT,
/Zephyr-latest/tests/subsys/usb/uac2/src/
Duac2_desc.c303 zassert_equal(iad->bDescriptorType, USB_DESC_INTERFACE_ASSOC); in test_uac2_descriptors()
316 zassert_equal(iface->bDescriptorType, USB_DESC_INTERFACE); in test_uac2_descriptors()
356 zassert_equal(iface->bDescriptorType, USB_DESC_INTERFACE); in test_uac2_descriptors()
370 zassert_equal(iface->bDescriptorType, USB_DESC_INTERFACE); in test_uac2_descriptors()
392 zassert_equal(ep->bDescriptorType, USB_DESC_ENDPOINT); in test_uac2_descriptors()
417 zassert_equal(iface->bDescriptorType, USB_DESC_INTERFACE); in test_uac2_descriptors()
431 zassert_equal(iface->bDescriptorType, USB_DESC_INTERFACE); in test_uac2_descriptors()
453 zassert_equal(ep->bDescriptorType, USB_DESC_ENDPOINT); in test_uac2_descriptors()
497 zassert_equal(fs->bDescriptorType, hs->bDescriptorType); in ZTEST()
504 if (fs->bDescriptorType == USB_DESC_INTERFACE_ASSOC) { in ZTEST()
[all …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_midi2.c58 uint8_t bDescriptorType; member
69 uint8_t bDescriptorType; member
78 uint8_t bDescriptorType; member
87 uint8_t bDescriptorType; member
95 uint8_t bDescriptorType; member
555 .bDescriptorType = CS_GR_TRM_BLOCK, \
576 .bDescriptorType = USB_DESC_INTERFACE_ASSOC, \
584 .bDescriptorType = USB_DESC_INTERFACE, \
593 .bDescriptorType = USB_DESC_CS_INTERFACE, \
602 .bDescriptorType = USB_DESC_INTERFACE, \
[all …]
Dloopback.c313 .bDescriptorType = USB_DESC_INTERFACE_ASSOC, \
325 .bDescriptorType = USB_DESC_INTERFACE, \
338 .bDescriptorType = USB_DESC_ENDPOINT, \
348 .bDescriptorType = USB_DESC_ENDPOINT, \
358 .bDescriptorType = USB_DESC_ENDPOINT, \
368 .bDescriptorType = USB_DESC_ENDPOINT, \
378 .bDescriptorType = USB_DESC_INTERFACE, \
391 .bDescriptorType = USB_DESC_ENDPOINT, \
401 .bDescriptorType = USB_DESC_ENDPOINT, \
410 .bDescriptorType = USB_DESC_INTERFACE, \
[all …]
Dusbd_hid_macros.h127 .bDescriptorType = USB_DESC_INTERFACE, \
140 .bDescriptorType = USB_DESC_HID, \
145 .bDescriptorType = USB_DESC_HID_REPORT, \
171 .bDescriptorType = USB_DESC_ENDPOINT, \
181 .bDescriptorType = USB_DESC_ENDPOINT, \
Dbt_hci.c480 .bDescriptorType = USB_DESC_INTERFACE_ASSOC, \
491 .bDescriptorType = USB_DESC_INTERFACE, \
503 .bDescriptorType = USB_DESC_ENDPOINT, \
512 .bDescriptorType = USB_DESC_ENDPOINT, \
521 .bDescriptorType = USB_DESC_ENDPOINT, \
530 .bDescriptorType = USB_DESC_ENDPOINT, \
539 .bDescriptorType = USB_DESC_ENDPOINT, \
547 .bDescriptorType = USB_DESC_INTERFACE, \
559 .bDescriptorType = USB_DESC_ENDPOINT, \
568 .bDescriptorType = USB_DESC_ENDPOINT, \
[all …]
Dusbd_cdc_ecm.c650 .bDescriptorType = USB_DESC_INTERFACE_ASSOC, \
661 .bDescriptorType = USB_DESC_INTERFACE, \
673 .bDescriptorType = USB_DESC_CS_INTERFACE, \
680 .bDescriptorType = USB_DESC_CS_INTERFACE, \
688 .bDescriptorType = USB_DESC_CS_INTERFACE, \
699 .bDescriptorType = USB_DESC_ENDPOINT, \
708 .bDescriptorType = USB_DESC_ENDPOINT, \
717 .bDescriptorType = USB_DESC_INTERFACE, \
729 .bDescriptorType = USB_DESC_INTERFACE, \
741 .bDescriptorType = USB_DESC_ENDPOINT, \
[all …]
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c61 .bDescriptorType = USB_DESC_DEVICE,
88 .bDescriptorType = USB_DESC_CONFIGURATION,
111 uint8_t bDescriptorType; member
118 uint8_t bDescriptorType; member
124 uint8_t bDescriptorType; member
131 uint8_t bDescriptorType; member
145 .bDescriptorType = USB_DESC_STRING,
152 .bDescriptorType = USB_DESC_STRING,
159 .bDescriptorType = USB_DESC_STRING,
165 .bDescriptorType = USB_DESC_STRING,
[all …]
/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h226 uint8_t bDescriptorType; member
236 uint8_t bDescriptorType; member
253 uint8_t bDescriptorType; member
263 uint8_t bDescriptorType; member
274 uint8_t bDescriptorType; member
283 uint8_t bDescriptorType; member
295 uint8_t bDescriptorType; member
306 uint8_t bDescriptorType; member
316 uint8_t bDescriptorType; \
327 uint8_t bDescriptorType; \
[all …]
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c115 .bDescriptorType = USB_DESC_INTERFACE,
126 .bDescriptorType = DFU_FUNC_DESC,
157 .bDescriptorType = USB_DESC_DEVICE,
175 .bDescriptorType = USB_DESC_CONFIGURATION,
191 .bDescriptorType = USB_DESC_INTERFACE,
203 .bDescriptorType = USB_DESC_INTERFACE,
215 .bDescriptorType = DFU_FUNC_DESC,
231 uint8_t bDescriptorType; member
238 uint8_t bDescriptorType; member
244 uint8_t bDescriptorType; member
[all …]
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dmain.c101 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
136 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
164 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
211 uint8_t bDescriptorType; member
216 .bDescriptorType = USB_DESC_STRING,
/Zephyr-latest/tests/subsys/usb/bos/src/
Dtest_bos.c37 .bDescriptorType = USB_DESC_BOS,
47 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
76 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
117 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
145 .bDescriptorType = USB_DESC_DEVICE_CAPABILITY,
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c191 .bDescriptorType = USB_DESC_INTERFACE, \
204 .bDescriptorType = USB_DESC_ENDPOINT, \
214 .bDescriptorType = USB_DESC_ENDPOINT, \
224 .bDescriptorType = USB_DESC_ENDPOINT, \
234 .bDescriptorType = USB_DESC_ENDPOINT, \
244 .bDescriptorType = 0, \
/Zephyr-latest/subsys/dap/
Ddap_backend_usb.c218 .bDescriptorType = USB_DESC_INTERFACE, \
231 .bDescriptorType = USB_DESC_ENDPOINT, \
241 .bDescriptorType = USB_DESC_ENDPOINT, \
251 .bDescriptorType = USB_DESC_ENDPOINT, \
261 .bDescriptorType = USB_DESC_ENDPOINT, \
271 .bDescriptorType = 0, \
/Zephyr-latest/subsys/tracing/
Dtracing_backend_usb.c42 .bDescriptorType = USB_DESC_INTERFACE,
57 .bDescriptorType = USB_DESC_ENDPOINT,
69 .bDescriptorType = USB_DESC_ENDPOINT,
/Zephyr-latest/subsys/usb/device/class/
Dloopback.c38 .bDescriptorType = USB_DESC_INTERFACE,
51 .bDescriptorType = USB_DESC_ENDPOINT,
61 .bDescriptorType = USB_DESC_ENDPOINT,
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c47 .bDescriptorType = USB_DESC_INTERFACE, \
60 .bDescriptorType = USB_DESC_ENDPOINT, \
167 if (head->bDescriptorType == USB_DESC_INTERFACE) { in check_endpoint_allocation()
184 if (head->bDescriptorType == USB_DESC_ENDPOINT) { in check_endpoint_allocation()
/Zephyr-latest/subsys/usb/host/
Dusbh_device.c164 if (dhp->bDescriptorType == USB_DESC_INTERFACE) { in device_interface_modify()
182 if (dhp->bDescriptorType == USB_DESC_ENDPOINT && found_iface) { in device_interface_modify()
275 while ((dhp->bDescriptorType != 0 || dhp->bLength != 0) && (void *)dhp < desc_end) { in parse_configuration_descriptor()
276 if (dhp->bDescriptorType == USB_DESC_INTERFACE_ASSOC) { in parse_configuration_descriptor()
281 if (dhp->bDescriptorType == USB_DESC_INTERFACE) { in parse_configuration_descriptor()
297 if (dhp->bDescriptorType == USB_DESC_ENDPOINT) { in parse_configuration_descriptor()
368 if (cfg_desc.bDescriptorType != USB_DESC_CONFIGURATION) { in usbh_device_set_configuration()
/Zephyr-latest/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c17 uint8_t bDescriptorType; member
23 .bDescriptorType = USB_DESC_STRING,

123