Home
last modified time | relevance | path

Searched refs:dimms (Results 1 – 20 of 20) sorted by relevance

/linux/include/linux/
H A Dedac.h561 struct dimm_info **dimms; member
615 for ((dimm) = (mci)->dimms[0]; \
618 ? (mci)->dimms[(dimm)->idx + 1] \
659 if (WARN_ON_ONCE(mci->dimms[index]->idx != index)) in edac_get_dimm()
662 return mci->dimms[index]; in edac_get_dimm()
/linux/drivers/edac/
H A Dghes_edac.c44 struct dimm_info *dimms; member
216 new = krealloc_array(hw->dimms, hw->num_dimms + 16, in enumerate_dimms()
223 hw->dimms = new; in enumerate_dimms()
226 d = &hw->dimms[hw->num_dimms]; in enumerate_dimms()
449 src = &ghes_hw.dimms[i]; in ghes_edac_register()
499 kfree(ghes_hw.dimms); in ghes_edac_register()
500 ghes_hw.dimms = NULL; in ghes_edac_register()
H A Dedac_mc.c130 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci()
184 if (mci->dimms) { in mci_release()
186 kfree(mci->dimms[i]); in mci_release()
187 kfree(mci->dimms); in mci_release()
265 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
266 if (!mci->dimms) in edac_mc_alloc_dimms()
279 dimm = kzalloc(sizeof(**mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
282 mci->dimms[idx] = dimm; in edac_mc_alloc_dimms()
H A Dskx_common.c407 imc->chan[chan].dimms[dimmno].close_pg = GET_BITFIELD(mcmtr, 0, 0); in skx_get_dimm_info()
408 imc->chan[chan].dimms[dimmno].bank_xor_enable = GET_BITFIELD(mcmtr, 9, 9); in skx_get_dimm_info()
409 imc->chan[chan].dimms[dimmno].fine_grain_bank = GET_BITFIELD(amap, 0, 0); in skx_get_dimm_info()
410 imc->chan[chan].dimms[dimmno].rowbits = rows; in skx_get_dimm_info()
411 imc->chan[chan].dimms[dimmno].colbits = cols; in skx_get_dimm_info()
H A Dpnd2_edac.c756 } dimms[] = { variable
911 struct dimm_geometry *d = &dimms[g]; in apl_pmi2mem()
1217 for (g = 0; g < ARRAY_SIZE(dimms); g++) in apl_get_dimm_config()
1218 if (dimms[g].addrdec == d->addrdec && in apl_get_dimm_config()
1219 dimms[g].dden == d->dden && in apl_get_dimm_config()
1220 dimms[g].dwid == d->dwid) in apl_get_dimm_config()
1223 if (g == ARRAY_SIZE(dimms)) { in apl_get_dimm_config()
1229 capacity = (d->rken0 + d->rken1) * 8 * BIT(dimms[g].rowbits + dimms[g].colbits); in apl_get_dimm_config()
H A Di7core_edac.c225 u32 dimms; member
404 static inline int numdimms(u32 dimms) in numdimms() argument
406 return (dimms & 0x3) + 1; in numdimms()
939 if (pvt->channel[pvt->inject.channel].dimms > 2) in i7core_inject_enable_store()
949 if (pvt->channel[pvt->inject.channel].dimms > 2) in i7core_inject_enable_store()
1605 if (pvt->channel[i].dimms > 2) { in i7core_rdimm_check_mc_ecc_err()
H A Dskx_common.h119 } dimms[NUM_DIMMS]; member
H A Dhighbank_mc_edac.c224 dimm = *mci->dimms; in highbank_mc_probe()
H A Dskx_base.c472 if (res->dev->imc[res->imc].chan[res->channel].dimms[0].close_pg) in skx_rir_decode()
553 struct skx_dimm *dimm = &r->dev->imc[r->imc].chan[r->channel].dimms[r->dimm]; in skx_mad_decode()
H A Dal_mc_edac.c283 dimm = *mci->dimms; in al_mc_edac_probe()
H A Dbluefield_edac.c289 dimm = mci->dimms[i]; in bluefield_edac_init_dimms()
H A Darmada_xp_edac.c239 dimm = mci->dimms[i]; in axp_mc_read_config()
H A Dsb_edac.c339 u32 dimms; member
1647 pvt->channel[i].dimms++; in __populate_dimms()
1871 if (!pvt->channel[i].dimms) in get_memory_layout()
1891 if (!pvt->channel[i].dimms) in get_memory_layout()
H A Di5400_edac.c1219 mci->dimms[0]->edac_mode = EDAC_SECDED; in i5400_init_dimms()
H A Daltera_edac.c386 dimm = *mci->dimms; in altr_sdram_probe()
/linux/tools/testing/nvdimm/test/
H A Dndtest.c184 .dimms = dimm_group1,
192 .dimms = dimm_group2,
435 if (uuid_parse(p->config->dimms[ndimm].uuid_str, (uuid_t *)uuid)) { in ndtest_create_region()
454 mappings[i].nvdimm = p->config->dimms[ndimm].nvdimm; in ndtest_create_region()
488 if (p->config->dimms[i].dev) { in put_dimms()
489 device_unregister(p->config->dimms[i].dev); in put_dimms()
490 p->config->dimms[i].dev = NULL; in put_dimms()
765 d = &p->config->dimms[i]; in ndtest_nvdimm_init()
H A Dndtest.h71 struct ndtest_dimm *dimms; member
H A Dnfit.c3231 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in nfit_test_probe()
/linux/drivers/acpi/nfit/
H A Dnfit.h243 struct list_head dimms; member
/linux/Documentation/driver-api/
H A Dedac.rst63 dimms, accessed at the same time. E. g. if the DIMM is 64 bits-wide (72
277 │   ├── rank 31 # total 32 ranks/dimms from 4 UMCs