Lines Matching defs:nodeh
287 get_bus_type(picl_nodehdl_t nodeh, struct io_card *card)
293 if (picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME, val,
346 get_slot_label(picl_nodehdl_t nodeh, struct io_card *card)
358 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val,
382 if (picl_get_propval_by_name(nodeh, PICL_PROP_INSTANCE, &instance,
391 if (picl_get_propval_by_name(nodeh, PICL_PROP_DEVICE_ID, &devid,
399 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh,
431 get_slot_number(picl_nodehdl_t nodeh, struct io_card *card)
444 if (picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &pnodeh,
455 nodeh = pnodeh;
457 if (picl_get_propval_by_name(nodeh, PICL_PROP_UNIT_ADDRESS, uaddr,
559 picl_nodehdl_t nodeh, pnodeh;
573 err = picl_get_propval_by_name(pcih, PICL_PROP_CHILD, &nodeh,
577 err = picl_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME,
585 err = picl_get_propval_by_name(nodeh,
586 PICL_PROP_PEER, &nodeh,
591 err = picl_get_propval_by_name(nodeh,
592 PICL_PROP_PEER, &nodeh,
597 err = picl_get_propval_by_name(nodeh,
598 PICL_PROP_PEER, &nodeh,
604 err = picl_get_propval_by_name(nodeh, PICL_PROP_DEVFS_PATH,
611 pnodeh = nodeh;
612 err = get_slot_label(nodeh, &pci_card);
638 pnodeh = nodeh;
639 get_slot_number(nodeh, &pci_card);
643 * Passing in pnodeh instead of nodeh will cause prtdiag
653 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, name,
660 err = picl_get_propval_by_name(nodeh, PICL_PROP_STATUS, val,
674 err = picl_get_propval_by_name(nodeh, PICL_PROP_BINDING_NAME,
687 err = sun4v_get_first_compatible_value(nodeh,
702 err = picl_get_propval_by_name(nodeh, OBP_PROP_MODEL,
713 err = picl_get_propinfo_by_name(nodeh, OBP_PROP_REG,
722 err = picl_get_propval_by_name(nodeh,
786 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh,
832 sun4v_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf)
841 err = picl_get_propinfo_by_name(nodeh, OBP_PROP_COMPATIBLE,
990 sun4v_memory_conf_callback(picl_nodehdl_t nodeh, void *args)
1004 err = picl_get_propval_by_name(nodeh, PICL_PROP_BASEADDRESS,
1008 err = picl_get_propval_by_name(nodeh, PICL_PROP_SIZE,
1012 err = picl_get_propval_by_name(nodeh,
1017 err = picl_get_propval_by_name(nodeh,
1030 err = picl_get_propval_by_name(nodeh, PICL_PROP_CHILD,
1031 &nodeh, sizeof (nodeh));
1033 print_memory_segment_contain(nodeh);
1035 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER, &nodeh,
1324 sun4v_env_print_sensor_callback(picl_nodehdl_t nodeh, void *args)
1353 err = picl_get_propval_by_name(nodeh,
1365 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1369 if (picl_get_propval_by_name(nodeh,
1373 if (picl_get_propval_by_name(nodeh,
1377 if (picl_get_propval_by_name(nodeh,
1381 if (picl_get_propval_by_name(nodeh,
1385 if (picl_get_propval_by_name(nodeh,
1389 if (picl_get_propval_by_name(nodeh,
1434 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &parenth,
1487 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, val,
1497 if (picl_get_propval_by_name(nodeh, PICL_PROP_EXPONENT,
1519 err = picl_get_propval_by_name(nodeh, PICL_PROP_BASE_UNITS,
1552 sun4v_env_print_indicator_callback(picl_nodehdl_t nodeh, void *args)
1577 err = picl_get_propval_by_name(nodeh,
1589 if (picl_get_propval_by_name(nodeh, prop, ¤t_val,
1595 if (picl_get_propval_by_name(nodeh, PICL_PROP_EXPECTED,
1627 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &parenth,
1679 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, label,
1956 sun4v_print_fru_status_callback(picl_nodehdl_t nodeh, void *args)
1971 err = picl_get_prop_by_name(nodeh, PICL_PROP_IS_FRU, &proph);
1974 err = picl_get_propval_by_name(nodeh, PICL_PROP_LABEL, label,
1978 err = picl_get_propval_by_name(nodeh, PICL_PROP_OPERATIONAL_STATUS,
1996 if (is_fru_absent(nodeh))
1999 err = picl_get_propval_by_name(nodeh, PICL_PROP_PARENT, &parenth,
2087 picl_nodehdl_t nodeh;
2089 err = picl_get_propval_by_name(fruh, PICL_PROP_CHILD, &nodeh,
2092 err = picl_get_propval_by_name(nodeh,
2096 err = picl_get_propval_by_name(nodeh,
2107 err = picl_get_propval_by_name(nodeh, PICL_PROP_PEER,
2108 &nodeh, sizeof (picl_nodehdl_t));
2115 sun4v_print_fw_rev_callback(picl_nodehdl_t nodeh, void *args)
2125 err = picl_get_propval_by_name(nodeh, PICL_PROP_FW_REVISION, rev,