hp_type
if (hp_type(parent) == HP_NODE_DEVICE)
switch (hp_type(node)) {
if (hp_type(node) != HP_NODE_USAGE) {
switch (hp_type(node)) {
(hp_type(child) == HP_NODE_USAGE)) {
if ((hp_type(node) == HP_NODE_USAGE) &&
if (hp_type(root) != HP_NODE_PORT) {
if (hp_type(root) != HP_NODE_PORT) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if (hp_type(root) != HP_NODE_CONNECTOR) {
if ((root->hp_type == HP_NODE_CONNECTOR) &&
if ((root->hp_type == HP_NODE_PORT) &&
node->hp_type = HP_NODE_DEVICE;
node->hp_type = HP_NODE_PORT;
node->hp_type = HP_NODE_CONNECTOR;
type = hp_type(node);
if (hp_type(node) != HP_NODE_DEVICE)
usage->hp_type = HP_NODE_USAGE;
if (hp_type(node) != HP_NODE_USAGE)
if (hp_type(node) != HP_NODE_USAGE)
return (DI_HP(hp)->hp_type);
node->hp_type = val_uint32;
return (node->hp_type);
if ((node->hp_type != HP_NODE_CONNECTOR) &&
(node->hp_type != HP_NODE_PORT)) {
if (node->hp_type != HP_NODE_USAGE) {
if ((node->hp_type != HP_NODE_CONNECTOR) &&
(node->hp_type != HP_NODE_PORT)) {
if ((node->hp_type != HP_NODE_CONNECTOR) &&
(node->hp_type != HP_NODE_PORT)) {
if ((node->hp_type == HP_NODE_CONNECTOR) ||
(node->hp_type == HP_NODE_PORT))
if (parent->hp_type == HP_NODE_DEVICE) {
if ((root->hp_type == HP_NODE_DEVICE) &&
if ((node->hp_type != HP_NODE_CONNECTOR) &&
(node->hp_type != HP_NODE_PORT)) {
if (node->hp_type != HP_NODE_CONNECTOR) {
if (node->hp_type != HP_NODE_PORT) {
if (node->hp_type != HP_NODE_CONNECTOR) {
if (node->hp_type != HP_NODE_CONNECTOR) {
(uint32_t)node->hp_type)) != 0)
int hp_type(hp_node_t node);
int hp_type;
me->hp_type = (int)hp_hdl->cn_info.cn_type;
int hp_type; /* connection type: PCI, ... */