Lines Matching refs:fun
642 const struct DeviceResourceNode *node, const struct DeviceResourceIface *drsOps, struct UsbFnFunction *fun)
644 if (node == NULL || fun == NULL) {
648 if (drsOps->GetString(node, "funcName", &fun->funcName, NULL) != HDF_SUCCESS) {
652 if (strncmp(fun->funcName, FUNCTION_GENERIC, strlen(FUNCTION_GENERIC)) != 0) {
655 fun->strings = UsbFnCfgMgrParseStrings(node, drsOps);
656 if (fun->strings == NULL) {
660 fun->fsDescriptors = UsbFnCfgMgrParseFunDesc(node, drsOps, "fsDescList");
661 if (fun->fsDescriptors == NULL) {
664 fun->hsDescriptors = UsbFnCfgMgrParseFunDesc(node, drsOps, "hsDescList");
665 if (fun->hsDescriptors == NULL) {
668 fun->ssDescriptors = UsbFnCfgMgrParseFunDesc(node, drsOps, "ssDescList");
669 if (fun->ssDescriptors == NULL) {
672 fun->sspDescriptors = UsbFnCfgMgrParseFunDesc(node, drsOps, "sspDescList");
673 if (fun->sspDescriptors == NULL) {