Searched refs:NDGRPS_PER_MC (Results 1 – 2 of 2) sorted by relevance
38 #define NDGRPS_PER_MC 2 /* max dimm groups per mctrl */ macro62 #define DGRP_BASE(id) ((id & (NDGRPS_PER_MC - 1)) * DGRP_SIZE_MAX)87 char label[NDGRPS_PER_MC * NDIMMS_PER_DGRP][MAX_DEVLEN];151 int devgrpids[NDGRPS_PER_MC];
458 mcmconf.ndevgrps = NDGRPS_PER_MC; in mc_ioctl()750 mcport->devgrpids[i] % NDGRPS_PER_MC; in mc_ioctl()1146 if (mctrl->ndevgrps == NDGRPS_PER_MC && in mc_logical_layout()1267 dgrpoffset = dgrpid % NDGRPS_PER_MC; in mc_add_devgrp()1333 dgrpid = mcid * NDGRPS_PER_MC; in mc_construct()1387 for (i = 0; i < NDGRPS_PER_MC; i++) { in mc_delete()1388 dgrpid = mc_id * NDGRPS_PER_MC + i; in mc_delete()1598 mcdgrpid = bank->devgrp_id % NDGRPS_PER_MC; in mc_get_mem_unum()