Home
last modified time | relevance | path

Searched refs:registInfo (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_cfg_mgr.c1241 static int32_t UsbFnCfgMgrCheckRegist(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo, in UsbFnCfgMgrCheckRegist() argument
1248 fnCfgPropMgr = UsbfnCfgMgrFindPropMgr(intf, registInfo->name); in UsbFnCfgMgrCheckRegist()
1250 HDF_LOGE("%{public}s:%{public}s not found", __func__, registInfo->name); in UsbFnCfgMgrCheckRegist()
1264 int32_t UsbFnCfgMgrRegisterProp(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo) in UsbFnCfgMgrRegisterProp() argument
1266 if (intf == NULL || registInfo == NULL || registInfo->name == NULL) { in UsbFnCfgMgrRegisterProp()
1274 uint8_t isDevProp = (uint8_t)IsDevDescProp(registInfo->name); in UsbFnCfgMgrRegisterProp()
1275 int32_t isRegist = IsPropRegisted(intf, registInfo->name); in UsbFnCfgMgrRegisterProp()
1276 int32_t ret = UsbFnCfgMgrCheckRegist(intf, registInfo, isDevProp, isRegist, fnCfgPropMgr); in UsbFnCfgMgrRegisterProp()
1283 ret = snprintf_s(fnCfgPropMgr->name, MAX_LEN, MAX_LEN - 1, "%s", registInfo in UsbFnCfgMgrRegisterProp()
1378 struct UsbFnRegistInfo registInfo; UsbFnCfgMgrSetProp() local
[all...]
H A Dusbfn_sdk_if.c226 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo) in UsbFnRegistInterfaceProp() argument
228 if (registInfo == NULL || interface == NULL) { in UsbFnRegistInterfaceProp()
232 return UsbFnCfgMgrRegisterProp(interface, registInfo); in UsbFnRegistInterfaceProp()
/drivers/peripheral/usb/ddk/device/include/
H A Dusbfn_cfg_mgr.h129 const struct UsbFnRegistInfo *registInfo);
/drivers/peripheral/usb/interfaces/ddk/device/
H A Dusbfn_interface.h333 * @param registInfo Indicates the pointer to the attribute information.
338 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo);
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c827 struct UsbFnRegistInfo registInfo; in UsbSerialRegistProp() local
838 registInfo.name = propName; in UsbSerialRegistProp()
839 registInfo.value = propValue; in UsbSerialRegistProp()
840 registInfo.getProp = UsbSerialRegistPropAGet; in UsbSerialRegistProp()
841 registInfo.setProp = UsbSerialRegistPropASet; in UsbSerialRegistProp()
842 ret = UsbFnRegistInterfaceProp(intf, &registInfo); in UsbSerialRegistProp()

Completed in 20 milliseconds