Lines Matching defs:fnIface
682 struct UsbFnInterface *fnIface = iface->fn;
684 for (int32_t i = 0; i < fnIface->info.numPipes; i++) {
687 int32_t ret = UsbFnGetInterfacePipeInfo(fnIface, (uint8_t)i, &pipeInfo);
723 static int32_t EcmParseEcmIface(struct UsbEcmDevice *ecm, struct UsbFnInterface *fnIface)
727 UsbFnInterfaceHandle handle = UsbFnOpenInterface(fnIface);
732 iface.fn = fnIface;
744 struct UsbFnInterface *fnIface = NULL;
748 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i);
749 if (fnIface == NULL) {
754 if (fnIface->info.subclass == USB_DDK_CDC_SUBCLASS_ETHERNET) {
755 (void)EcmParseEcmIface(ecm, fnIface);
756 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i + 1);
757 if (fnIface == NULL) {
761 (void)EcmParseEcmIface(ecm, fnIface);