Searched refs:root_impl (Results 1 – 1 of 1) sorted by relevance
418 MppCfgIoImpl *root_impl = (MppCfgIoImpl *)root; in mpp_cfg_add() local426 if (root_impl->type <= MPP_CFG_TYPE_INVALID || root_impl->type >= MPP_CFG_TYPE_BUTT) { in mpp_cfg_add()427 mpp_loge_f("invalid root type %d\n", root_impl->type); in mpp_cfg_add()431 list_add_tail(&leaf_impl->list, &root_impl->child); in mpp_cfg_add()432 leaf_impl->parent = root_impl; in mpp_cfg_add()436 if (root_impl->type == MPP_CFG_TYPE_ARRAY && root_impl->elems) { in mpp_cfg_add()439 for (i = 0; i < root_impl->array_size; i++) { in mpp_cfg_add()440 if (!root_impl->elems[i]) { in mpp_cfg_add()441 root_impl->elems[i] = leaf_impl; in mpp_cfg_add()