di_prom_handle_t
static di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL;
di_prom_handle_t phdl = DI_PROM_HANDLE_NIL;
static int prop_lookup_int(di_node_t, di_prom_handle_t, char *, int **);
di_prom_handle_t ph;
di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
di_prom_handle_t ph = di_arg->ph;
prop_lookup_int(di_node_t node, di_prom_handle_t ph, char *propname, int **ival)
di_prom_handle_t ph;
di_propall_lookup_ints(di_prom_handle_t ph, int flags,
di_propall_lookup_strings(di_prom_handle_t ph, int flags,
pci_cfg_chassis_node(di_node_t node, di_prom_handle_t ph)
di_propall_lookup_slot_names(di_prom_handle_t ph, int flags,
pci_cfg_slotname(di_node_t node, di_prom_handle_t ph, minor_t pci_dev)
pci_cfg_ap_node(minor_t pci_dev, di_node_t node, di_prom_handle_t ph,
pci_cfg_iob_name(di_minor_t minor, di_node_t node, di_prom_handle_t ph,
pci_cfg_pcidev(di_node_t node, di_prom_handle_t ph)
static di_node_t pci_cfg_chassis_node(di_node_t, di_prom_handle_t);
static char *pci_cfg_slotname(di_node_t, di_prom_handle_t, minor_t);
static int pci_cfg_ap_node(minor_t, di_node_t, di_prom_handle_t,
pci_cfg_ap_path(di_minor_t minor, di_node_t node, di_prom_handle_t ph,
static int pci_cfg_iob_name(di_minor_t, di_node_t, di_prom_handle_t,
static minor_t pci_cfg_pcidev(di_node_t, di_prom_handle_t);
static int pci_cfg_ap_path(di_minor_t, di_node_t, di_prom_handle_t,
static int pci_cfg_is_ap_path(di_node_t, di_prom_handle_t);
static int pci_cfg_ap_legacy(di_minor_t, di_node_t, di_prom_handle_t,
pci_cfg_ap_legacy(di_minor_t minor, di_node_t node, di_prom_handle_t ph,
static int di_propall_lookup_ints(di_prom_handle_t, int,
static int di_propall_lookup_strings(di_prom_handle_t, int,
pci_cfg_is_ap_path(di_node_t node, di_prom_handle_t ph)
static int di_propall_lookup_slot_names(di_prom_handle_t, int,
di_prom_handle_t promh = DI_PROM_HANDLE_NIL;
di_prom_handle_t phdl;
is_root_complex(di_prom_handle_t ph, di_node_t di)
add_prom_string_prop(di_prom_handle_t ph,
add_prom_int_prop(di_prom_handle_t ph,
di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path)
di_prom_handle_t ph, md_node_t *md_parent, di_node_t di_parent)
create_peers(mmd_t *mdp, di_prom_handle_t ph, md_node_t *node, di_node_t dev)
di_prom_handle_t ph;
static boolean_t is_root_complex(di_prom_handle_t ph, di_node_t di);
di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path);
di_prom_handle_t ph, md_node_t *node, di_node_t parent);
di_prom_handle_t ph, md_node_t *node, di_node_t dev);
di_prom_handle_t ph;
di_prom_handle_t ph;
static int do_probe(int fd, di_node_t di_node, di_prom_handle_t di_phdl,
di_prom_handle_t di_phdl;
do_probe(int fd, di_node_t di_node, di_prom_handle_t di_phdl,
di_prom_handle_t di_phdl = DI_PROM_HANDLE_NIL;
static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
di_prom_handle_t ph;
di_prom_handle_t prom_hdl;
static void dump_prodinfo(di_prom_handle_t, di_node_t, const char **,
static di_node_t find_node_by_name(di_prom_handle_t, di_node_t, char *);
static int get_propval_by_name(di_prom_handle_t, di_node_t,
di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL;
di_prom_handle_t promh;
find_node_by_name(di_prom_handle_t promh, di_node_t parent,
get_propval_by_name(di_prom_handle_t promh, di_node_t node, const char *name,
dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr,
di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp;
di_prom_handle_t promp;
di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp;
di_prom_handle_t promp;
extern di_prom_handle_t topo_hdl_prominfo(topo_hdl_t *);
di_prom_handle_t
di_prom_handle_t promh = DI_PROM_HANDLE_NIL;
extern di_prom_handle_t topo_mod_prominfo(topo_mod_t *);
di_prom_handle_t
di_prom_handle_t th_pi; /* handle to root of prom tree */
di_prom_handle_t ptp = DI_PROM_HANDLE_NIL;
di_prom_handle_t ptp = DI_PROM_HANDLE_NIL;
di_prom_handle_t promtree = DI_PROM_HANDLE_NIL;
di_prom_handle_t
return ((di_prom_handle_t)p);
di_prom_fini(di_prom_handle_t ph)
di_prom_prop_found(di_prom_handle_t ph, int nodeid,
di_prom_prop_next(di_prom_handle_t ph, di_node_t node, di_prom_prop_t prom_prop)
di_prom_prop_lookup_common(di_prom_handle_t ph, di_node_t node,
di_prom_prop_lookup_ints(di_prom_handle_t ph, di_node_t node,
di_prom_prop_lookup_strings(di_prom_handle_t ph, di_node_t node,
di_prom_prop_lookup_bytes(di_prom_handle_t ph, di_node_t node,
di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node,
extern di_prom_handle_t di_prom_init(void);
extern void di_prom_fini(di_prom_handle_t ph);
extern di_prom_prop_t di_prom_prop_next(di_prom_handle_t ph, di_node_t node,
extern int di_prom_prop_lookup_ints(di_prom_handle_t prom,
extern int di_prom_prop_lookup_strings(di_prom_handle_t prom,
extern int di_prom_prop_lookup_bytes(di_prom_handle_t prom,
extern int di_prom_prop_lookup_slot_names(di_prom_handle_t ph, di_node_t node,
di_prom_handle_t ph;
di_prom_handle_t ph);
di_prom_handle_t ph);
di_prom_handle_t ph);
get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph)
get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph)
bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph)
di_prom_handle_t ph; /* Handle for using di_prom interface */