Lines Matching refs:csrow
86 edac_dbg(4, " channel->csrow = %p\n", chan->csrow); in edac_mc_dump_channel()
101 dimm->idx, location, dimm->csrow, dimm->cschannel); in edac_mc_dump_dimm()
108 static void edac_mc_dump_csrow(struct csrow_info *csrow) in edac_mc_dump_csrow() argument
110 edac_dbg(4, "csrow->csrow_idx = %d\n", csrow->csrow_idx); in edac_mc_dump_csrow()
111 edac_dbg(4, " csrow = %p\n", csrow); in edac_mc_dump_csrow()
112 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); in edac_mc_dump_csrow()
113 edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); in edac_mc_dump_csrow()
114 edac_dbg(4, " csrow->page_mask = 0x%lx\n", csrow->page_mask); in edac_mc_dump_csrow()
115 edac_dbg(4, " csrow->nr_channels = %d\n", csrow->nr_channels); in edac_mc_dump_csrow()
116 edac_dbg(4, " csrow->channels = %p\n", csrow->channels); in edac_mc_dump_csrow()
117 edac_dbg(4, " csrow->mci = %p\n", csrow->mci); in edac_mc_dump_csrow()
247 chan->csrow = csr; in edac_mc_alloc_csrows()
304 dimm->csrow = row; in edac_mc_alloc_dimms()
615 struct csrow_info *csrow = mci->csrows[i]; in edac_mc_add_mc_with_groups() local
619 for (j = 0; j < csrow->nr_channels; j++) in edac_mc_add_mc_with_groups()
620 nr_pages += csrow->channels[j]->dimm->nr_pages; in edac_mc_add_mc_with_groups()
623 edac_mc_dump_csrow(csrow); in edac_mc_add_mc_with_groups()
624 for (j = 0; j < csrow->nr_channels; j++) in edac_mc_add_mc_with_groups()
625 if (csrow->channels[j]->dimm->nr_pages) in edac_mc_add_mc_with_groups()
626 edac_mc_dump_channel(csrow->channels[j]); in edac_mc_add_mc_with_groups()
762 struct csrow_info *csrow = csrows[i]; in edac_mc_find_csrow_by_page() local
764 for (j = 0; j < csrow->nr_channels; j++) { in edac_mc_find_csrow_by_page()
765 struct dimm_info *dimm = csrow->channels[j]->dimm; in edac_mc_find_csrow_by_page()
773 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
774 csrow->page_mask); in edac_mc_find_csrow_by_page()
776 if ((page >= csrow->first_page) && in edac_mc_find_csrow_by_page()
777 (page <= csrow->last_page) && in edac_mc_find_csrow_by_page()
778 ((page & csrow->page_mask) == in edac_mc_find_csrow_by_page()
779 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
1056 dimm->csrow, dimm->cschannel); in edac_mc_handle_error()
1058 row = dimm->csrow; in edac_mc_handle_error()
1059 else if (row >= 0 && row != dimm->csrow) in edac_mc_handle_error()