Searched refs:ifd (Results 1 – 2 of 2) sorted by relevance
118 struct usb_if_descriptor *ifd = NULL; in init_configuration_inst() local131 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()
68 struct usb_if_descriptor *ifd; in usbd_interface_modify() local72 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()