/linux-master/drivers/edac/ |
H A D | i82875p_edac.c | 344 struct dimm_info *dimm; local 376 dimm = csrow->channels[j]->dimm; 378 dimm->nr_pages = nr_pages / nr_chans; 379 dimm->grain = 1 << 12; /* I82875P_EAP has 4KiB reolution */ 380 dimm->mtype = MEM_DDR; 381 dimm->dtype = DEV_UNKNOWN; 382 dimm->edac_mode = drc_ddim ? EDAC_SECDED : EDAC_NONE;
|
H A D | e7xxx_edac.c | 362 struct dimm_info *dimm; local 409 dimm = csrow->channels[j]->dimm; 411 dimm->nr_pages = nr_pages / (drc_chan + 1); 412 dimm->grain = 1 << 12; /* 4KiB - resolution of CELOG */ 413 dimm->mtype = MEM_RDDR; /* only one type supported */ 414 dimm->dtype = mem_dev ? DEV_X4 : DEV_X8; 415 dimm->edac_mode = edac_mode; 441 * attributed to the same dimm.
|
H A D | octeon_edac-lmc.c | 31 unsigned long dimm; member in struct:octeon_lmc_pvt 93 fadr.cn61xx.fdimm = pvt->dimm; 156 TEMPLATE_SHOW(dimm); variable 157 TEMPLATE_STORE(dimm); variable 201 static DEVICE_ATTR(dimm, S_IRUGO | S_IWUSR,
|
H A D | pnd2_edac.c | 57 int dimm; member in struct:dram_addr 967 daddr->dimm = 0; 987 daddr->dimm = (daddr->rank >= 2) ^ drp[pmiidx].dimmflip; 1108 /* pmi channel idx to dimm channel idx */ 1117 addr, pmiaddr, daddr->chan, daddr->dimm, daddr->rank, daddr->bank, daddr->row, daddr->col); 1187 errcode, daddr->chan, daddr->dimm, daddr->rank, daddr->row, daddr->bank, daddr->col); 1193 m->addr & ~PAGE_MASK, 0, daddr->chan, daddr->dimm, -1, optype, msg); 1204 struct dimm_info *dimm; local 1210 dimm = edac_get_dimm(mci, i, 0, 0); 1211 if (!dimm) { 1247 struct dimm_info *dimm; local [all...] |
H A D | fsl_ddr_edac.c | 392 struct dimm_info *dimm; local 445 dimm = csrow->channels[0]->dimm; 463 dimm->nr_pages = end + 1 - start; 464 dimm->grain = 8; 465 dimm->mtype = mtype; 466 dimm->dtype = DEV_UNKNOWN; 468 dimm->dtype = DEV_X32; 469 dimm->edac_mode = EDAC_SECDED;
|
H A D | i3200_edac.c | 394 struct dimm_info *dimm = edac_get_dimm(mci, i, j, 0); local 403 dimm->nr_pages = nr_pages; 404 dimm->grain = nr_pages << PAGE_SHIFT; 405 dimm->mtype = MEM_DDR2; 406 dimm->dtype = DEV_UNKNOWN; 407 dimm->edac_mode = EDAC_UNKNOWN;
|
H A D | amd64_edac.c | 1106 int dimm, size0, size1; local 1132 for (dimm = 0; dimm < 4; dimm++) { 1134 if (dcsb[dimm * 2] & DCSB_CS_ENABLE) 1137 * calculation. We pass dimm value to the dbam_to_cs 1142 DBAM_DIMM(dimm, dbam), 1143 dimm); 1146 if (dcsb[dimm * 2 + 1] & DCSB_CS_ENABLE) 1148 DBAM_DIMM(dimm, dba 1199 umc_get_cs_mode(int dimm, u8 ctrl, struct amd64_pvt *pvt) argument 1231 __addr_mask_to_cs_size(u32 addr_mask_orig, unsigned int cs_mode, int csrow_nr, int dimm) argument 1272 int dimm, size = 0; local 1320 int dimm, size0, size1, cs0, cs1, cs_mode; local 3069 struct dimm_info *dimm; local 3113 struct dimm_info *dimm; local 3579 struct dimm_info *dimm; local [all...] |
H A D | dmc520_edac.c | 447 struct dimm_info *dimm; local 463 dimm = csi->channels[ch]->dimm; 464 dimm->grain = pvt->mem_width_in_bytes; 465 dimm->dtype = dt; 466 dimm->mtype = mt; 467 dimm->edac_mode = EDAC_SECDED; 468 dimm->nr_pages = pages_per_rank / csi->nr_channels;
|
H A D | i7300_edac.c | 582 * @dinfo: Pointer to DIMM info where dimm size is stored 583 * @dimm: Pointer to the struct dimm_info that corresponds to that element 588 struct dimm_info *dimm) 649 dimm->nr_pages = MiB_TO_PAGES(dinfo->megabytes); 650 dimm->grain = 8; 651 dimm->mtype = MEM_FB_DDR2; 653 dimm->edac_mode = EDAC_SECDED; 658 dimm->edac_mode = EDAC_S8ECD8ED; 660 dimm->edac_mode = EDAC_S4ECD4ED; 669 dimm 585 decode_mtr(struct i7300_pvt *pvt, int slot, int ch, int branch, struct i7300_dimm_info *dinfo, struct dimm_info *dimm) argument 752 struct dimm_info *dimm; local [all...] |
H A D | skx_common.h | 165 int dimm; member in struct:decoded_addr 246 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm, 250 int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,
|
H A D | i5100_edac.c | 293 /* ranks on each dimm -- 0 maps to not present -- obtained via SPD */ 315 /* dimm interleave range */ 653 /* dimm present? */ 696 * FIXME: make this into a real i2c adapter (so that dimm-decode 731 * fill dimm chip select map 734 * o not the only way to may chip selects to dimm slots 838 struct dimm_info *dimm; local 840 mci_for_each_dimm(mci, dimm) { 841 const unsigned long npages = i5100_npages(mci, dimm->idx); 842 const unsigned int chan = i5100_csrow_to_chan(mci, dimm [all...] |
H A D | i7core_edac.c | 218 int channel, dimm, rank, bank, page, col; member in struct:i7core_inject 494 struct dimm_info *dimm; local 588 dimm = edac_get_dimm(mci, i, j, 0); 604 dimm->nr_pages = npages; 608 dimm->dtype = DEV_X4; 611 dimm->dtype = DEV_X8; 614 dimm->dtype = DEV_X16; 617 dimm->dtype = DEV_UNKNOWN; 620 snprintf(dimm->label, sizeof(dimm 859 ATTR_ADDR_MATCH(dimm); variable 1705 u32 dimm = (m->misc >> 16) & 0x3; local [all...] |
H A D | ppc4xx_edac.c | 959 struct dimm_info *dimm = csi->channels[j]->dimm; local 961 dimm->nr_pages = nr_pages / csi->nr_channels; 962 dimm->grain = 1; 964 dimm->mtype = mtype; 965 dimm->dtype = dtype; 967 dimm->edac_mode = edac_mode;
|
H A D | al_mc_edac.c | 223 struct dimm_info *dimm; local 283 dimm = *mci->dimms; 284 dimm->grain = 1;
|
H A D | edac_module.h | 37 unsigned edac_dimm_info_location(struct dimm_info *dimm, char *buf,
|
H A D | i5000_edac.c | 1250 struct dimm_info *dimm; local 1278 dimm = edac_get_dimm(mci, channel / MAX_BRANCHES, 1282 dimm->grain = 8; 1285 dimm->mtype = MEM_FB_DDR2; 1289 dimm->dtype = DEV_X8; 1291 dimm->dtype = DEV_X4; 1293 dimm->edac_mode = EDAC_S8ECD8ED; 1294 dimm->nr_pages = csrow_megs << 8;
|
H A D | versal_edac.c | 594 struct dimm_info *dimm; local 603 dimm = csi->channels[ch]->dimm; 604 dimm->edac_mode = EDAC_SECDED; 605 dimm->mtype = MEM_DDR4; 606 dimm->nr_pages = (size >> PAGE_SHIFT) / csi->nr_channels; 607 dimm->grain = XDDR_EDAC_ERR_GRAIN; 608 dimm->dtype = get_dwidth(priv->ddrmc_baseaddr);
|
H A D | cpc925_edac.c | 318 struct dimm_info *dimm; local 369 dimm = csrow->channels[j]->dimm; 370 dimm->nr_pages = nr_pages / csrow->nr_channels; 371 dimm->mtype = MEM_RDDR; 372 dimm->edac_mode = EDAC_SECDED; 373 dimm->grain = grain; 374 dimm->dtype = dtype;
|
H A D | igen6_edac.c | 974 struct dimm_info *dimm; local 1000 dimm = edac_get_dimm(mci, i, j, 0); 1013 dimm->grain = 64; 1014 dimm->mtype = mtype; 1015 dimm->dtype = dtype; 1016 dimm->nr_pages = MiB_TO_PAGES(dsize >> 20); 1017 dimm->edac_mode = EDAC_SECDED; 1018 snprintf(dimm->label, sizeof(dimm->label), 1021 mc, i, j, dsize >> 20, dimm [all...] |
H A D | e752x_edac.c | 195 * Dividing the rank by two will provide the dimm# 201 * dimm #1 -> rank #4 NA 202 * dimm #2 -> rank #3 NA 203 * dimm #3 -> rank #2 Ranks 2 and 3 204 * dimm #4 -> rank $1 Ranks 1 and 4 1126 struct dimm_info *dimm = csrow->channels[i]->dimm; local 1129 dimm->nr_pages = nr_pages / csrow->nr_channels; 1130 dimm->grain = 1 << 12; /* 4KiB - resolution of CELOG */ 1131 dimm [all...] |
/linux-master/drivers/nvdimm/ |
H A D | Makefile | 19 libnvdimm-y += dimm.o
|
/linux-master/tools/testing/nvdimm/test/ |
H A D | ndtest.h | 58 u8 dimm; member in struct:ndtest_mapping
|
H A D | nfit.c | 73 * dimm in the interleave set), "blk2.1", "blk3.1", "blk4.0", and 120 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ 122 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf)) 190 void **dimm; member in struct:nfit_test 686 * last dimm is selected for test 932 static int override_return_code(int dimm, unsigned int func, int rc) argument 934 if ((1 << func) & dimm_fail_cmd_flags[dimm]) { 935 if (dimm_fail_cmd_code[dimm]) 936 return dimm_fail_cmd_code[dimm]; 944 unsigned int buf_len, int dimm) 942 nd_intel_test_cmd_security_status(struct nfit_test *t, struct nd_intel_get_security_state *nd_cmd, unsigned int buf_len, int dimm) argument 957 nd_intel_test_cmd_unlock_unit(struct nfit_test *t, struct nd_intel_unlock_unit *nd_cmd, unsigned int buf_len, int dimm) argument 983 nd_intel_test_cmd_set_pass(struct nfit_test *t, struct nd_intel_set_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument 1008 nd_intel_test_cmd_freeze_lock(struct nfit_test *t, struct nd_intel_freeze_lock *nd_cmd, unsigned int buf_len, int dimm) argument 1027 nd_intel_test_cmd_disable_pass(struct nfit_test *t, struct nd_intel_disable_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument 1051 nd_intel_test_cmd_secure_erase(struct nfit_test *t, struct nd_intel_secure_erase *nd_cmd, unsigned int buf_len, int dimm) argument 1082 nd_intel_test_cmd_overwrite(struct nfit_test *t, struct nd_intel_overwrite *nd_cmd, unsigned int buf_len, int dimm) argument 1105 nd_intel_test_cmd_query_overwrite(struct nfit_test *t, struct nd_intel_query_overwrite *nd_cmd, unsigned int buf_len, int dimm) argument 1128 nd_intel_test_cmd_master_set_pass(struct nfit_test *t, struct nd_intel_set_master_passphrase *nd_cmd, unsigned int buf_len, int dimm) argument 1155 nd_intel_test_cmd_master_secure_erase(struct nfit_test *t, struct nd_intel_master_secure_erase *nd_cmd, unsigned int buf_len, int dimm) argument 1265 nd_intel_test_cmd_fw_activate_dimminfo(struct nfit_test *t, struct nd_intel_fw_activate_dimminfo *nd_cmd, unsigned int buf_len, int dimm) argument 1301 nd_intel_test_cmd_fw_activate_arm(struct nfit_test *t, struct nd_intel_fw_activate_arm *nd_cmd, unsigned int buf_len, int dimm) argument 1721 int dimm; local 1731 int dimm = dimm_name_to_id(dev); local 1743 int dimm = dimm_name_to_id(dev); local 1754 int dimm = dimm_name_to_id(dev); local 1773 int dimm = dimm_name_to_id(dev); local 1784 int dimm = dimm_name_to_id(dev); local 1803 int dimm = dimm_name_to_id(dev); local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | chmc.c | 326 int dimm; local 329 * dimm labels associated with this dimm group. 331 for (dimm = 0; dimm < JB_NUM_DIMMS_PER_GROUP; dimm++) { 333 prop->dimm_labels[first_dimm + dimm]); 572 int dimm; local 575 * dimm labels associated with this bank. 577 for (dimm [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 71 /* Protect dimm health data from concurrent read/writes */ 74 /* Last time the health information of the dimm was updated */ 77 /* Health information for the dimm */ 494 * Issue hcall to retrieve dimm health info and populate papr_scm_priv with the 524 "Queried dimm health info. Bitmap:0x%016lx Mask:0x%016lx\n", 530 /* Min interval in seconds for assuming stable dimm health */ 661 * Do a sanity checks on the inputs args to dimm-control function and return 673 /* Only dimm-specific calls are supported atm */ 786 /* Ensure dimm health mutex is taken preventing concurrent access */ 791 /* Always fetch upto date dimm healt 1061 struct nvdimm *dimm = to_nvdimm(dev); local 1078 struct nvdimm *dimm = to_nvdimm(dev); local 1116 struct nvdimm *dimm = to_nvdimm(dev); local 1158 struct nvdimm *dimm = to_nvdimm(dev); local [all...] |