Searched refs:tnode_t (Results 26 - 50 of 139) sorted by relevance

123456

/illumos-gate/usr/src/lib/fm/topo/modules/sun4/pcibus/
H A Dpci_sun4.c38 pci_fru_compute(topo_mod_t *mod, tnode_t *node, nvlist_t *in, nvlist_t **out)
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_protocol.c41 topo_node_asru(tnode_t *node, nvlist_t **asru, nvlist_t *priv, int *err)
62 topo_node_fru(tnode_t *node, nvlist_t **fru, nvlist_t *priv, int *err)
83 topo_node_resource(tnode_t *node, nvlist_t **resource, int *err)
91 topo_node_label(tnode_t *node, char **label, int *err)
99 topo_node_asru_set(tnode_t *node, nvlist_t *asru, int flag, int *err)
128 topo_node_fru_set(tnode_t *node, nvlist_t *fru, int flag, int *err)
155 topo_node_label_set(tnode_t *node, char *label, int *err)
H A Dfmd.c45 static int fmd_enum(topo_mod_t *, tnode_t *, const char *, topo_instance_t,
47 static void fmd_release(topo_mod_t *, tnode_t *);
48 static int fmd_fmri_nvl2str(topo_mod_t *, tnode_t *, topo_version_t,
94 fmd_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min,
108 fmd_release(topo_mod_t *mp, tnode_t *node)
127 fmd_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version,
H A Dtopo_prop.h76 extern void topo_pgroup_destroy_all(tnode_t *);
77 extern nvlist_t *topo_prop_get(tnode_t *, const char *, const char *,
H A Dtopo_method.h49 extern int topo_method_call(tnode_t *, const char *, topo_version_t, nvlist_t *,
51 extern topo_imethod_t *topo_method_lookup(tnode_t *, const char *);
52 extern int topo_prop_method_version_register(tnode_t *, const char *,
H A Dtopo_parse.h76 tnode_t *ti_tn; /* topology node representing the instance */
89 tnode_t *rd_pn; /* parent topology node */
203 tf_info_t *, xmlNodePtr, tnode_t *);
204 extern tf_idata_t *tf_idata_new(topo_mod_t *, topo_instance_t, tnode_t *);
215 extern int topo_xml_enum(topo_mod_t *, tf_info_t *, tnode_t *);
H A Dtopo_prop.c76 pgroup_get(tnode_t *node, const char *pgname)
120 prop_method_get(tnode_t *node, topo_propval_t *pv, topo_propmethod_t *pm,
174 prop_get(tnode_t *node, const char *pgname, const char *pname, nvlist_t *pargs,
196 get_properror(tnode_t *node, int *errp, int err)
204 prop_getval(tnode_t *node, const char *pgname, const char *pname, void *val,
393 topo_prop_get_int32(tnode_t *node, const char *pgname, const char *pname,
401 topo_prop_get_uint32(tnode_t *node, const char *pgname, const char *pname,
409 topo_prop_get_int64(tnode_t *node, const char *pgname, const char *pname,
417 topo_prop_get_uint64(tnode_t *node, const char *pgname, const char *pname,
425 topo_prop_get_double(tnode_t *nod
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c47 static void iob_release(topo_mod_t *, tnode_t *);
48 static int iob_enum(topo_mod_t *, tnode_t *, const char *, topo_instance_t,
50 static int iob_label(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *,
53 extern int platform_iob_enum(topo_mod_t *, tnode_t *, topo_instance_t,
55 extern int platform_iob_label(topo_mod_t *, tnode_t *, nvlist_t *, nvlist_t **);
93 iob_label(topo_mod_t *mp, tnode_t *node, topo_version_t version,
115 iob_enum(topo_mod_t *mp, tnode_t *pn, const char *name, topo_instance_t imin,
150 iob_release(topo_mod_t *mp, tnode_t *node)
161 static tnode_t *
162 iob_tnode_create(topo_mod_t *mod, tnode_t *paren
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c149 tnode_t *
150 hb_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t hbi,
153 tnode_t *hb;
165 tnode_t *
166 rc_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t rci, di_node_t bn)
168 tnode_t *rc;
203 declare_exbuses(topo_mod_t *mod, busorrc_t *list, tnode_t *ptn, int nhb,
207 tnode_t **rcs;
208 tnode_t **hb;
213 * Allocate an array to point at the hostbridge tnode_t pointer
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c51 static int niu_enum(topo_mod_t *, tnode_t *, const char *, topo_instance_t,
88 devprop_set(tnode_t *tn, di_node_t dn,
107 driverprop_set(tnode_t *tn, di_node_t dn,
122 moduleprop_set(tnode_t *tn, di_node_t dn,
144 static tnode_t *
145 niu_tnode_create(topo_mod_t *mod, tnode_t *parent,
150 tnode_t *ntn;
187 niu_asru_set(tnode_t *tn, di_node_t dn, topo_mod_t *mod)
217 static tnode_t *
218 niu_declare(tnode_t *paren
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c97 static tnode_t *
98 hb_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name,
102 tnode_t *node;
144 tnode_t *
145 platform_pciexhostbridge_declare(topo_mod_t *mod, tnode_t *parent,
148 tnode_t *hbn;
172 static tnode_t *
173 platform_pciexrc_declare(topo_mod_t *mod, tnode_t *parent, int inst,
177 tnode_t *rcn;
280 platform_hb_enum(topo_mod_t *mod, tnode_t *paren
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_mem.c41 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
42 tnode_t **t_node)
H A Dpi_niu.c45 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
46 tnode_t **t_node)
H A Dpi_generic.c44 topo_instance_t inst, tnode_t *t_parent, const char *hc_name,
45 tnode_t **t_node)
67 topo_instance_t inst, tnode_t *t_bindparent, tnode_t *t_fmriparent,
68 const char *hc_name, const char *enum_name, tnode_t **t_node, int flag)
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/
H A Dzambezi.c49 static int zambezi_enum(topo_mod_t *, tnode_t *, const char *, topo_instance_t,
90 static tnode_t *
91 zam_tnode_create(topo_mod_t *mod, tnode_t *parent,
96 tnode_t *ntn;
136 static tnode_t *
137 zam_declare(tnode_t *parent, const char *name, topo_instance_t i,
140 tnode_t *ntn;
167 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name,
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/pcibus/
H A Dpci_i86pc.c42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
49 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
73 tnode_t *ptp;
102 tnode_t *ptp;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_topo.h57 tnode_t *cpubn, int brd);
H A Dcpuboard_hostbridge.c40 static tnode_t *
41 cpuboard_node_create(topo_mod_t *mp, tnode_t *parent, const char *name,
44 tnode_t *node;
90 static tnode_t *
91 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode,
95 tnode_t *rcn;
208 static tnode_t *
209 cpuboard_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst)
212 tnode_t *hbn;
242 tnode_t *cpub
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.h47 extern void did_link_set(topo_mod_t *, tnode_t *, did_t *);
73 extern void did_settnode(did_t *, tnode_t *);
74 extern tnode_t *did_gettnode(did_t *);
H A Dutil.c38 child_range_add(topo_mod_t *mp, tnode_t *tn, const char *cnm,
93 tnode_t *
94 tnode_create(topo_mod_t *mp, tnode_t *parent,
98 tnode_t *ntn;
141 labelmethod_inherit(topo_mod_t *mp, tnode_t *tn, nvlist_t *in, nvlist_t **out)
H A Dpcibus_hba.c39 pci_di_prop_set(tnode_t *tn, di_node_t din, char *dpnm, char *tpnm)
50 pci_pi_prop_set(tnode_t *tn, di_path_t din, char *dpnm, char *tpnm)
61 pci_scsi_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent,
64 tnode_t *child;
121 pci_smp_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent,
124 tnode_t *child;
154 static tnode_t *
155 pci_iport_device_create(topo_mod_t *mod, nvlist_t *auth, tnode_t *parent,
158 tnode_t *child;
181 pci_iports_instantiate(topo_mod_t *mod, tnode_t *paren
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/pcibus/
H A Dpci_sun4u.c42 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
48 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
68 tnode_t *tp;
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c65 static tnode_t *
66 opl_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst,
69 tnode_t *node;
105 static tnode_t *
106 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst)
109 tnode_t *rcn;
233 static tnode_t *
234 opl_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst)
237 tnode_t *hbn;
259 opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob, tnode_t *io
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c53 static int dimm_enum(topo_mod_t *, tnode_t *, const char *, topo_instance_t,
55 static void dimm_release(topo_mod_t *, tnode_t *);
116 static tnode_t *
117 mem_tnode_create(topo_mod_t *mod, tnode_t *parent,
123 tnode_t *ntn;
197 create_one_dimm(topo_mod_t *mod, tnode_t *pnode, int inst, mem_dimm_map_t *dp)
199 tnode_t *cnode;
259 static int mem_range_create(topo_mod_t *, tnode_t *, int, mem_dimm_map_t *);
262 mem_inst_create(topo_mod_t *mod, tnode_t *pnode, int pflen, mem_dimm_map_t *dp)
266 tnode_t *cnod
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c46 tnode_t *node;
52 static int platform_pci_fru_location(topo_mod_t *, tnode_t *, uchar_t *, int);
53 static int platform_pci_fru_cb(topo_mod_t *, tnode_t *, void *);
57 platform_pci_label(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
98 platform_pci_fru(topo_mod_t *mod, tnode_t *node, nvlist_t *in,
104 tnode_t *pnode;
187 platform_pci_fru_location(topo_mod_t *mod, tnode_t *node, uchar_t *loc,
191 tnode_t *parent;
192 tnode_t *top;
227 platform_pci_fru_cb(topo_mod_t *mod, tnode_t *nod
[all...]

Completed in 89 milliseconds

123456