Lines Matching refs:iface
680 static int32_t EcmParseEachPipe(struct UsbEcmDevice *ecm, struct UsbEcmInterface *iface)
682 struct UsbFnInterface *fnIface = iface->fn;
697 ecm->ctrlIface = *iface;
703 ecm->dataIface = *iface;
726 struct UsbEcmInterface iface;
732 iface.fn = fnIface;
733 iface.handle = handle;
735 ret = EcmParseEachPipe(ecm, &iface);
769 static int32_t EcmCreateFuncDevice(struct UsbEcmDevice *ecm, struct DeviceResourceIface *iface)
774 if (iface->GetString(ecm->device->property, "udc_name", (const char **)&ecm->udcName, UDC_NAME) != HDF_SUCCESS) {
925 struct DeviceResourceIface *iface = NULL;
939 iface = DeviceResourceGetIfaceInstance(HDF_CONFIG_SOURCE);
940 if (iface == NULL || iface->GetUint32 == NULL) {
945 ret = EcmCreateFuncDevice(ecm, iface);