Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/usb/device/
Dusb_device.c762 uint8_t cur_iface = 0xFF; in usb_set_interface() local
772 cur_iface = p[INTF_DESC_bInterfaceNumber]; in usb_set_interface()
774 if (cur_iface == setup->wIndex && in usb_set_interface()
782 cur_iface, cur_alt_setting); in usb_set_interface()
785 if (cur_iface == setup->wIndex) { in usb_set_interface()
811 uint8_t cur_iface; in usb_get_interface() local
815 cur_iface = p[INTF_DESC_bInterfaceNumber]; in usb_get_interface()
816 if (cur_iface == setup->wIndex) { in usb_get_interface()
817 data[0] = usb_get_alt_setting(cur_iface); in usb_get_interface()