Home
last modified time | relevance | path

Searched refs:fnIface (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c682 struct UsbFnInterface *fnIface = iface->fn; in EcmParseEachPipe() local
684 for (int32_t i = 0; i < fnIface->info.numPipes; i++) { in EcmParseEachPipe()
687 int32_t ret = UsbFnGetInterfacePipeInfo(fnIface, (uint8_t)i, &pipeInfo); in EcmParseEachPipe()
723 static int32_t EcmParseEcmIface(struct UsbEcmDevice *ecm, struct UsbFnInterface *fnIface) in EcmParseEcmIface() argument
727 UsbFnInterfaceHandle handle = UsbFnOpenInterface(fnIface); in EcmParseEcmIface()
732 iface.fn = fnIface; in EcmParseEcmIface()
744 struct UsbFnInterface *fnIface = NULL; in EcmParseEachIface() local
748 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i); in EcmParseEachIface()
749 if (fnIface == NULL) { in EcmParseEachIface()
754 if (fnIface in EcmParseEachIface()
[all...]
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.cpp344 struct UsbFnInterface *fnIface = nullptr; in ParseInterfaces() local
348 fnIface = const_cast<UsbFnInterface *>(UsbFnGetInterface(acmDevice->fnDev, i)); in ParseInterfaces()
349 if (fnIface == nullptr) { in ParseInterfaces()
352 handle = UsbFnOpenInterface(fnIface); in ParseInterfaces()
356 for (j = 0; j < fnIface->info.numPipes; j++) { in ParseInterfaces()
358 ret = UsbFnGetInterfacePipeInfo(fnIface, j, &pipeInfo); in ParseInterfaces()
365 acmDevice->ctrlIface.fn = fnIface; in ParseInterfaces()
372 acmDevice->dataIface.fn = fnIface; in ParseInterfaces()
379 acmDevice->dataIface.fn = fnIface; in ParseInterfaces()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c328 static void ParsePipes(struct AcmDevice *acmDevice, const struct UsbFnInterface *fnIface, UsbFnInterfaceHandle handle) in ParsePipes() argument
331 for (uint32_t j = 0; j < fnIface->info.numPipes; j++) { in ParsePipes()
332 int32_t ret = UsbFnGetInterfacePipeInfo((struct UsbFnInterface *)fnIface, j, &pipeInfo); in ParsePipes()
339 acmDevice->ctrlIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
345 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
350 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
360 struct UsbFnInterface *fnIface = NULL; in ParseInterfaces() local
364 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(acmDevice->fnDev, i); in ParseInterfaces()
365 if (fnIface == NULL) { in ParseInterfaces()
368 handle = UsbFnOpenInterface(fnIface); in ParseInterfaces()
[all...]
/drivers/peripheral/usb/gadget/function/mtp/src/
H A Dusbfn_mtp_impl.cpp700 struct UsbFnInterface *fnIface = iface.fn; in UsbMtpDeviceParseEachPipe() local
701 if (fnIface == nullptr || fnIface->info.numPipes == 0) { in UsbMtpDeviceParseEachPipe()
706 "protocol=%{public}hhu cfgIndex=%{public}hhu", __func__, fnIface->info.index, fnIface->info.numPipes, in UsbMtpDeviceParseEachPipe()
707 fnIface->info.interfaceClass, fnIface->info.subclass, fnIface->info.protocol, fnIface->info.configIndex); in UsbMtpDeviceParseEachPipe()
709 for (int32_t i = 0; i < fnIface in UsbMtpDeviceParseEachPipe()
749 UsbMtpDeviceParseMtpIface(struct UsbFnInterface *fnIface) UsbMtpDeviceParseMtpIface() argument
786 struct UsbFnInterface *fnIface = const_cast<struct UsbFnInterface *>(UsbFnGetInterface(fnDev, i)); UsbMtpDeviceParseEachIface() local
[all...]
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c1338 struct UsbFnInterface *fnIface = iface->fn; in AcmParseEachPipe() local
1340 for (int32_t i = 0; i < fnIface->info.numPipes; i++) { in AcmParseEachPipe()
1343 int32_t ret = UsbFnGetInterfacePipeInfo(fnIface, (uint8_t)i, &pipeInfo); in AcmParseEachPipe()
1378 static int32_t AcmParseAcmIface(struct UsbAcmDevice *acm, struct UsbFnInterface *fnIface) in AcmParseAcmIface() argument
1381 UsbFnInterfaceHandle handle = UsbFnOpenInterface(fnIface); in AcmParseAcmIface()
1386 iface.fn = fnIface; in AcmParseAcmIface()
1398 struct UsbFnInterface *fnIface = NULL; in AcmParseEachIface() local
1404 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i); in AcmParseEachIface()
1405 if (fnIface == NULL) { in AcmParseEachIface()
1410 if (fnIface in AcmParseEachIface()
[all...]
/drivers/peripheral/usb/gadget/function/mtp/include/
H A Dusbfn_mtp_impl.h225 int32_t UsbMtpDeviceParseMtpIface(struct UsbFnInterface *fnIface);

Completed in 8 milliseconds