Home
last modified time | relevance | path

Searched refs:nranks (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Ddimm_topo.c109 newrank = kmem_zalloc(sizeof (nvlist_t *) * nhm_dimm->nranks, KM_SLEEP); in inhm_rank()
110 for (i = 0; i < nhm_dimm->nranks; i++) { in inhm_rank()
130 nhm_dimm->nranks); in inhm_rank()
131 for (i = 0; i < nhm_dimm->nranks; i++) in inhm_rank()
133 kmem_free(newrank, sizeof (nvlist_t *) * nhm_dimm->nranks); in inhm_rank()
160 (void) nvlist_add_uint32(newdimm, "ranks", (uint32_t)nhm_dimm->nranks); in inhm_dimm()
162 nhm_dimm->dimm_size / nhm_dimm->nranks); in inhm_dimm()
H A Dnhm_log.h38 uint8_t nranks; member
H A Dnhm_init.c223 dimmp->nranks = NUMRANK(dod); in dimm_prop()
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nbdrv.c115 newrank = kmem_zalloc(sizeof (nvlist_t *) * nb_dimm->nranks, KM_SLEEP); in inb_rank()
116 for (i = 0; i < nb_dimm->nranks; i++) { in inb_rank()
152 nb_dimm->nranks); in inb_rank()
153 for (i = 0; i < nb_dimm->nranks; i++) in inb_rank()
155 kmem_free(newrank, sizeof (nvlist_t *) * nb_dimm->nranks); in inb_rank()
184 (void) nvlist_add_uint32(newdimm, "ranks", (uint32_t)nb_dimm->nranks); in inb_dimm()
H A Dnb5000_init.c336 dp->nranks = (read_spd_eeprom(channel, slave, 5) & 0x3) + 1; in ddr2_eeprom()
344 dp->dimm_size = DIMMSIZE(dp->nrow, dp->ncolumn, dp->nranks, dp->nbanks, in ddr2_eeprom()
438 dp->nranks = MTR_NUMRANK(mtr); in nb_fbd_dimm_init()
777 (rank < dimmpp[i]->start_rank + dimmpp[i]->nranks)) { in nb_rank2dimm()
822 start_rank += dimmpp[j]->nranks; in nb_ddr2_dimms_init()
827 if (dimmpp[j]->nranks & 0x1) in nb_ddr2_dimms_init()
H A Dnb_log.h227 uint8_t nranks; /* number of ranks */ member
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c122 nvlist_t **ranks_nvp, int start_rank, int nranks, char *serial, char *part, in mc_add_ranks() argument
138 rank + nranks - 1) < 0) { in mc_add_ranks()
143 for (i = 0; i < nranks; i++) { in mc_add_ranks()
196 uint_t nranks = 0; in mc_add_dimms() local
218 &ranks_nvp, &nranks); in mc_add_dimms()
304 if (nranks) { in mc_add_dimms()
306 start_rank, nranks, serial, part, rev, maxranks); in mc_add_dimms()