Home
last modified time | relevance | path

Searched refs:di_node (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/lib/libprtdiag/common/
H A Dlibdevinfo_sun4u.c54 static void dump_di_node(Prom_node *pnode, di_node_t di_node);
56 di_node_t di_node);
73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node) in walk_di_tree() argument
96 dump_di_node(pnode, di_node); in walk_di_tree()
112 if ((n_names = di_compatible_names(di_node, &compatible_array)) > 0) { in walk_di_tree()
141 di_node_name(di_node), di_devfs_path(di_node)); in walk_di_tree()
163 di_node_name(di_node), di_devfs_path(di_node)); in walk_di_tree()
171 if (curnode = di_child_node(di_node)) { in walk_di_tree()
175 if (curnode = di_sibling_node(di_node)) { in walk_di_tree()
198 dump_di_node(Prom_node *pnode, di_node_t di_node) in dump_di_node() argument
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c34 di_node_t di_node; member
114 add_devinfo_props(picl_nodehdl_t nodeh, di_node_t di_node) in add_devinfo_props() argument
122 instance = di_instance(di_node); in add_devinfo_props()
128 di_val = di_bus_addr(di_node); in add_devinfo_props()
137 di_val = di_binding_name(di_node); in add_devinfo_props()
146 di_val = di_driver_name(di_node); in add_devinfo_props()
155 di_val = di_devfs_path(di_node); in add_devinfo_props()
165 for (di_prop = di_prop_next(di_node, DI_PROP_NIL); in add_devinfo_props()
167 di_prop = di_prop_next(di_node, di_prop)) { in add_devinfo_props()
328 get_cpuid(di_node_t di_node) in get_cpuid() argument
[all …]
/titanic_44/usr/src/cmd/fuser/
H A Dfuser.c232 di_node_t di_node; in i_get_dev_path() local
250 di_node = di_drv_first_node(drv_name, *di_root); in i_get_dev_path()
251 if (di_node == DI_NODE_NIL) in i_get_dev_path()
266 while (di_minor = di_minor_next(di_node, di_minor)) { in i_get_dev_path()
281 (f_user->fu_instance == di_instance(di_node))) { in i_get_dev_path()
282 path = di_devfs_path(di_node); in i_get_dev_path()
289 } while (di_node = di_drv_next_node(di_node)); in i_get_dev_path()
/titanic_44/usr/src/cmd/pcitool/
H A Dpcitool.c141 static int do_probe(int fd, di_node_t di_node, di_prom_handle_t di_phdl,
748 do_probe(int fd, di_node_t di_node, di_prom_handle_t di_phdl, in do_probe() argument
776 len = di_prop_lookup_ints(DDI_DEV_T_ANY, di_node, in do_probe()
781 len = di_prom_prop_lookup_ints(di_phdl, di_node, in do_probe()
862 process_nexus_node(di_node_t di_node, di_minor_t minor, void *arg) in process_nexus_node() argument
908 if ((do_probe(fd, di_node, walk_args_p->di_phdl, in process_nexus_node()
938 di_node_t di_node; in do_probe_walk() local
944 if ((di_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL) { in do_probe_walk()
959 (void) di_walk_minor(di_node, DDI_NT_REGACC, 0, in do_probe_walk()
967 if (di_node != DI_NODE_NIL) { in do_probe_walk()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Ddevinfo.c221 struct di_node *di_node; /* di_node in snapshot */ member
1519 struct di_node *me; in build_vhci_list()
1564 struct di_node *vh_di_node; in build_phci_list()
1565 struct di_node *me; in build_phci_list()
1605 struct di_node *me; in snap_driver_list()
1783 struct di_node *me; in di_copynode()
1793 size = sizeof (struct di_node); in di_copynode()
2106 ASSERT(i_lnode->di_node->self > 0); in i_lnode_check_free()
2143 struct di_node *ptr; in i_lnode_hashfunc()
2150 ptr = i_lnode->di_node; in i_lnode_hashfunc()
[all …]
/titanic_44/usr/src/cmd/biosdev/
H A Dbiosdev.c52 di_node_t di_node; member
252 pbp->di_node = node; in i_match_pcibdf()
267 pb.di_node = DI_NODE_NIL; in search_tree_match_pcibdf()
270 return (pb.di_node); in search_tree_match_pcibdf()
/titanic_44/usr/src/lib/libcpc/sparc/
H A Dconf_ultra.c614 cpc_get_cpu_ver(di_node_t di_node, void *arg) in cpc_get_cpu_ver() argument
620 node_name = di_node_name(di_node); in cpc_get_cpu_ver()
630 if ((n_names = di_compatible_names(di_node, in cpc_get_cpu_ver()
/titanic_44/usr/src/uts/common/sys/
H A Ddevinfo_impl.h114 #define DI_NODE(addr) ((struct di_node *)((void *)(addr)))
220 struct di_node { /* useful info to export for each tree node */ struct
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c880 add_openprom_props(picl_nodehdl_t nodeh, di_node_t di_node) in add_openprom_props() argument
893 for (promp = di_prom_prop_next(ph, di_node, DI_PROM_PROP_NIL); in add_openprom_props()
895 promp = di_prom_prop_next(ph, di_node, promp)) { in add_openprom_props()
1044 di_node_t di_node; in get_path_state_name() local
1079 di_node = di_lookup_node(di_root, devfs_path); in get_path_state_name()
1080 if (di_node == DI_NODE_NIL) { in get_path_state_name()
1100 while ((pi = di_path_next_phci(di_node, pi)) != DI_PATH_NIL) { in get_path_state_name()
1197 construct_mpath_node(picl_nodehdl_t parh, di_node_t di_node) in construct_mpath_node() argument
1201 while ((pi = di_path_next_phci(di_node, pi)) != DI_PATH_NIL) { in construct_mpath_node()
1254 add_devinfo_props(picl_nodehdl_t nodeh, di_node_t di_node) in add_devinfo_props() argument
[all …]
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c234 dnode = (struct di_node *)priv; in xaui_get_path()
/titanic_44/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h108 typedef struct di_node *di_node_t; /* node */
/titanic_44/usr/src/lib/libraidcfg/common/
H A Draidcfg.c4454 di_node_t di_node; in controller_id_to_driver_name() local
4470 di_node = di_init(tmp, DINFOPROP); in controller_id_to_driver_name()
4471 if (di_node == DI_NODE_NIL) in controller_id_to_driver_name()
4474 name = di_driver_name(di_node); in controller_id_to_driver_name()