Searched refs:cur_iface (Results 1 – 1 of 1) sorted by relevance
762 uint8_t cur_iface = 0xFF; in usb_set_interface() local772 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() local815 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()