Searched refs:di_node_t (Results 1 - 25 of 118) sorted by relevance

12345

/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_impl.h53 di_minor_t find_minor_ap(topo_mod_t *, di_node_t);
54 int find_child(topo_mod_t *, di_node_t, di_node_t *,
57 char *gen_oc(topo_mod_t *, di_node_t, di_path_t);
58 char *gen_client_oc(topo_mod_t *, di_node_t, int);
59 char *generic_label(topo_mod_t *, di_node_t, tnode_t *, int);
62 boolean_t get_generic(topo_mod_t *, di_node_t);
64 char *get_pcilabel(topo_mod_t *, tnode_t *, di_node_t);
65 int get_num_phys(di_node_t);
66 int read_config(topo_mod_t *, di_node_t, cha
[all...]
H A Dbay.h88 di_node_t hba_dnode; /* HBA devinfo node */
102 int gather_sas_hba(di_node_t, void *);
104 int get_int_prop(di_node_t, di_path_t, char *);
105 int get_phy(di_node_t, di_path_t);
106 int get_str_prop(di_node_t, di_path_t, char *, char *);
107 boolean_t sas_direct(di_node_t);
H A Dbay_subr.c62 di_node_t cnode = DI_NODE_NIL;
120 find_minor_ap(topo_mod_t *mod, di_node_t cnode)
137 find_child(topo_mod_t *mod, di_node_t dnode, di_node_t *cn, di_path_t *pn,
140 di_node_t cnode = di_child_node(dnode);
145 bcopy(&cnode, cn, sizeof (di_node_t));
184 generic_label(topo_mod_t *mod, di_node_t hba_node, tnode_t *tnp, int n)
246 gen_oc(topo_mod_t *mod, di_node_t dnode, di_path_t pnode)
323 di_node_t dnode = DI_NODE_NIL;
324 di_node_t cnod
[all...]
H A Dbay_util.c95 gather_sas_hba(di_node_t dnode, void *arg)
98 di_node_t parent_node = DI_NODE_NIL;
99 di_node_t *hba_nodes = (di_node_t *)arg;
206 get_int_prop(di_node_t dnode, di_path_t pnode, char *prop_name)
278 get_phy(di_node_t dnode, di_path_t pnode)
335 get_str_prop(di_node_t dnode, di_path_t pnode, char *prop_name, char *prop_out)
402 i_direct(di_node_t dnode, char *node1_prop_str, char *node2_prop_str)
405 di_node_t cnode = DI_NODE_NIL;
454 o_direct(di_node_t dnod
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.h49 const char *tx_diprop; /* property examined off the di_node_t */
76 extern char *pci_devtype_get(topo_mod_t *, di_node_t);
77 extern int pciex_cap_get(topo_mod_t *, di_node_t);
78 extern int pci_BDF_get(topo_mod_t *, di_node_t, int *, int *, int *);
79 extern int pci_classcode_get(topo_mod_t *, di_node_t, uint_t *, uint_t *);
81 extern int di_uintprop_get(topo_mod_t *, di_node_t, const char *, uint_t *);
82 extern int di_bytes_get(topo_mod_t *, di_node_t, const char *, int *,
H A Dpcibus.h68 extern tnode_t *pcibus_declare(topo_mod_t *, tnode_t *, di_node_t,
70 extern tnode_t *pcidev_declare(topo_mod_t *, tnode_t *, di_node_t,
72 extern tnode_t *pcifn_declare(topo_mod_t *, tnode_t *, di_node_t,
74 extern tnode_t *pciexbus_declare(topo_mod_t *, tnode_t *, di_node_t,
76 extern tnode_t *pciexdev_declare(topo_mod_t *, tnode_t *, di_node_t,
78 extern tnode_t *pciexfn_declare(topo_mod_t *, tnode_t *, di_node_t,
80 extern int pci_children_instantiate(topo_mod_t *, tnode_t *, di_node_t,
H A Ddid.h40 extern did_t *did_create(topo_mod_t *, di_node_t, int, int, int,
42 extern did_t *did_find(topo_mod_t *, di_node_t);
43 extern did_t *did_hash_lookup(topo_mod_t *, di_node_t);
44 extern void did_hash_insert(topo_mod_t *, di_node_t, did_t *);
51 extern di_node_t did_dinode(did_t *);
/osnet-11/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.h66 extern tnode_t *pcihostbridge_declare(topo_mod_t *, tnode_t *, di_node_t,
68 extern tnode_t *pciexhostbridge_declare(topo_mod_t *, tnode_t *, di_node_t,
70 extern tnode_t *pciexrc_declare(topo_mod_t *, tnode_t *, di_node_t,
/osnet-11/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.h45 di_node_t br_din; /* devinfo node */
50 extern busorrc_t *busorrc_new(topo_mod_t *, const char *, di_node_t);
52 extern int busorrc_add(topo_mod_t *, busorrc_t **, di_node_t);
55 extern tnode_t *rc_process(topo_mod_t *, tnode_t *, topo_instance_t, di_node_t);
/osnet-11/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h109 typedef struct di_node *di_node_t; /* node */ typedef in typeref:struct:di_node
155 extern di_node_t di_init(const char *phys_path, uint_t flag);
156 extern void di_fini(di_node_t root);
161 extern uint64_t di_cna_dev(di_node_t root);
163 extern int di_walk_node(di_node_t root, uint_t flag, void *arg,
164 int (*node_callback)(di_node_t node, void *arg));
166 extern di_node_t di_drv_first_node(const char *drv_name, di_node_t root);
167 extern di_node_t di_drv_next_node(di_node_t nod
[all...]
H A Ddevinfo.c144 di_node_t
166 di_node_t
205 di_node_t
348 di_fini(di_node_t root)
375 di_cna_dev(di_node_t node)
384 di_node_t
385 di_parent_node(di_node_t node)
415 di_node_t
416 di_sibling_node(di_node_t node)
447 di_node_t
[all...]
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
37 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path);
49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type)
76 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path)
H A Ddevinfo_usb.h23 HalDevice *devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
H A Ddevinfo_acpi.h31 HalDevice *devinfo_battery_add_major(HalDevice *parent, di_node_t node,
33 void devinfo_acpi_add_minor(HalDevice *parent, di_node_t node,
H A Ddevinfo_misc.c30 static HalDevice *devinfo_computer_add(HalDevice *, di_node_t, char *, char *);
31 static HalDevice *devinfo_keyboard_add(HalDevice *, di_node_t, char *, char *);
32 static HalDevice *devinfo_mouse_add(HalDevice *, di_node_t, char *, char *);
33 static HalDevice *devinfo_default_add(HalDevice *, di_node_t, char *, char *);
73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type)
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path,
164 devinfo_mouse_add(HalDevice *parent, di_node_t node, char *devfs_path,
199 devinfo_default_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type)
H A Ddevinfo_storage.h24 HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path,
H A Ddevinfo_usb.c36 static HalDevice *devinfo_usb_if_add(HalDevice *d, di_node_t node, gchar *devfs_path,
38 static HalDevice *devinfo_usb_scsa2usb_add(HalDevice *d, di_node_t node);
39 static HalDevice *devinfo_usb_printer_add(HalDevice *usbd, di_node_t node);
40 static HalDevice *devinfo_usb_input_add(HalDevice *usbd, di_node_t node);
41 static HalDevice *devinfo_usb_video4linux_add(HalDevice *usbd, di_node_t node);
44 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name);
74 is_usb_node(di_node_t node)
123 devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type)
253 set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name)
312 parse_usb_if_descr(di_node_t nod
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcGetNumberOfAdapters.cc47 di_node_t root_node;
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard_topo.h55 int cpuboard_hb_enum(topo_mod_t *mp, di_node_t dnode, char *rcpath,
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/hostbridge/common/
H A Dhb_i86pc.c36 hb_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t hbi, di_node_t bn)
55 rc_process(topo_mod_t *mod, tnode_t *ptn, topo_instance_t hbi, di_node_t bn)
81 di_node_t devtree;
82 di_node_t pnode, cnode;
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetInitiatorPortOidListPlugin.c36 static int getOidList(di_node_t root_node, MP_OID_LIST *pOidList)
42 di_node_t vh_node = DI_NODE_NIL;
43 di_node_t ph_node = DI_NODE_NIL;
122 di_node_t root_node = DI_NODE_NIL;
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c78 static bus_t *add_bus(struct search_args *args, di_node_t node,
80 static int add_cluster_devs(di_node_t node, di_minor_t minor,
83 di_node_t node, di_minor_t minor);
85 static int add_devs(di_node_t node, di_minor_t minor, void *arg);
92 static char *bus_type(di_node_t node, di_minor_t minor,
97 static char *ctype(di_node_t node, di_minor_t minor);
106 static char *get_byte_prop(char *prop_name, di_node_t node);
107 static di_node_t get_parent_bus(di_node_t node,
109 static int get_prom_int(char *prop_name, di_node_t nod
[all...]
/osnet-11/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c57 di_node_t cb_node; /* found leaf node of device path */
63 static di_node_t root_node = DI_NODE_NIL;
203 di_node_t node;
299 p2n_cb(di_node_t node, void *arg)
315 * Map a device path to its matching di_node_t.
317 static di_node_t
334 is_network_device(di_node_t node)
381 di_node_t node;
421 di_node_t tmp;
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_bay.c71 pi_bay_ocpath(topo_mod_t *mod, di_node_t dnode)
127 pi_bay_pgroups(topo_mod_t *mod, tnode_t *t_node, di_node_t cnode,
269 pi_bay_find_nodes(topo_mod_t *mod, di_node_t *nodep, di_node_t *sibp,
272 di_node_t sib = DI_NODE_NIL;
273 di_node_t gsib = DI_NODE_NIL;
323 bcopy(&sib, sibp, sizeof (di_node_t));
337 static di_node_t
341 di_node_t devtree = DI_NODE_NIL;
342 di_node_t dnod
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/niu/common/
H A Dniu.c87 devprop_set(tnode_t *tn, di_node_t dn,
106 driverprop_set(tnode_t *tn, di_node_t dn,
121 moduleprop_set(tnode_t *tn, di_node_t dn,
186 niu_asru_set(tnode_t *tn, di_node_t dn, topo_mod_t *mod)
274 niufn_instance_get(topo_mod_t *mod, di_node_t node, topo_instance_t *inst)
297 niufn_instantiate(tnode_t *parent, const char *name, di_node_t pnode,
300 di_node_t sib;
352 di_node_t devtree;
353 di_node_t dnode;

Completed in 67 milliseconds

12345