Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/usb/device_next/
Dusbd_init.c118 struct usb_if_descriptor *ifd = NULL; in init_configuration_inst() local
131 ifd = (struct usb_if_descriptor *)ptr; in init_configuration_inst()
135 if (ifd->bAlternateSetting == 0) { in init_configuration_inst()
136 ifd->bInterfaceNumber = tmp_nif; in init_configuration_inst()
140 ifd->bInterfaceNumber = tmp_nif - 1; in init_configuration_inst()
152 ifd->bInterfaceNumber, ifd->bAlternateSetting); in init_configuration_inst()
Dusbd_interface.c68 struct usb_if_descriptor *ifd; in usbd_interface_modify() local
72 ifd = (struct usb_if_descriptor *)ptr; in usbd_interface_modify()
78 if (ifd->bInterfaceNumber == iface && in usbd_interface_modify()
79 ifd->bAlternateSetting == alt) { in usbd_interface_modify()
82 if (ifd->bNumEndpoints == 0) { in usbd_interface_modify()