Home
last modified time | relevance | path

Searched refs:did_t (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.h38 typedef struct did did_t; typedef
40 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 *);
47 extern void did_link_set(topo_mod_t *, tnode_t *, did_t *);
50 extern topo_mod_t *did_mod(did_t *);
51 extern di_node_t did_dinode(did_t *);
52 extern void did_BDF(did_t *, int *, int *, int *);
53 extern void did_markrc(did_t *);
[all …]
H A Ddid.c255 did_physlot(did_t *did) in did_physlot()
262 did_physlot_exists(did_t *did) in did_physlot_exists()
268 did_t *
272 did_t *np; in did_create()
273 did_t *pd; in did_create()
283 if ((np = topo_mod_zalloc(mp, sizeof (did_t))) == NULL) in did_create()
295 topo_mod_free(mp, np, sizeof (did_t)); in did_create()
332 topo_mod_free(mp, np, sizeof (did_t)); in did_create()
344 topo_mod_free(mp, np, sizeof (did_t)); in did_create()
353 did_t *
[all …]
H A Ddid_hash.c100 r->dph_hashlen * sizeof (did_t *)); in did_hash_create()
112 did_t *e, *n; in did_hash_destroy()
125 ht->dph_hash, ht->dph_hashlen * sizeof (did_t *)); in did_hash_destroy()
130 did_hash_insert(topo_mod_t *mp, di_node_t key, did_t *new) in did_hash_insert()
133 did_t *assertchk; in did_hash_insert()
156 did_t *
159 did_t *e; in did_hash_lookup()
H A Ddid_props.c45 static int ASRU_set(tnode_t *, did_t *,
47 static int FRU_set(tnode_t *, did_t *,
49 static int DEVprop_set(tnode_t *, did_t *,
51 static int DRIVERprop_set(tnode_t *, did_t *,
53 static int MODULEprop_set(tnode_t *, did_t *,
55 static int EXCAP_set(tnode_t *, did_t *,
57 static int BDF_set(tnode_t *, did_t *,
59 static int label_set(tnode_t *, did_t *,
61 static int maybe_di_chars_copy(tnode_t *, did_t *,
63 static int maybe_di_uint_to_str(tnode_t *, did_t *,
[all …]
H A Dpcibus_labels.h65 int (*srw_test)(topo_mod_t *, did_t *); /* test function */
91 int (*dl_test)(topo_mod_t *, did_t *); /* test function */
107 extern char *pci_slot_label_lookup(topo_mod_t *, tnode_t *, did_t *, did_t *);
H A Dpcibus_labels.c45 pci_label_physlot_lookup(topo_mod_t *mod, char *platform, did_t *dp) in pci_label_physlot_lookup()
92 const char *label, did_t *dp) in pci_label_slotname_lookup()
151 pci_label_missing_lookup(topo_mod_t *mod, char *platform, did_t *dp) in pci_label_missing_lookup()
220 pci_slot_label_lookup(topo_mod_t *mod, tnode_t *node, did_t *dp, did_t *pdp) in pci_slot_label_lookup()
223 did_t *adp, *apdp; in pci_slot_label_lookup()
423 did_t *dp, *pdp; in pci_label_cmn()
448 dp = (did_t *)(uintptr_t)ptr; in pci_label_cmn()
476 did_t *dp, *pdp; in pci_fru_cmn()
491 dp = (did_t *)(uintptr_t)ptr; in pci_fru_cmn()
H A Dpcibus.c165 did_t *pd; in pciexfn_declare()
256 did_t *pd; in pciexdev_declare()
285 did_t *pd; in pciexbus_declare()
312 did_t *pd; in pcifn_declare()
339 did_t *pd; in pcidev_declare()
368 did_t *pd; in pcibus_declare()
438 did_t *dp = NULL; in declare_dev_and_fn()
569 did_t *pps[MAX_PCIBUS_DEVS][MAX_PCIDEV_FNS]; in pci_children_instantiate()
570 did_t *bp = NULL; in pci_children_instantiate()
571 did_t *np; in pci_children_instantiate()
[all …]
H A Ddid_props.h57 int (*tx_xlate)(tnode_t *, did_t *,
73 extern int did_props_set(tnode_t *, did_t *, txprop_t[], int);
H A Ddid_impl.h91 did_t **dph_hash; /* hash bucket array */
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/pcibus/
H A Dpci_i86pc.c60 parent_is_rc(topo_mod_t *mod, did_t *dp) in parent_is_rc()
71 ba_is_2(topo_mod_t *mod, did_t *dp) in ba_is_2()
74 did_t *pdp; in ba_is_2()
100 ba_is_4(topo_mod_t *mod, did_t *dp) in ba_is_4()
103 did_t *pdp; in ba_is_4()
H A Dpci_i86pc.h99 extern int parent_is_rc(topo_mod_t *, did_t *);
100 extern int ba_is_2(topo_mod_t *, did_t *);
101 extern int ba_is_4(topo_mod_t *, did_t *);
/titanic_50/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c243 did_t *pd; in pcihostbridge_declare()
268 did_t *pd; in pciexhostbridge_declare()
293 did_t *pd; in pciexrc_declare()
321 did_t *iodid = (did_t *)priv; in specific_hb_enum()
322 did_t *didp; in specific_hb_enum()
/titanic_50/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire/ioboard/
H A Diob_platform.c84 did_t *iobs[18][2][2]; in platform_iob_enum()
100 did_t *d; in platform_iob_enum()
/titanic_50/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire-15000/ioboard/
H A Diob_platform.c84 did_t *iobs[18][2][2]; in platform_iob_enum()
100 did_t *d; in platform_iob_enum()
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/hostbridge/
H A Dhb_i86pc.c40 did_t *hbdid; in hb_process()
60 did_t *hbdid; in rc_process()
/titanic_50/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.h59 extern did_t *split_bus_address(topo_mod_t *, di_node_t, uint_t, uint_t,
H A Dioboard.c220 did_t *
/titanic_50/usr/src/lib/fm/topo/modules/sun4u/pcibus/
H A Dpci_sun4u.h42 extern int sunfire_test_func(topo_mod_t *, did_t *);
H A Dpci_sun4u.c66 sunfire_test_func(topo_mod_t *mod, did_t *dp) in sunfire_test_func()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c103 did_t *dp, *pdp; in platform_pci_fru()
154 dp = (did_t *)(uintptr_t)ptr; in platform_pci_fru()
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_hostbridge.c100 did_t *did; in pciex_process()
165 did_t *did; in pci_process()
/titanic_50/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c151 topo_instance_t bi, di_node_t bn, did_t *hbdid) in hb_process()
301 did_t *link; in declare_buses()