Home
last modified time | relevance | path

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

/linux/include/linux/
A Dedac.h552 struct dimm_info **dimms; member
606 for ((dimm) = (mci)->dimms[0]; \
609 ? (mci)->dimms[(dimm)->idx + 1] \
650 if (WARN_ON_ONCE(mci->dimms[index]->idx != index)) in edac_get_dimm()
653 return mci->dimms[index]; in edac_get_dimm()
/linux/drivers/edac/
A Dghes_edac.c41 struct dimm_info *dimms; member
210 new = krealloc_array(hw->dimms, hw->num_dimms + 16, in enumerate_dimms()
217 hw->dimms = new; in enumerate_dimms()
220 d = &hw->dimms[hw->num_dimms]; in enumerate_dimms()
585 src = &ghes_hw.dimms[i]; in ghes_edac_register()
633 kfree(ghes_hw.dimms); in ghes_edac_register()
634 ghes_hw.dimms = NULL; in ghes_edac_register()
A Dedac_mc.c131 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci()
237 if (mci->dimms) { in mci_release()
239 kfree(mci->dimms[i]); in mci_release()
240 kfree(mci->dimms); in mci_release()
316 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
317 if (!mci->dimms) in edac_mc_alloc_dimms()
330 dimm = kzalloc(sizeof(**mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
333 mci->dimms[idx] = dimm; in edac_mc_alloc_dimms()
A Dskx_common.c369 imc->chan[chan].dimms[dimmno].close_pg = GET_BITFIELD(mcmtr, 0, 0); in skx_get_dimm_info()
370 imc->chan[chan].dimms[dimmno].bank_xor_enable = GET_BITFIELD(mcmtr, 9, 9); in skx_get_dimm_info()
371 imc->chan[chan].dimms[dimmno].fine_grain_bank = GET_BITFIELD(amap, 0, 0); in skx_get_dimm_info()
372 imc->chan[chan].dimms[dimmno].rowbits = rows; in skx_get_dimm_info()
373 imc->chan[chan].dimms[dimmno].colbits = cols; in skx_get_dimm_info()
A Dpnd2_edac.c777 } dimms[] = { variable
932 struct dimm_geometry *d = &dimms[g]; in apl_pmi2mem()
1241 for (g = 0; g < ARRAY_SIZE(dimms); g++) in apl_get_dimm_config()
1242 if (dimms[g].addrdec == d->addrdec && in apl_get_dimm_config()
1243 dimms[g].dden == d->dden && in apl_get_dimm_config()
1244 dimms[g].dwid == d->dwid) in apl_get_dimm_config()
1247 if (g == ARRAY_SIZE(dimms)) { in apl_get_dimm_config()
1253 capacity = (d->rken0 + d->rken1) * 8 * (1ul << dimms[g].rowbits) * in apl_get_dimm_config()
1254 (1ul << dimms[g].colbits); in apl_get_dimm_config()
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()
A Dskx_common.h91 } dimms[NUM_DIMMS]; member
A Dhighbank_mc_edac.c221 dimm = *mci->dimms; in highbank_mc_probe()
A Dbluefield_edac.c189 dimm = mci->dimms[i]; in bluefield_edac_init_dimms()
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()
A Dal_mc_edac.c283 dimm = *mci->dimms; in al_mc_edac_probe()
A Dsb_edac.c337 u32 dimms; member
1637 pvt->channel[i].dimms++; in __populate_dimms()
1856 if (!pvt->channel[i].dimms) in get_memory_layout()
1876 if (!pvt->channel[i].dimms) in get_memory_layout()
A Darmada_xp_edac.c237 dimm = mci->dimms[i]; in axp_mc_read_config()
A Di5400_edac.c1218 mci->dimms[0]->edac_mode = EDAC_SECDED; in i5400_init_dimms()
A Daltera_edac.c391 dimm = *mci->dimms; in altr_sdram_probe()
/linux/tools/testing/nvdimm/test/
A Dndtest.c239 .dimms = dimm_group1,
247 .dimms = dimm_group2,
547 if (uuid_parse(p->config->dimms[ndimm].uuid_str, (uuid_t *)uuid)) { in ndtest_create_region()
564 mappings[0].nvdimm = p->config->dimms[ndimm].nvdimm; in ndtest_create_region()
581 mappings[i].nvdimm = p->config->dimms[ndimm].nvdimm; in ndtest_create_region()
616 if (p->config->dimms[i].dev) { in put_dimms()
617 device_unregister(p->config->dimms[i].dev); in put_dimms()
618 p->config->dimms[i].dev = NULL; in put_dimms()
895 d = &p->config->dimms[i]; in ndtest_nvdimm_init()
A Dndtest.h102 struct ndtest_dimm *dimms; member
A Dnfit.c3254 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in nfit_test_probe()
/linux/drivers/acpi/nfit/
A Dnfit.h247 struct list_head dimms; member
A Dcore.c765 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in nfit_get_smbios_id()
1110 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) in __nfit_mem_init()
1126 list_add(&nfit_mem->list, &acpi_desc->dimms); in __nfit_mem_init()
1250 list_sort(NULL, &acpi_desc->dimms, nfit_mem_cmp); in nfit_mem_init()
1735 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) in acpi_nfit_dimm_by_handle()
2014 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in shutdown_dimm_notify()
2066 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in acpi_nfit_register_dimms()
2165 list_for_each_entry(nfit_mem, &acpi_desc->dimms, list) { in acpi_nfit_register_dimms()
3651 INIT_LIST_HEAD(&acpi_desc->dimms); in acpi_nfit_desc_init()
/linux/Documentation/driver-api/
A Dedac.rst63 dimms, accessed at the same time. E. g. if the DIMM is 64 bits-wide (72

Completed in 66 milliseconds