Lines Matching defs:di
47 static boolean_t is_root_complex(di_prom_handle_t ph, di_node_t di);
49 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path);
116 is_root_complex(di_prom_handle_t ph, di_node_t di)
121 len = di_prom_prop_lookup_strings(ph, di, "device_type", &type);
130 * 'di' is not the root node, and its parent has no parent,
131 * then 'di' represents a root complex node.
133 return ((di_parent_node(di) != DI_NODE_NIL) &&
134 (di_parent_node(di_parent_node(di)) == DI_NODE_NIL));
148 mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name)
156 count = di_prom_prop_lookup_strings(ph, di, alt_name, &pp_data);
159 count = di_prom_prop_lookup_strings(ph, di, name, &pp_data);
179 mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name)
186 count = di_prom_prop_lookup_ints(ph, di, alt_name, &pp_data);
189 count = di_prom_prop_lookup_ints(ph, di, name, &pp_data);
205 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path)
218 if (add_prom_string_prop(ph, mdp, np, di, "device_type", NULL) != 0)
221 if (add_prom_string_prop(ph, mdp, np, di, "compatible", NULL) != 0)
225 mdp, np, di, "device-id", "real-device-id") != 0)
229 mdp, np, di, "vendor-id", "real-vendor-id") != 0)
233 mdp, np, di, "class-code", "real-class-code") != 0)