Home
last modified time | relevance | path

Searched refs:csrow (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/edac/
A Dedac_mc_sysfs.c352 if (idx >= csrow->nr_channels) in csrow_dev_is_visible()
408 csrow->dev.type = &csrow_attr_type; in edac_create_csrow_object()
411 device_initialize(&csrow->dev); in edac_create_csrow_object()
412 csrow->dev.parent = &mci->dev; in edac_create_csrow_object()
413 csrow->mci = mci; in edac_create_csrow_object()
415 dev_set_drvdata(&csrow->dev, csrow); in edac_create_csrow_object()
417 err = device_add(&csrow->dev); in edac_create_csrow_object()
420 put_device(&csrow->dev); in edac_create_csrow_object()
433 struct csrow_info *csrow; in edac_create_csrow_objects() local
436 csrow = mci->csrows[i]; in edac_create_csrow_objects()
[all …]
A Dedac_mc.c112 edac_dbg(4, " csrow = %p\n", csrow); in edac_mc_dump_csrow()
299 chan->csrow = csr; in edac_mc_alloc_csrows()
356 dimm->csrow = row; in edac_mc_alloc_dimms()
692 edac_mc_dump_csrow(csrow); in edac_mc_add_mc_with_groups()
842 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
843 csrow->page_mask); in edac_mc_find_csrow_by_page()
846 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
847 ((page & csrow->page_mask) == in edac_mc_find_csrow_by_page()
848 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
1125 dimm->csrow, dimm->cschannel); in edac_mc_handle_error()
[all …]
A Dcell_edac.c37 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ce() local
53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce()
60 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ue() local
75 csrow->first_page + pfn, offset, 0, in cell_edac_count_ue()
130 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_init_csrows() local
148 csrow->first_page = r.start >> PAGE_SHIFT; in cell_edac_init_csrows()
150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
152 for (j = 0; j < csrow->nr_channels; j++) { in cell_edac_init_csrows()
153 dimm = csrow->channels[j]->dimm; in cell_edac_init_csrows()
156 dimm->nr_pages = nr_pages / csrow->nr_channels; in cell_edac_init_csrows()
[all …]
A Daspeed_edac.c94 struct csrow_info *csrow = mci->csrows[0]; in count_rec() local
119 csrow->first_page + page, offset, syndrome, in count_rec()
127 struct csrow_info *csrow = mci->csrows[0]; in count_un_rec() local
140 csrow->first_page + page, offset, syndrome, in count_un_rec()
233 struct csrow_info *csrow = mci->csrows[0]; in init_csrows() local
260 csrow->first_page = r.start >> PAGE_SHIFT; in init_csrows()
262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows()
267 dimm = csrow->channels[0]->dimm; in init_csrows()
270 dimm->nr_pages = nr_pages / csrow->nr_channels; in init_csrows()
273 csrow->first_page, nr_pages); in init_csrows()
A Dpasemi_edac.c126 struct csrow_info *csrow; in pasemi_edac_init_csrows() local
132 csrow = mci->csrows[index]; in pasemi_edac_init_csrows()
133 dimm = csrow->channels[0]->dimm; in pasemi_edac_init_csrows()
167 csrow->first_page = last_page_in_mmc; in pasemi_edac_init_csrows()
168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
170 csrow->page_mask = 0; in pasemi_edac_init_csrows()
A Damd76x_edac.c189 struct csrow_info *csrow; in amd76x_init_csrows() local
195 csrow = mci->csrows[index]; in amd76x_init_csrows()
196 dimm = csrow->channels[0]->dimm; in amd76x_init_csrows()
208 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows()
210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
211 csrow->page_mask = mba_mask >> PAGE_SHIFT; in amd76x_init_csrows()
A Dcpc925_edac.c317 struct csrow_info *csrow; in cpc925_init_csrows() local
337 csrow = mci->csrows[index]; in cpc925_init_csrows()
340 csrow->first_page = last_nr_pages; in cpc925_init_csrows()
342 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows()
343 last_nr_pages = csrow->last_page + 1; in cpc925_init_csrows()
345 switch (csrow->nr_channels) { in cpc925_init_csrows()
369 dimm = csrow->channels[j]->dimm; in cpc925_init_csrows()
449 *csrow = rank; in cpc925_mc_get_pfn()
526 int csrow = 0, channel = 0; in cpc925_mc_check() local
546 csrow, channel, -1, in cpc925_mc_check()
[all …]
A Dr82600_edac.c219 struct csrow_info *csrow; in r82600_init_csrows() local
231 csrow = mci->csrows[index]; in r82600_init_csrows()
232 dimm = csrow->channels[0]->dimm; in r82600_init_csrows()
251 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows()
252 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in r82600_init_csrows()
254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
A Di82443bxgx_edac.c188 struct csrow_info *csrow; in i82443bxgx_init_csrows() local
197 csrow = mci->csrows[index]; in i82443bxgx_init_csrows()
198 dimm = csrow->channels[0]->dimm; in i82443bxgx_init_csrows()
217 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows()
218 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; in i82443bxgx_init_csrows()
219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
A Di82975x_edac.c363 struct csrow_info *csrow; in i82975x_init_csrows() local
382 csrow = mci->csrows[index]; in i82975x_init_csrows()
392 if (csrow->nr_channels > 1) in i82975x_init_csrows()
406 for (chan = 0; chan < csrow->nr_channels; chan++) { in i82975x_init_csrows()
409 dimm->nr_pages = nr_pages / csrow->nr_channels; in i82975x_init_csrows()
411 snprintf(csrow->channels[chan]->dimm->label, EDAC_MC_LABEL_LEN, "DIMM %c%d", in i82975x_init_csrows()
423 csrow->first_page = last_cumul_size; in i82975x_init_csrows()
424 csrow->last_page = cumul_size - 1; in i82975x_init_csrows()
A Dfsl_ddr_edac.c280 struct csrow_info *csrow; in fsl_mc_check() local
321 csrow = mci->csrows[row_index]; in fsl_mc_check()
322 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
394 struct csrow_info *csrow; in fsl_ddr_init_csrows() local
447 csrow = mci->csrows[index]; in fsl_ddr_init_csrows()
448 dimm = csrow->channels[0]->dimm; in fsl_ddr_init_csrows()
463 csrow->first_page = start; in fsl_ddr_init_csrows()
464 csrow->last_page = end; in fsl_ddr_init_csrows()
A Damd64_edac.c460 int csrow; in input_addr_to_csrow() local
478 return csrow; in input_addr_to_csrow()
981 int csrow; in sys_addr_to_csrow() local
985 if (csrow == -1) in sys_addr_to_csrow()
988 return csrow; in sys_addr_to_csrow()
1588 if (err->csrow < 0) { in k8_map_sysaddr_to_csrow()
2102 csrow = tmp_cs; in f10_process_possible_spare()
2107 return csrow; in f10_process_possible_spare()
2124 int csrow; in f1x_lookup_addr_in_dct() local
2150 cs_found = csrow; in f1x_lookup_addr_in_dct()
[all …]
A Di82860_edac.c148 struct csrow_info *csrow; in i82860_init_csrows() local
162 csrow = mci->csrows[index]; in i82860_init_csrows()
163 dimm = csrow->channels[0]->dimm; in i82860_init_csrows()
173 csrow->first_page = last_cumul_size; in i82860_init_csrows()
174 csrow->last_page = cumul_size - 1; in i82860_init_csrows()
A Di82875p_edac.c343 struct csrow_info *csrow; in i82875p_init_csrows() local
362 csrow = mci->csrows[index]; in i82875p_init_csrows()
370 csrow->first_page = last_cumul_size; in i82875p_init_csrows()
371 csrow->last_page = cumul_size - 1; in i82875p_init_csrows()
376 dimm = csrow->channels[j]->dimm; in i82875p_init_csrows()
A De7xxx_edac.c361 struct csrow_info *csrow; in e7xxx_init_csrows() local
379 csrow = mci->csrows[index]; in e7xxx_init_csrows()
388 csrow->first_page = last_cumul_size; in e7xxx_init_csrows()
389 csrow->last_page = cumul_size - 1; in e7xxx_init_csrows()
409 dimm = csrow->channels[j]->dimm; in e7xxx_init_csrows()
A Di3000_edac.c392 struct csrow_info *csrow = mci->csrows[i]; in i3000_probe1() local
402 csrow->first_page = last_cumul_size; in i3000_probe1()
403 csrow->last_page = cumul_size - 1; in i3000_probe1()
408 struct dimm_info *dimm = csrow->channels[j]->dimm; in i3000_probe1()
A Di5100_edac.c416 unsigned int csrow) in i5100_csrow_to_rank() argument
420 return csrow % priv->ranksperchan; in i5100_csrow_to_rank()
425 unsigned int csrow) in i5100_csrow_to_chan() argument
429 return csrow / priv->ranksperchan; in i5100_csrow_to_chan()
651 static unsigned long i5100_npages(struct mem_ctl_info *mci, unsigned int csrow) in i5100_npages() argument
654 const unsigned int chan_rank = i5100_csrow_to_rank(mci, csrow); in i5100_npages()
655 const unsigned int chan = i5100_csrow_to_chan(mci, csrow); in i5100_npages()
A De752x_edac.c1068 struct csrow_info *csrow; in e752x_init_csrows() local
1096 csrow = mci->csrows[remap_csrow_index(mci, index)]; in e752x_init_csrows()
1106 csrow->first_page = last_cumul_size; in e752x_init_csrows()
1107 csrow->last_page = cumul_size - 1; in e752x_init_csrows()
1125 for (i = 0; i < csrow->nr_channels; i++) { in e752x_init_csrows()
1126 struct dimm_info *dimm = csrow->channels[i]->dimm; in e752x_init_csrows()
1129 dimm->nr_pages = nr_pages / csrow->nr_channels; in e752x_init_csrows()
A Dx38_edac.c373 struct csrow_info *csrow = mci->csrows[i]; in x38_probe1() local
383 struct dimm_info *dimm = csrow->channels[j]->dimm; in x38_probe1()
A Damd64_edac.h406 int csrow; member
/linux/include/linux/
A Dedac.h390 unsigned int csrow, cschannel; /* Points to the old API data */ member
415 struct csrow_info *csrow; member
/linux/Documentation/admin-guide/
A Dras.rst406 ``csrowX``, where ``X`` is the csrow index::
494 - ``size`` - Total memory managed by this csrow attribute file
497 that this csrow contains.
552 - *csrow* and *channel* - used when the memory controller
561 on this csrow. Normally, either buffered or unbuffered memory.
585 this ``X`` instance of csrow:
591 errors that have occurred on this csrow. If panic_on_ue is set
599 errors that have occurred on this csrow. This count is very
609 that this csrow contains.
615 on this csrow. Normally, either buffered or unbuffered memory.
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-devices-edac131 Description: This attribute file will display the location (csrow/channel,
139 currently on this csrow. Normally, either buffered or

Completed in 47 milliseconds