Searched refs:iad (Results 1 – 11 of 11) sorted by relevance
/Zephyr-Core-3.7.0/tests/subsys/usb/uac2/src/ |
D | uac2_desc.c | 173 const struct usb_association_descriptor *iad; in ZTEST() local 178 iad = (const struct usb_association_descriptor *)*ptr; in ZTEST() 179 zassert_equal(iad->bLength, sizeof(struct usb_association_descriptor)); in ZTEST() 180 zassert_equal(iad->bDescriptorType, USB_DESC_INTERFACE_ASSOC); in ZTEST() 181 zassert_equal(iad->bFirstInterface, FIRST_INTERFACE_NUMBER); in ZTEST() 182 zassert_equal(iad->bInterfaceCount, 3); in ZTEST() 183 zassert_equal(iad->bFunctionClass, AUDIO_FUNCTION); in ZTEST() 184 zassert_equal(iad->bFunctionSubClass, FUNCTION_SUBCLASS_UNDEFINED); in ZTEST() 185 zassert_equal(iad->bFunctionProtocol, AF_VERSION_02_00); in ZTEST() 186 zassert_equal(iad->iFunction, 0); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/usb/device_next/class/ |
D | loopback.c | 33 struct usb_association_descriptor iad; member 141 desc->iad.bFirstInterface = desc->if0.bInterfaceNumber; in lb_init() 159 .iad = { \ 324 (struct usb_desc_header *) &lb_desc_##x.iad, \ 341 (struct usb_desc_header *) &lb_desc_##x.iad, \
|
D | bt_hci.c | 92 struct usb_association_descriptor iad; member 466 desc->iad.bFirstInterface = desc->if0.bInterfaceNumber; in bt_hci_init() 483 .iad = { \ 617 (struct usb_desc_header *) &bt_hci_desc_##n.iad, \ 632 (struct usb_desc_header *) &bt_hci_desc_##n.iad, \
|
D | usbd_uac2.c | 390 const struct usb_association_descriptor *iad; in uac2_update() local 397 iad = (const struct usb_association_descriptor *)cfg->descriptors[0]; in uac2_update() 402 __ASSERT_NO_MSG((iface > iad->bFirstInterface) && in uac2_update() 403 (iface < iad->bFirstInterface + iad->bInterfaceCount)); in uac2_update() 404 as_idx = iface - iad->bFirstInterface - 1; in uac2_update()
|
D | usbd_cdc_ecm.c | 61 struct usb_association_descriptor iad; member 452 desc->iad.bFirstInterface = if_num; in usbd_cdc_ecm_init() 645 .iad = { \ 779 (struct usb_desc_header *) &cdc_ecm_desc_##n.iad, \ 793 (struct usb_desc_header *) &cdc_ecm_desc_##n.iad, \
|
D | usbd_cdc_acm.c | 63 struct usb_association_descriptor iad; member 466 desc->iad.bFirstInterface = desc->if0.bInterfaceNumber; in usbd_cdc_acm_init() 1070 .iad = { \ 1197 (struct usb_desc_header *) &cdc_acm_desc_##n.iad, \ 1211 (struct usb_desc_header *) &cdc_acm_desc_##n.iad, \
|
D | usbd_uac2_macros.h | 434 static uint8_t DESCRIPTOR_NAME(iad, node)[] = { \ 439 (struct usb_desc_header *) &DESCRIPTOR_NAME(iad, node),
|
/Zephyr-Core-3.7.0/subsys/usb/device/class/netusb/ |
D | function_ecm.c | 34 struct usb_association_descriptor iad; member 49 .iad = { 421 cdc_ecm_cfg.iad.bFirstInterface = bInterfaceNumber; in ecm_interface_config()
|
D | function_rndis.c | 46 struct usb_association_descriptor iad; member 56 .iad = { 1126 rndis_cfg.iad.bFirstInterface = bInterfaceNumber; in netusb_interface_config()
|
/Zephyr-Core-3.7.0/subsys/usb/device/class/audio/ |
D | usb_audio_internal.h | 348 #define USB_AUDIO_IAD_DECLARE struct usb_association_descriptor iad; 349 #define USB_AUDIO_IAD(if_cnt) .iad = INIT_IAD(USB_AUDIO_AUDIOCONTROL, if_cnt),
|
D | audio.c | 312 struct usb_association_descriptor *iad = in audio_interface_config() local 315 iad->bFirstInterface = bInterfaceNumber; in audio_interface_config()
|