Lines Matching refs:chdh
2019 ptree_add_node(picl_nodehdl_t parh, picl_nodehdl_t chdh) in ptree_add_node() argument
2035 err = lookup_verify_node_handle(chdh, &cnodep); in ptree_add_node()
2783 picl_nodehdl_t chdh; in get_child_by_path() local
2827 for (err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in get_child_by_path()
2829 err = ptree_get_propval_by_name(chdh, PICL_PROP_PEER, &chdh, in get_child_by_path()
2841 err = ptree_get_propval_by_name(chdh, pname, in get_child_by_path()
2855 if ((ptree_get_propval_by_name(chdh, PICL_PROP_BUS_ADDR, in get_child_by_path()
2857 (ptree_get_propval_by_name(chdh, in get_child_by_path()
2867 *nodeh = chdh; in get_child_by_path()
2877 err = check_propval(chdh, ptr->pname, ptr->pval); in get_child_by_path()
2884 *nodeh = chdh; in get_child_by_path()
2900 picl_nodehdl_t chdh; in ptree_get_node_by_path() local
2933 for (chdh = rooth, tokindex = strchr(ptr, '/'); in ptree_get_node_by_path()
2938 err = get_child_by_path(chdh, ptr, &chdh, in ptree_get_node_by_path()
2941 err = get_child_by_path(chdh, ptr, &chdh, in ptree_get_node_by_path()
2953 *handle = chdh; in ptree_get_node_by_path()
2959 *handle = chdh; in ptree_get_node_by_path()
2965 err = get_child_by_path(chdh, ptr, &chdh, PICL_PROP_NAME); in ptree_get_node_by_path()
2967 err = get_child_by_path(chdh, ptr, &chdh, defprop); in ptree_get_node_by_path()
2972 *handle = chdh; in ptree_get_node_by_path()
3057 picl_nodehdl_t chdh; in do_walk() local
3060 err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in do_walk()
3061 sizeof (chdh)); in do_walk()
3063 err = ptree_get_propval_by_name(chdh, PICL_PROP_CLASSNAME, in do_walk()
3069 err = callback_fn(chdh, c_args); in do_walk()
3074 if ((err = do_walk(chdh, classname, c_args, callback_fn)) != in do_walk()
3078 err = ptree_get_propval_by_name(chdh, PICL_PROP_PEER, &chdh, in do_walk()
3079 sizeof (chdh)); in do_walk()
3152 picl_nodehdl_t chdh; in ptree_find_node() local
3156 err = ptree_get_propval_by_name(rooth, PICL_PROP_CHILD, &chdh, in ptree_find_node()
3157 sizeof (chdh)); in ptree_find_node()
3160 if (compare_propval(chdh, pname, ptype, pval, valsize)) { in ptree_find_node()
3162 *retnodeh = chdh; in ptree_find_node()
3166 err = ptree_find_node(chdh, pname, ptype, pval, valsize, in ptree_find_node()
3171 err = ptree_get_propval_by_name(chdh, PICL_PROP_PEER, &chdh, in ptree_find_node()
3172 sizeof (chdh)); in ptree_find_node()