Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.7.0/subsys/usb/device_next/class/
Dloopback.c160 .bLength = sizeof(struct usb_association_descriptor), \
172 .bLength = sizeof(struct usb_if_descriptor), \
185 .bLength = sizeof(struct usb_ep_descriptor), \
195 .bLength = sizeof(struct usb_ep_descriptor), \
205 .bLength = sizeof(struct usb_ep_descriptor), \
215 .bLength = sizeof(struct usb_ep_descriptor), \
225 .bLength = sizeof(struct usb_if_descriptor), \
238 .bLength = sizeof(struct usb_ep_descriptor), \
248 .bLength = sizeof(struct usb_ep_descriptor), \
257 .bLength = sizeof(struct usb_if_descriptor), \
[all …]
Dbt_hci.c484 .bLength = sizeof(struct usb_association_descriptor), \
495 .bLength = sizeof(struct usb_if_descriptor), \
507 .bLength = sizeof(struct usb_ep_descriptor), \
516 .bLength = sizeof(struct usb_ep_descriptor), \
525 .bLength = sizeof(struct usb_ep_descriptor), \
534 .bLength = sizeof(struct usb_ep_descriptor), \
543 .bLength = sizeof(struct usb_ep_descriptor), \
551 .bLength = sizeof(struct usb_if_descriptor), \
563 .bLength = sizeof(struct usb_ep_descriptor), \
572 .bLength = sizeof(struct usb_ep_descriptor), \
[all …]
Dusbd_cdc_ecm.c646 .bLength = sizeof(struct usb_association_descriptor), \
657 .bLength = sizeof(struct usb_if_descriptor), \
695 .bLength = sizeof(struct usb_ep_descriptor), \
704 .bLength = sizeof(struct usb_ep_descriptor), \
713 .bLength = sizeof(struct usb_if_descriptor), \
725 .bLength = sizeof(struct usb_if_descriptor), \
737 .bLength = sizeof(struct usb_ep_descriptor), \
746 .bLength = sizeof(struct usb_ep_descriptor), \
755 .bLength = sizeof(struct usb_ep_descriptor), \
764 .bLength = sizeof(struct usb_ep_descriptor), \
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/include/zephyr/usb/
Dbos.h22 uint8_t bLength; member
36 uint8_t bLength; member
44 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.h117 uint8_t bLength; member
417 .bLength = sizeof(struct usb_device_descriptor), \
434 .bLength = sizeof(struct usb_device_descriptor), \
476 .bLength = sizeof(struct usb_cfg_descriptor), \
512 .bLength = sizeof(struct usb_string_descriptor), \
535 .bLength = USB_STRING_DESCRIPTOR_LENGTH(d_string), \
615 .bLength = len, \
/Zephyr-Core-3.7.0/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 …]
Daudio.c190 return (fu->bLength - FU_FIXED_ELEMS_SIZE)/sizeof(uint16_t); in get_num_of_channels()
210 ((uint8_t *)fu + fu->bLength); in get_fu_dir()
234 header->bLength + in fix_fu_descriptors()
246 fu->bLength + in fix_fu_descriptors()
270 audio_dev_data->desc_hdr->bLength + in get_feature_unit()
279 ((uint8_t *)fu + fu->bLength + in get_feature_unit()
321 ((uint8_t *)iface + iface->bLength); in audio_interface_config()
331 ((uint8_t *)iface + iface->bLength); in audio_interface_config()
402 header->bLength + in is_entity_valid()
411 fu->bLength + in is_entity_valid()
/Zephyr-Core-3.7.0/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-Core-3.7.0/tests/subsys/usb/uac2/src/
Duac2_desc.c179 zassert_equal(iad->bLength, sizeof(struct usb_association_descriptor)); in ZTEST()
191 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
224 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
237 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
258 zassert_equal(ep->bLength, sizeof(struct usb_ep_descriptor)); in ZTEST()
277 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
290 zassert_equal(iface->bLength, sizeof(struct usb_if_descriptor)); in ZTEST()
311 zassert_equal(ep->bLength, sizeof(struct usb_ep_descriptor)); in ZTEST()
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/subsys/usb/device_next/
Dusbd_ch9.c501 net_buf_add_mem(buf, cfg_desc, MIN(net_buf_tailroom(buf), cfg_desc->bLength)); in sreq_get_desc_cfg()
511 while (*dhp != NULL && (*dhp)->bLength != 0) { in sreq_get_desc_cfg()
512 len = MIN(net_buf_tailroom(buf), (*dhp)->bLength); in sreq_get_desc_cfg()
576 head.bLength = sizeof(head) + hwid_len * 2; in string_ascii7_to_utf16le()
579 head.bLength = dn->bLength; in string_ascii7_to_utf16le()
584 wLength, head.bLength, net_buf_tailroom(buf)); in string_ascii7_to_utf16le()
586 len = MIN(net_buf_tailroom(buf), MIN(head.bLength, wLength)); in string_ascii7_to_utf16le()
625 net_buf_add_mem(buf, head, MIN(len, head->bLength)); in sreq_get_desc_dev()
647 .bLength = d_nd->bLength, in sreq_get_desc_str()
653 net_buf_add_mem(buf, &langid, MIN(len, langid.bLength)); in sreq_get_desc_str()
[all …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/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),
Dbt_h4.c52 .bLength = sizeof(struct usb_if_descriptor),
65 .bLength = sizeof(struct usb_ep_descriptor),
75 .bLength = sizeof(struct usb_ep_descriptor),
/Zephyr-Core-3.7.0/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-Core-3.7.0/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c16 uint8_t bLength; member
22 .bLength = MSOS_STRING_LENGTH,
/Zephyr-Core-3.7.0/include/zephyr/usb/class/
Dusb_dfu.h83 uint8_t bLength; member

12