Home
last modified time | relevance | path

Searched refs:strCount (Results 1 – 5 of 5) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
Dadapter_if_liteos.c141 devStrings->strCount = 0; in UsbFnAdapterWriteDevString()
144 devStrings->strCount++; in UsbFnAdapterWriteDevString()
147 …devStrings->strings = UsbFnMemCalloc((devStrings->strCount + 1) * sizeof(struct FconfigUsbString)); in UsbFnAdapterWriteDevString()
152 devStrings->strings[devStrings->strCount].str.len = 0; in UsbFnAdapterWriteDevString()
153 devStrings->strings[devStrings->strCount].str.s = NULL; in UsbFnAdapterWriteDevString()
155 for (jCount = 0; jCount < (int)devStrings->strCount; jCount++) { in UsbFnAdapterWriteDevString()
169 for (jCount = 0; jCount < (int)devStrings->strCount; jCount++) { in UsbFnAdapterWriteDevString()
261 uint32_t strCount = 0; in GetHeaderStr() local
268 strCount = j; in GetHeaderStr()
272 headerStr->strCount = strCount; in GetHeaderStr()
[all …]
Dusbfn_cfg_mgr.c125 int32_t strCount; in UsbFnCfgMgrParseString() local
136 strCount = drsOps->GetElemNum(node, "stringList"); in UsbFnCfgMgrParseString()
137 if (strCount <= 0) { in UsbFnCfgMgrParseString()
141 … fnString->strings = (struct UsbString *)UsbFnMemCalloc((strCount + 1) * sizeof(struct UsbString)); in UsbFnCfgMgrParseString()
146 fnString->strings[strCount].s = NULL; in UsbFnCfgMgrParseString()
147 fnString->strings[strCount].id = 0xff; in UsbFnCfgMgrParseString()
148 for (iCount = 0; iCount < strCount; iCount++) { in UsbFnCfgMgrParseString()
Dadapter_if.c425 uint32_t strCount = 0; in GetHeaderStr() local
432 strCount = j; in GetHeaderStr()
436 headerStr->strCount = strCount; in GetHeaderStr()
467 for (j = 0; j < headerStr.strCount; j++) { in UsbFnWriteStrings()
/drivers/peripheral/usb/ddk/device/include/
Dadapter_if.h68 uint32_t strCount; member
/drivers/peripheral/usb/interfaces/ddk/common/
Dusb_ddk.h272 uint32_t strCount; member