Home
last modified time | relevance | path

Searched refs:nrcs (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.c83 int id, nnode, nio, nrcs; in hb_rc_init() local
107 for (i = 0, nrcs = 0; i < nio; i++) { in hb_rc_init()
110 nrcs++; in hb_rc_init()
112 topo_mod_dprintf(mod, "Found %d pciex buses\n", nrcs); in hb_rc_init()
113 if (nrcs == 0) { in hb_rc_init()
130 hbp->srcs = nrcs; in hb_rc_init()
131 hbp->rcs = topo_mod_zalloc(mod, sizeof (md_rc_t) * nrcs); in hb_rc_init()
132 hbp->nrcs = 0; in hb_rc_init()
133 for (i = 0, nrcs = 0; i < nio; i++) { in hb_rc_init()
138 hbp->rcs[nrcs].id = -1; /* invalidate the entry */ in hb_rc_init()
[all …]
H A Dhb_sun4v.c291 int nrcs, nrcnode = 0; in platform_hb_enum() local
307 nrcs = 0; in platform_hb_enum()
311 nrcs += hbp->srcs; in platform_hb_enum()
313 if (hbmd.shbs <= 0 || nrcs <= 0) { in platform_hb_enum()
320 rcnode = topo_mod_zalloc(mod, nrcs * sizeof (tnode_t *)); in platform_hb_enum()
373 for (j = 0, rcp = hbp->rcs; j < hbp->nrcs; j++, rcp++) { in platform_hb_enum()
408 topo_mod_free(mod, rcnode, nrcs * sizeof (tnode_t *)); in platform_hb_enum()
H A Dhb_rcid.h49 int nrcs; /* number of pciexrc */ member
H A Dhb_mdesc.h58 int16_t nrcs; /* count of rc entries in rcs */ member
H A Dhb_rcid.c112 for (i = 0; i < prcids.plats[p].nrcs; i++) { in hb_find_rc_pid()