Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device_next/
Dusbd_init.c119 struct usb_if_descriptor *ifd = NULL; in init_configuration_inst() local
146 ifd = (struct usb_if_descriptor *)(*dhp); in init_configuration_inst()
150 if (ifd->bAlternateSetting == 0) { in init_configuration_inst()
151 ifd->bInterfaceNumber = tmp_nif; in init_configuration_inst()
155 ifd->bInterfaceNumber = tmp_nif - 1; in init_configuration_inst()
167 ifd->bInterfaceNumber, ifd->bAlternateSetting); in init_configuration_inst()
Dusbd_interface.c69 struct usb_if_descriptor *ifd; in usbd_interface_modify() local
73 ifd = (struct usb_if_descriptor *)(*dhp); in usbd_interface_modify()
79 if (ifd->bInterfaceNumber == iface && in usbd_interface_modify()
80 ifd->bAlternateSetting == alt) { in usbd_interface_modify()
83 if (ifd->bNumEndpoints == 0) { in usbd_interface_modify()