Home
last modified time | relevance | path

Searched refs:if_descr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c168 struct usb_if_descriptor *if_descr = (void *)head; in check_endpoint_allocation() local
172 LOG_DBG("iface %u", if_descr->bInterfaceNumber); in check_endpoint_allocation()
175 zassert_equal(if_descr->bInterfaceNumber, interfaces, in check_endpoint_allocation()
180 cfg_data = usb_get_cfg_data(if_descr); in check_endpoint_allocation()
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c419 struct usb_if_descriptor *if_descr = NULL; in usb_fix_descriptor() local
440 if_descr = (struct usb_if_descriptor *)head; in usb_fix_descriptor()
442 if (if_descr->bAlternateSetting) { in usb_fix_descriptor()
447 if (if_descr->bInterfaceNumber == 0U) { in usb_fix_descriptor()
448 cfg_data = usb_get_cfg_data(if_descr); in usb_fix_descriptor()
Dusb_device.c1461 const struct usb_if_descriptor *if_descr; in class_handler() local
1469 if_descr = cfg_data->interface_descriptor; in class_handler()
1474 if ((uint8_t *)if_descr < usb_dev.descriptors) { in class_handler()
1479 if_descr->bInterfaceNumber == (pSetup->wIndex & 0xFF)) { in class_handler()
1490 const struct usb_if_descriptor *if_descr; in custom_handler() local
1498 if_descr = cfg_data->interface_descriptor; in custom_handler()
1503 if ((uint8_t *)if_descr < usb_dev.descriptors) { in custom_handler()
1511 if (if_descr->bInterfaceNumber == (pSetup->wIndex & 0xFF)) { in custom_handler()
1521 if (if_descr->bInterfaceClass == USB_BCC_AUDIO) { in custom_handler()