Lines Matching defs:chdh

1443 construct_obp_node(picl_nodehdl_t parh, di_node_t dn, picl_nodehdl_t *chdh)
1469 *chdh = anodeh;
1479 char *nodeclass, di_node_t dn, picl_nodehdl_t *chdh)
1492 *chdh = anodeh;
1503 picl_nodehdl_t chdh;
1506 err = construct_obp_node(nodeh, dinode, &chdh);
1512 (void) construct_openprom_tree(chdh, cnode);
1538 picl_nodehdl_t chdh;
1554 nodeclass, cnode, &chdh);
1557 err = construct_devinfo_tree(chdh, obph, cnode,
1589 picl_nodehdl_t chdh;
1637 err = ptree_create_node(nodename, nodeclass, &chdh);
1641 (void) add_devinfo_props(chdh, cnode);
1642 (void) add_openprom_props(chdh, cnode);
1644 err = get_unitaddr(nodeh, chdh, unitaddr,
1648 (void) ptree_destroy_node(chdh);
1688 &chdh, sizeof (chdh));
1693 err = ptree_get_propval_by_name(chdh,
1698 err = ptree_get_propval_by_name(chdh,
1707 err = ptree_get_propval_by_name(chdh,
1708 PICL_PROP_PEER, &chdh, sizeof (chdh));
1727 &chdh) == PICL_SUCCESS) {
1733 if (post_mc_event(PICLEVENT_MC_ADDED, chdh) !=
1740 (void) update_subtree(chdh, cnode);
2588 add_status_prop(picl_nodehdl_t chdh, char *status)
2599 err = ptree_create_and_add_prop(chdh, &propinfo, status, &proph);
2615 picl_nodehdl_t chdh;
2630 for (err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh,
2632 err = ptree_get_propval_by_name(chdh, PICL_PROP_PEER, &chdh,
2636 err = ptree_get_propval_by_name(chdh, PICL_PROP_NAME,
2649 err = ptree_get_propval_by_name(chdh,
2667 err = ptree_get_prop_by_name(chdh, triple.propname,
2722 err = ptree_get_propval_by_name(chdh, PICL_PROP_STATUS,
2725 (void) add_status_prop(chdh, status);
2737 err = ptree_get_prop_by_name(chdh, PICL_PROP_STATUS, &proph);
2742 err = add_status_prop(chdh, status);
2751 if (ptree_create_and_add_node(nodeh, child, class, &chdh) ==
2753 (void) add_status_prop(chdh, status);
2759 (void) ptree_create_and_add_prop(chdh, &propinfo,
2770 (void) ptree_create_and_add_prop(chdh, &propinfo,
2785 (void) ptree_create_and_add_prop(chdh,
2793 (void) ptree_create_and_add_prop(chdh,
3389 picl_nodehdl_t chdh;
3403 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CHILD, &chdh,
3407 (void) add_unitaddr_prop(chdh, uamap, addrcells);
3408 (void) add_unitaddr_prop_to_subtree(chdh);
3410 err = ptree_get_propval_by_name(chdh, PICL_PROP_PEER, &chdh,