Lines Matching defs:desc
40 struct Hi35xxPinDesc *desc;
164 ret = strcmp(funcName, hi35xx->desc[index].func[funcNum]);
188 *funcName = hi35xx->desc[index].func[funcNum];
202 static int32_t Hi35xxPinReadFunc(struct Hi35xxPinDesc *desc,
208 ret = drsOps->GetString(node, "F0", &desc->func[funcNum], "NULL");
215 ret = drsOps->GetString(node, "F1", &desc->func[funcNum], "NULL");
222 ret = drsOps->GetString(node, "F2", &desc->func[funcNum], "NULL");
229 ret = drsOps->GetString(node, "F3", &desc->func[funcNum], "NULL");
236 ret = drsOps->GetString(node, "F4", &desc->func[funcNum], "NULL");
243 ret = drsOps->GetString(node, "F5", &desc->func[funcNum], "NULL");
262 ret = drsOps->GetString(node, "pinName", &hi35xx->desc[index].pinName, "NULL");
268 ret = drsOps->GetUint32(node, "init", &hi35xx->desc[index].init, 0);
274 ret = Hi35xxPinReadFunc(&hi35xx->desc[index], node, drsOps);
279 hi35xx->cntlr.pins[index].pinName = hi35xx->desc[index].pinName;
322 hi35xx->desc = (struct Hi35xxPinDesc *)OsalMemCalloc(sizeof(struct Hi35xxPinDesc) * hi35xx->pinCount);
323 if (hi35xx->desc == NULL) {
324 HDF_LOGE("%s: malloc desc failed:%d", __func__, ret);