Home
last modified time | relevance | path

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

12

/Zephyr-latest/subsys/usb/device_next/class/
Dloopback.c155 .bLength = sizeof(struct usb_association_descriptor), \
167 .bLength = sizeof(struct usb_if_descriptor), \
180 .bLength = sizeof(struct usb_ep_descriptor), \
190 .bLength = sizeof(struct usb_ep_descriptor), \
200 .bLength = sizeof(struct usb_ep_descriptor), \
210 .bLength = sizeof(struct usb_ep_descriptor), \
220 .bLength = sizeof(struct usb_if_descriptor), \
233 .bLength = sizeof(struct usb_ep_descriptor), \
243 .bLength = sizeof(struct usb_ep_descriptor), \
252 .bLength = sizeof(struct usb_if_descriptor), \
[all …]
Dbt_hci.c479 .bLength = sizeof(struct usb_association_descriptor), \
490 .bLength = sizeof(struct usb_if_descriptor), \
502 .bLength = sizeof(struct usb_ep_descriptor), \
511 .bLength = sizeof(struct usb_ep_descriptor), \
520 .bLength = sizeof(struct usb_ep_descriptor), \
529 .bLength = sizeof(struct usb_ep_descriptor), \
538 .bLength = sizeof(struct usb_ep_descriptor), \
546 .bLength = sizeof(struct usb_if_descriptor), \
558 .bLength = sizeof(struct usb_ep_descriptor), \
567 .bLength = sizeof(struct usb_ep_descriptor), \
[all …]
Dusbd_hid_macros.h126 .bLength = sizeof(struct usb_if_descriptor), \
139 .bLength = sizeof(struct hid_descriptor), \
170 .bLength = sizeof(struct usb_ep_descriptor), \
180 .bLength = sizeof(struct usb_ep_descriptor), \
Dusbd_cdc_ecm.c649 .bLength = sizeof(struct usb_association_descriptor), \
660 .bLength = sizeof(struct usb_if_descriptor), \
698 .bLength = sizeof(struct usb_ep_descriptor), \
707 .bLength = sizeof(struct usb_ep_descriptor), \
716 .bLength = sizeof(struct usb_if_descriptor), \
728 .bLength = sizeof(struct usb_if_descriptor), \
740 .bLength = sizeof(struct usb_ep_descriptor), \
749 .bLength = sizeof(struct usb_ep_descriptor), \
758 .bLength = sizeof(struct usb_ep_descriptor), \
767 .bLength = sizeof(struct usb_ep_descriptor), \
[all …]
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c60 .bLength = sizeof(struct usb_device_descriptor),
87 .bLength = sizeof(struct usb_cfg_descriptor),
110 uint8_t bLength; member
117 uint8_t bLength; member
123 uint8_t bLength; member
130 uint8_t bLength; member
144 .bLength = sizeof(struct usb_string_descriptor),
150 .bLength = USB_STRING_DESCRIPTOR_LENGTH(
157 .bLength = USB_STRING_DESCRIPTOR_LENGTH(
164 .bLength = USB_STRING_DESCRIPTOR_LENGTH(CONFIG_USB_DEVICE_SN),
[all …]
Dbos.c23 .bLength = sizeof(struct usb_bos_descriptor),
/Zephyr-latest/include/zephyr/usb/
Dbos.h24 uint8_t bLength; member
38 uint8_t bLength; member
46 uint8_t bLength; member
Dusb_ch9.h145 uint8_t bLength; member
151 uint8_t bLength; member
169 uint8_t bLength; member
182 uint8_t bLength; member
194 uint8_t bLength; member
221 uint8_t bLength; member
234 uint8_t bLength; member
241 uint8_t bLength; member
Dusbd.h173 uint8_t bLength; member
473 .bLength = sizeof(struct usb_device_descriptor), \
490 .bLength = sizeof(struct usb_device_descriptor), \
532 .bLength = sizeof(struct usb_cfg_descriptor), \
568 .bLength = sizeof(struct usb_string_descriptor), \
591 .bLength = USB_STRING_DESCRIPTOR_LENGTH(d_string), \
671 .bLength = len, \
714 .bLength = len, \
/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h225 uint8_t bLength; member
235 uint8_t bLength; member
252 uint8_t bLength; member
262 uint8_t bLength; member
273 uint8_t bLength; member
282 uint8_t bLength; member
294 uint8_t bLength; member
305 uint8_t bLength; member
315 uint8_t bLength; \
326 uint8_t bLength; \
[all …]
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c114 .bLength = sizeof(struct usb_if_descriptor),
125 .bLength = sizeof(struct dfu_runtime_descriptor),
156 .bLength = sizeof(struct usb_device_descriptor),
174 .bLength = sizeof(struct usb_cfg_descriptor),
190 .bLength = sizeof(struct usb_if_descriptor),
202 .bLength = sizeof(struct usb_if_descriptor),
214 .bLength = sizeof(struct dfu_runtime_descriptor),
230 uint8_t bLength; member
237 uint8_t bLength; member
243 uint8_t bLength; member
[all …]
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dmain.c99 .bLength = sizeof(struct usb_bos_platform_descriptor)
134 .bLength = sizeof(struct usb_bos_platform_descriptor)
163 .bLength = sizeof(struct usb_bos_capability_lpm),
210 uint8_t bLength; member
215 .bLength = MSOS_STRING_LENGTH,
Dwebusb.c46 .bLength = sizeof(struct usb_if_descriptor), \
59 .bLength = sizeof(struct usb_ep_descriptor), \
/Zephyr-latest/tests/subsys/usb/bos/src/
Dtest_bos.c36 .bLength = sizeof(struct usb_bos_descriptor),
45 .bLength = sizeof(struct usb_bos_platform_descriptor)
74 .bLength = sizeof(struct usb_bos_platform_descriptor)
115 .bLength = sizeof(struct usb_bos_platform_descriptor) +
143 .bLength = sizeof(struct usb_bos_platform_descriptor)
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c50 .bLength = sizeof(struct usb_association_descriptor),
62 .bLength = sizeof(struct usb_if_descriptor),
100 .bLength = sizeof(struct usb_ep_descriptor),
113 .bLength = sizeof(struct usb_if_descriptor),
127 .bLength = sizeof(struct usb_if_descriptor),
139 .bLength = sizeof(struct usb_ep_descriptor),
150 .bLength = sizeof(struct usb_ep_descriptor),
392 uint8_t bLength; member
398 .bLength = USB_STRING_DESCRIPTOR_LENGTH(
Dfunction_eem.c36 .bLength = sizeof(struct usb_if_descriptor),
49 .bLength = sizeof(struct usb_ep_descriptor),
60 .bLength = sizeof(struct usb_ep_descriptor),
/Zephyr-latest/tests/subsys/usb/uac2/src/
Duac2_desc.c302 zassert_equal(iad->bLength, sizeof(struct usb_association_descriptor)); in test_uac2_descriptors()
315 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in test_uac2_descriptors()
355 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in test_uac2_descriptors()
369 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in test_uac2_descriptors()
391 zassert_equal(ep->bLength, sizeof(struct usb_ep_descriptor)); in test_uac2_descriptors()
416 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in test_uac2_descriptors()
430 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in test_uac2_descriptors()
452 zassert_equal(ep->bLength, sizeof(struct usb_ep_descriptor)); in test_uac2_descriptors()
533 zassert_equal(iad->bLength, sizeof(struct usb_association_descriptor)); in ZTEST()
546 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
[all …]
/Zephyr-latest/samples/subsys/dap/src/
Dmain.c32 uint8_t bLength; member
38 .bLength = USB_STRING_DESCRIPTOR_LENGTH(DAP_IFACE_STR_DESC),
113 .bLength = sizeof(struct usb_bos_platform_descriptor)
148 .bLength = sizeof(struct usb_bos_platform_descriptor)
215 .bLength = sizeof(struct usb_if_descriptor),
226 .bLength = sizeof(struct usb_ep_descriptor),
234 .bLength = sizeof(struct usb_ep_descriptor),
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c190 .bLength = sizeof(struct usb_if_descriptor), \
203 .bLength = sizeof(struct usb_ep_descriptor), \
213 .bLength = sizeof(struct usb_ep_descriptor), \
223 .bLength = sizeof(struct usb_ep_descriptor), \
233 .bLength = sizeof(struct usb_ep_descriptor), \
243 .bLength = 0, \
/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.c506 net_buf_add_mem(buf, cfg_desc, MIN(net_buf_tailroom(buf), cfg_desc->bLength)); in sreq_get_desc_cfg()
516 while (*dhp != NULL && (*dhp)->bLength != 0) { in sreq_get_desc_cfg()
517 len = MIN(net_buf_tailroom(buf), (*dhp)->bLength); in sreq_get_desc_cfg()
581 head.bLength = sizeof(head) + hwid_len * 2; in string_ascii7_to_utf16le()
584 head.bLength = dn->bLength; in string_ascii7_to_utf16le()
589 wLength, head.bLength, net_buf_tailroom(buf)); in string_ascii7_to_utf16le()
591 len = MIN(net_buf_tailroom(buf), MIN(head.bLength, wLength)); in string_ascii7_to_utf16le()
630 net_buf_add_mem(buf, head, MIN(len, head->bLength)); in sreq_get_desc_dev()
652 .bLength = d_nd->bLength, in sreq_get_desc_str()
658 net_buf_add_mem(buf, &langid, MIN(len, langid.bLength)); in sreq_get_desc_str()
[all …]
/Zephyr-latest/subsys/tracing/
Dtracing_backend_usb.c41 .bLength = sizeof(struct usb_if_descriptor),
56 .bLength = sizeof(struct usb_ep_descriptor),
68 .bLength = sizeof(struct usb_ep_descriptor),
/Zephyr-latest/subsys/usb/device/class/
Dloopback.c37 .bLength = sizeof(struct usb_if_descriptor),
50 .bLength = sizeof(struct usb_ep_descriptor),
60 .bLength = sizeof(struct usb_ep_descriptor),
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c46 .bLength = sizeof(struct usb_if_descriptor), \
59 .bLength = sizeof(struct usb_ep_descriptor), \
166 while (head->bLength != 0) { in check_endpoint_allocation()
197 head = (struct usb_desc_header *)((uint8_t *)head + head->bLength); in check_endpoint_allocation()
/Zephyr-latest/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c16 uint8_t bLength; member
22 .bLength = MSOS_STRING_LENGTH,
/Zephyr-latest/include/zephyr/usb/class/
Dusb_dfu.h83 uint8_t bLength; member

12