Home
last modified time | relevance | path

Searched refs:di_prom_handle_t (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_dio.c47 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);
51 di_prom_handle_t ph, md_node_t *node, di_node_t parent);
53 di_prom_handle_t ph, md_node_t *node, di_node_t dev);
116 is_root_complex(di_prom_handle_t ph, di_node_t di) in is_root_complex()
147 add_prom_string_prop(di_prom_handle_t ph, in add_prom_string_prop()
178 add_prom_int_prop(di_prom_handle_t ph, in add_prom_int_prop()
205 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path) in link_device_node()
245 di_prom_handle_t ph, md_node_t *md_parent, di_node_t di_parent) in create_children()
285 create_peers(mmd_t *mdp, di_prom_handle_t ph, md_node_t *node, di_node_t dev) in create_peers()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c71 static minor_t pci_cfg_pcidev(di_node_t, di_prom_handle_t);
75 static int pci_cfg_is_ap_path(di_node_t, di_prom_handle_t);
88 static int di_propall_lookup_ints(di_prom_handle_t, int,
90 static int di_propall_lookup_strings(di_prom_handle_t, int,
93 static int di_propall_lookup_slot_names(di_prom_handle_t, int,
415 di_propall_lookup_ints(di_prom_handle_t ph, int flags, in di_propall_lookup_ints()
436 di_propall_lookup_strings(di_prom_handle_t ph, int flags, in di_propall_lookup_strings()
458 pci_cfg_chassis_node(di_node_t node, di_prom_handle_t ph) in pci_cfg_chassis_node()
646 pci_cfg_pcidev(di_node_t node, di_prom_handle_t ph) in pci_cfg_pcidev()
900 pci_cfg_is_ap_path(di_node_t node, di_prom_handle_t ph) in pci_cfg_is_ap_path()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h120 typedef struct di_prom_handle *di_prom_handle_t; /* prom snapshot */ typedef
256 extern di_prom_handle_t di_prom_init(void);
257 extern void di_prom_fini(di_prom_handle_t ph);
259 extern di_prom_prop_t di_prom_prop_next(di_prom_handle_t ph, di_node_t node,
266 extern int di_prom_prop_lookup_ints(di_prom_handle_t prom,
269 extern int di_prom_prop_lookup_strings(di_prom_handle_t prom,
272 extern int di_prom_prop_lookup_bytes(di_prom_handle_t prom,
384 extern int di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node,
H A Ddevinfo.c2835 di_prom_handle_t
2852 return ((di_prom_handle_t)p); in di_prom_init()
2874 di_prom_fini(di_prom_handle_t ph) in di_prom_fini()
2892 di_prom_prop_found(di_prom_handle_t ph, int nodeid, in di_prom_prop_found()
2974 di_prom_prop_next(di_prom_handle_t ph, di_node_t node, di_prom_prop_t prom_prop) in di_prom_prop_next()
3044 di_prom_prop_lookup_common(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_common()
3144 di_prom_prop_lookup_ints(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_ints()
3170 di_prom_prop_lookup_strings(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_strings()
3213 di_prom_prop_lookup_bytes(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_bytes()
3316 di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node, in di_prom_prop_lookup_slot_names()
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c105 di_prom_handle_t prom_hdl;
150 static void dump_prodinfo(di_prom_handle_t, di_node_t, const char **,
152 static di_node_t find_node_by_name(di_prom_handle_t, di_node_t, char *);
153 static int get_propval_by_name(di_prom_handle_t, di_node_t,
174 di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL; in prtconf_devinfo()
1965 di_prom_handle_t promh; in do_productinfo()
2006 find_node_by_name(di_prom_handle_t promh, di_node_t parent, in find_node_by_name()
2025 get_propval_by_name(di_prom_handle_t promh, di_node_t node, const char *name, in get_propval_by_name()
2042 dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr, in dump_prodinfo()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c98 di_prom_handle_t ph);
116 di_prom_handle_t ph);
118 di_prom_handle_t ph);
1264 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph) in get_prom_int()
1276 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph) in get_prom_str()
1353 bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph) in bus_type()
H A Ddisks_private.h138 di_prom_handle_t ph;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_tree.h119 di_prom_handle_t th_pi; /* handle to root of prom tree */
H A Dtopo_mod.h135 extern di_prom_handle_t topo_mod_prominfo(topo_mod_t *);
H A Dtopo_mod.c734 di_prom_handle_t
805 di_prom_handle_t promh = DI_PROM_HANDLE_NIL; in topo_mod_csn()
H A Dlibtopo.h95 extern di_prom_handle_t topo_hdl_prominfo(topo_hdl_t *);
H A Dtopo_snap.c829 di_prom_handle_t
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c71 di_prom_handle_t promtree = DI_PROM_HANDLE_NIL; in get_pci_vpd_sn_pn()
H A Ddid_props.c271 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; in promprop2uint()
329 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; in di_bytes_get()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c51 di_prom_handle_t phdl; in devinfo_cpu_add()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c276 di_prom_handle_t phdl = DI_PROM_HANDLE_NIL; in get_prom_prop()
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c68 di_prom_handle_t di_phdl;
141 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()
939 di_prom_handle_t di_phdl = DI_PROM_HANDLE_NIL; in do_probe_walk()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c174 static int prop_lookup_int(di_node_t, di_prom_handle_t, char *, int **);
411 di_prom_handle_t ph;
425 di_prom_handle_t ph = DI_PROM_HANDLE_NIL; in ecache_info_init()
489 di_prom_handle_t ph = di_arg->ph; in find_cpu_nodes()
556 prop_lookup_int(di_node_t node, di_prom_handle_t ph, char *propname, int **ival) in prop_lookup_int()
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c275 di_prom_handle_t promp;
1082 di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp; in find_slotname()
/illumos-gate/usr/src/cmd/power/
H A Dparse.c162 di_prom_handle_t ph; in lookup_estar_vers()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dlibdevinfo_sun4u.c60 di_prom_handle_t ph; /* Handle for using di_prom interface */
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c260 di_prom_handle_t promp;
1209 di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp; in find_slotname()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c29 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c100 static di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c381 di_prom_handle_t promh = DI_PROM_HANDLE_NIL; in fmd_create()

12