csrow 391 drivers/edac/amd64_edac.c static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct, csrow 398 drivers/edac/amd64_edac.c csbase = pvt->csels[dct].csbases[csrow]; csrow 399 drivers/edac/amd64_edac.c csmask = pvt->csels[dct].csmasks[csrow]; csrow 410 drivers/edac/amd64_edac.c csbase = pvt->csels[dct].csbases[csrow]; csrow 411 drivers/edac/amd64_edac.c csmask = pvt->csels[dct].csmasks[csrow >> 1]; csrow 426 drivers/edac/amd64_edac.c csbase = pvt->csels[dct].csbases[csrow]; csrow 427 drivers/edac/amd64_edac.c csmask = pvt->csels[dct].csmasks[csrow >> 1]; csrow 466 drivers/edac/amd64_edac.c int csrow; csrow 471 drivers/edac/amd64_edac.c for_each_chip_select(csrow, 0, pvt) { csrow 472 drivers/edac/amd64_edac.c if (!csrow_enabled(csrow, 0, pvt)) csrow 475 drivers/edac/amd64_edac.c get_cs_base_and_mask(pvt, csrow, 0, &base, &mask); csrow 481 drivers/edac/amd64_edac.c (unsigned long)input_addr, csrow, csrow 484 drivers/edac/amd64_edac.c return csrow; csrow 708 drivers/edac/amd64_edac.c int csrow; csrow 710 drivers/edac/amd64_edac.c csrow = input_addr_to_csrow(mci, sys_addr_to_input_addr(mci, sys_addr)); csrow 712 drivers/edac/amd64_edac.c if (csrow == -1) csrow 715 drivers/edac/amd64_edac.c return csrow; csrow 1298 drivers/edac/amd64_edac.c err->csrow = sys_addr_to_csrow(err->src_mci, sys_addr); csrow 1299 drivers/edac/amd64_edac.c if (err->csrow < 0) { csrow 1800 drivers/edac/amd64_edac.c static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) csrow 1805 drivers/edac/amd64_edac.c csrow == online_spare_bad_dramcs(pvt, dct)) { csrow 1809 drivers/edac/amd64_edac.c csrow = tmp_cs; csrow 1814 drivers/edac/amd64_edac.c return csrow; csrow 1831 drivers/edac/amd64_edac.c int csrow; csrow 1841 drivers/edac/amd64_edac.c for_each_chip_select(csrow, dct, pvt) { csrow 1842 drivers/edac/amd64_edac.c if (!csrow_enabled(csrow, dct, pvt)) csrow 1845 drivers/edac/amd64_edac.c get_cs_base_and_mask(pvt, csrow, dct, &cs_base, &cs_mask); csrow 1848 drivers/edac/amd64_edac.c csrow, cs_base, cs_mask); csrow 1857 drivers/edac/amd64_edac.c cs_found = csrow; csrow 1860 drivers/edac/amd64_edac.c cs_found = f10_process_possible_spare(pvt, dct, csrow); csrow 2147 drivers/edac/amd64_edac.c err->csrow = f1x_translate_sysaddr_to_cs(pvt, sys_addr, &err->channel); csrow 2148 drivers/edac/amd64_edac.c if (err->csrow < 0) { csrow 2538 drivers/edac/amd64_edac.c err->csrow, err->channel, -1, csrow 2627 drivers/edac/amd64_edac.c err.csrow = m->synd & 0x7; csrow 2954 drivers/edac/amd64_edac.c struct csrow_info *csrow; csrow 2984 drivers/edac/amd64_edac.c csrow = mci->csrows[i]; csrow 2992 drivers/edac/amd64_edac.c csrow->channels[0]->dimm->nr_pages = nr_pages; csrow 2999 drivers/edac/amd64_edac.c csrow->channels[1]->dimm->nr_pages = row_dct1_pages; csrow 3013 drivers/edac/amd64_edac.c dimm = csrow->channels[j]->dimm; csrow 400 drivers/edac/amd64_edac.h int csrow; csrow 190 drivers/edac/amd76x_edac.c struct csrow_info *csrow; csrow 196 drivers/edac/amd76x_edac.c csrow = mci->csrows[index]; csrow 197 drivers/edac/amd76x_edac.c dimm = csrow->channels[0]->dimm; csrow 209 drivers/edac/amd76x_edac.c csrow->first_page = mba_base >> PAGE_SHIFT; csrow 211 drivers/edac/amd76x_edac.c csrow->last_page = csrow->first_page + dimm->nr_pages - 1; csrow 212 drivers/edac/amd76x_edac.c csrow->page_mask = mba_mask >> PAGE_SHIFT; csrow 94 drivers/edac/aspeed_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 119 drivers/edac/aspeed_edac.c csrow->first_page + page, offset, syndrome, csrow 127 drivers/edac/aspeed_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 140 drivers/edac/aspeed_edac.c csrow->first_page + page, offset, syndrome, csrow 233 drivers/edac/aspeed_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 260 drivers/edac/aspeed_edac.c csrow->first_page = r.start >> PAGE_SHIFT; csrow 262 drivers/edac/aspeed_edac.c csrow->last_page = csrow->first_page + nr_pages - 1; csrow 267 drivers/edac/aspeed_edac.c dimm = csrow->channels[0]->dimm; csrow 270 drivers/edac/aspeed_edac.c dimm->nr_pages = nr_pages / csrow->nr_channels; csrow 273 drivers/edac/aspeed_edac.c csrow->first_page, nr_pages); csrow 37 drivers/edac/cell_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 53 drivers/edac/cell_edac.c csrow->first_page + pfn, offset, syndrome, csrow 60 drivers/edac/cell_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 75 drivers/edac/cell_edac.c csrow->first_page + pfn, offset, 0, csrow 130 drivers/edac/cell_edac.c struct csrow_info *csrow = mci->csrows[0]; csrow 148 drivers/edac/cell_edac.c csrow->first_page = r.start >> PAGE_SHIFT; csrow 150 drivers/edac/cell_edac.c csrow->last_page = csrow->first_page + nr_pages - 1; csrow 152 drivers/edac/cell_edac.c for (j = 0; j < csrow->nr_channels; j++) { csrow 153 drivers/edac/cell_edac.c dimm = csrow->channels[j]->dimm; csrow 156 drivers/edac/cell_edac.c dimm->nr_pages = nr_pages / csrow->nr_channels; csrow 162 drivers/edac/cell_edac.c csrow->first_page, nr_pages); csrow 317 drivers/edac/cpc925_edac.c struct csrow_info *csrow; csrow 337 drivers/edac/cpc925_edac.c csrow = mci->csrows[index]; csrow 340 drivers/edac/cpc925_edac.c csrow->first_page = last_nr_pages; csrow 342 drivers/edac/cpc925_edac.c csrow->last_page = csrow->first_page + nr_pages - 1; csrow 343 drivers/edac/cpc925_edac.c last_nr_pages = csrow->last_page + 1; csrow 345 drivers/edac/cpc925_edac.c switch (csrow->nr_channels) { csrow 368 drivers/edac/cpc925_edac.c for (j = 0; j < csrow->nr_channels; j++) { csrow 369 drivers/edac/cpc925_edac.c dimm = csrow->channels[j]->dimm; csrow 370 drivers/edac/cpc925_edac.c dimm->nr_pages = nr_pages / csrow->nr_channels; csrow 436 drivers/edac/cpc925_edac.c unsigned long *pfn, unsigned long *offset, int *csrow) csrow 449 drivers/edac/cpc925_edac.c *csrow = rank; csrow 526 drivers/edac/cpc925_edac.c int csrow = 0, channel = 0; csrow 539 drivers/edac/cpc925_edac.c cpc925_mc_get_pfn(mci, mear, &pfn, &offset, &csrow); csrow 546 drivers/edac/cpc925_edac.c csrow, channel, -1, csrow 554 drivers/edac/cpc925_edac.c csrow, -1, -1, csrow 1069 drivers/edac/e752x_edac.c struct csrow_info *csrow; csrow 1097 drivers/edac/e752x_edac.c csrow = mci->csrows[remap_csrow_index(mci, index)]; csrow 1107 drivers/edac/e752x_edac.c csrow->first_page = last_cumul_size; csrow 1108 drivers/edac/e752x_edac.c csrow->last_page = cumul_size - 1; csrow 1126 drivers/edac/e752x_edac.c for (i = 0; i < csrow->nr_channels; i++) { csrow 1127 drivers/edac/e752x_edac.c struct dimm_info *dimm = csrow->channels[i]->dimm; csrow 1130 drivers/edac/e752x_edac.c dimm->nr_pages = nr_pages / csrow->nr_channels; csrow 362 drivers/edac/e7xxx_edac.c struct csrow_info *csrow; csrow 380 drivers/edac/e7xxx_edac.c csrow = mci->csrows[index]; csrow 389 drivers/edac/e7xxx_edac.c csrow->first_page = last_cumul_size; csrow 390 drivers/edac/e7xxx_edac.c csrow->last_page = cumul_size - 1; csrow 410 drivers/edac/e7xxx_edac.c dimm = csrow->channels[j]->dimm; csrow 144 drivers/edac/edac_mc.c edac_dbg(4, " channel->csrow = %p\n", chan->csrow); csrow 156 drivers/edac/edac_mc.c number, location, dimm->csrow, dimm->cschannel); csrow 164 drivers/edac/edac_mc.c static void edac_mc_dump_csrow(struct csrow_info *csrow) csrow 166 drivers/edac/edac_mc.c edac_dbg(4, "csrow->csrow_idx = %d\n", csrow->csrow_idx); csrow 167 drivers/edac/edac_mc.c edac_dbg(4, " csrow = %p\n", csrow); csrow 168 drivers/edac/edac_mc.c edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); csrow 169 drivers/edac/edac_mc.c edac_dbg(4, " csrow->last_page = 0x%lx\n", csrow->last_page); csrow 170 drivers/edac/edac_mc.c edac_dbg(4, " csrow->page_mask = 0x%lx\n", csrow->page_mask); csrow 171 drivers/edac/edac_mc.c edac_dbg(4, " csrow->nr_channels = %d\n", csrow->nr_channels); csrow 172 drivers/edac/edac_mc.c edac_dbg(4, " csrow->channels = %p\n", csrow->channels); csrow 173 drivers/edac/edac_mc.c edac_dbg(4, " csrow->mci = %p\n", csrow->mci); csrow 414 drivers/edac/edac_mc.c chan->csrow = csr; csrow 464 drivers/edac/edac_mc.c dimm->csrow = row; csrow 714 drivers/edac/edac_mc.c struct csrow_info *csrow = mci->csrows[i]; csrow 718 drivers/edac/edac_mc.c for (j = 0; j < csrow->nr_channels; j++) csrow 719 drivers/edac/edac_mc.c nr_pages += csrow->channels[j]->dimm->nr_pages; csrow 722 drivers/edac/edac_mc.c edac_mc_dump_csrow(csrow); csrow 723 drivers/edac/edac_mc.c for (j = 0; j < csrow->nr_channels; j++) csrow 724 drivers/edac/edac_mc.c if (csrow->channels[j]->dimm->nr_pages) csrow 725 drivers/edac/edac_mc.c edac_mc_dump_channel(csrow->channels[j]); csrow 861 drivers/edac/edac_mc.c struct csrow_info *csrow = csrows[i]; csrow 863 drivers/edac/edac_mc.c for (j = 0; j < csrow->nr_channels; j++) { csrow 864 drivers/edac/edac_mc.c struct dimm_info *dimm = csrow->channels[j]->dimm; csrow 872 drivers/edac/edac_mc.c csrow->first_page, page, csrow->last_page, csrow 873 drivers/edac/edac_mc.c csrow->page_mask); csrow 875 drivers/edac/edac_mc.c if ((page >= csrow->first_page) && csrow 876 drivers/edac/edac_mc.c (page <= csrow->last_page) && csrow 877 drivers/edac/edac_mc.c ((page & csrow->page_mask) == csrow 878 drivers/edac/edac_mc.c (csrow->first_page & csrow->page_mask))) { csrow 1187 drivers/edac/edac_mc.c dimm->csrow, dimm->cschannel); csrow 1189 drivers/edac/edac_mc.c row = dimm->csrow; csrow 1190 drivers/edac/edac_mc.c else if (row >= 0 && row != dimm->csrow) csrow 147 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 149 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%u\n", csrow->ue_count); csrow 155 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 157 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%u\n", csrow->ce_count); csrow 163 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 167 drivers/edac/edac_mc_sysfs.c for (i = 0; i < csrow->nr_channels; i++) csrow 168 drivers/edac/edac_mc_sysfs.c nr_pages += csrow->channels[i]->dimm->nr_pages; csrow 175 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 177 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", edac_mem_types[csrow->channels[0]->dimm->mtype]); csrow 183 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 185 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", dev_types[csrow->channels[0]->dimm->dtype]); csrow 192 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 194 drivers/edac/edac_mc_sysfs.c return sprintf(data, "%s\n", edac_caps[csrow->channels[0]->dimm->edac_mode]); csrow 202 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 204 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; csrow 218 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 220 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; csrow 242 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = to_csrow(dev); csrow 244 drivers/edac/edac_mc_sysfs.c struct rank_info *rank = csrow->channels[chan]; csrow 356 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = container_of(dev, struct csrow_info, dev); csrow 358 drivers/edac/edac_mc_sysfs.c if (idx >= csrow->nr_channels) csrow 367 drivers/edac/edac_mc_sysfs.c if (!csrow->channels[idx]->dimm->nr_pages) csrow 390 drivers/edac/edac_mc_sysfs.c static inline int nr_pages_per_csrow(struct csrow_info *csrow) csrow 394 drivers/edac/edac_mc_sysfs.c for (chan = 0; chan < csrow->nr_channels; chan++) csrow 395 drivers/edac/edac_mc_sysfs.c nr_pages += csrow->channels[chan]->dimm->nr_pages; csrow 402 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow, int index) csrow 406 drivers/edac/edac_mc_sysfs.c csrow->dev.type = &csrow_attr_type; csrow 407 drivers/edac/edac_mc_sysfs.c csrow->dev.groups = csrow_dev_groups; csrow 408 drivers/edac/edac_mc_sysfs.c device_initialize(&csrow->dev); csrow 409 drivers/edac/edac_mc_sysfs.c csrow->dev.parent = &mci->dev; csrow 410 drivers/edac/edac_mc_sysfs.c csrow->mci = mci; csrow 411 drivers/edac/edac_mc_sysfs.c dev_set_name(&csrow->dev, "csrow%d", index); csrow 412 drivers/edac/edac_mc_sysfs.c dev_set_drvdata(&csrow->dev, csrow); csrow 414 drivers/edac/edac_mc_sysfs.c err = device_add(&csrow->dev); csrow 416 drivers/edac/edac_mc_sysfs.c edac_dbg(1, "failure: create device %s\n", dev_name(&csrow->dev)); csrow 417 drivers/edac/edac_mc_sysfs.c put_device(&csrow->dev); csrow 421 drivers/edac/edac_mc_sysfs.c edac_dbg(0, "device %s created\n", dev_name(&csrow->dev)); csrow 430 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow; csrow 433 drivers/edac/edac_mc_sysfs.c csrow = mci->csrows[i]; csrow 434 drivers/edac/edac_mc_sysfs.c if (!nr_pages_per_csrow(csrow)) csrow 444 drivers/edac/edac_mc_sysfs.c csrow = mci->csrows[i]; csrow 445 drivers/edac/edac_mc_sysfs.c if (!nr_pages_per_csrow(csrow)) csrow 456 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow; csrow 459 drivers/edac/edac_mc_sysfs.c csrow = mci->csrows[i]; csrow 460 drivers/edac/edac_mc_sysfs.c if (!nr_pages_per_csrow(csrow)) csrow 814 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow = mci->csrows[csrow_idx]; csrow 816 drivers/edac/edac_mc_sysfs.c for (j = 0; j < csrow->nr_channels; j++) { csrow 817 drivers/edac/edac_mc_sysfs.c struct dimm_info *dimm = csrow->channels[j]->dimm; csrow 280 drivers/edac/fsl_ddr_edac.c struct csrow_info *csrow; csrow 321 drivers/edac/fsl_ddr_edac.c csrow = mci->csrows[row_index]; csrow 322 drivers/edac/fsl_ddr_edac.c if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) csrow 394 drivers/edac/fsl_ddr_edac.c struct csrow_info *csrow; csrow 447 drivers/edac/fsl_ddr_edac.c csrow = mci->csrows[index]; csrow 448 drivers/edac/fsl_ddr_edac.c dimm = csrow->channels[0]->dimm; csrow 463 drivers/edac/fsl_ddr_edac.c csrow->first_page = start; csrow 464 drivers/edac/fsl_ddr_edac.c csrow->last_page = end; csrow 393 drivers/edac/i3000_edac.c struct csrow_info *csrow = mci->csrows[i]; csrow 403 drivers/edac/i3000_edac.c csrow->first_page = last_cumul_size; csrow 404 drivers/edac/i3000_edac.c csrow->last_page = cumul_size - 1; csrow 409 drivers/edac/i3000_edac.c struct dimm_info *dimm = csrow->channels[j]->dimm; csrow 421 drivers/edac/i5100_edac.c unsigned int csrow) csrow 425 drivers/edac/i5100_edac.c return csrow % priv->ranksperchan; csrow 430 drivers/edac/i5100_edac.c unsigned int csrow) csrow 434 drivers/edac/i5100_edac.c return csrow / priv->ranksperchan; csrow 658 drivers/edac/i5100_edac.c static unsigned long i5100_npages(struct mem_ctl_info *mci, unsigned int csrow) csrow 661 drivers/edac/i5100_edac.c const unsigned int chan_rank = i5100_csrow_to_rank(mci, csrow); csrow 662 drivers/edac/i5100_edac.c const unsigned int chan = i5100_csrow_to_chan(mci, csrow); csrow 189 drivers/edac/i82443bxgx_edac.c struct csrow_info *csrow; csrow 198 drivers/edac/i82443bxgx_edac.c csrow = mci->csrows[index]; csrow 199 drivers/edac/i82443bxgx_edac.c dimm = csrow->channels[0]->dimm; csrow 218 drivers/edac/i82443bxgx_edac.c csrow->first_page = row_base >> PAGE_SHIFT; csrow 219 drivers/edac/i82443bxgx_edac.c csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; csrow 220 drivers/edac/i82443bxgx_edac.c dimm->nr_pages = csrow->last_page - csrow->first_page + 1; csrow 149 drivers/edac/i82860_edac.c struct csrow_info *csrow; csrow 163 drivers/edac/i82860_edac.c csrow = mci->csrows[index]; csrow 164 drivers/edac/i82860_edac.c dimm = csrow->channels[0]->dimm; csrow 174 drivers/edac/i82860_edac.c csrow->first_page = last_cumul_size; csrow 175 drivers/edac/i82860_edac.c csrow->last_page = cumul_size - 1; csrow 344 drivers/edac/i82875p_edac.c struct csrow_info *csrow; csrow 363 drivers/edac/i82875p_edac.c csrow = mci->csrows[index]; csrow 371 drivers/edac/i82875p_edac.c csrow->first_page = last_cumul_size; csrow 372 drivers/edac/i82875p_edac.c csrow->last_page = cumul_size - 1; csrow 377 drivers/edac/i82875p_edac.c dimm = csrow->channels[j]->dimm; csrow 364 drivers/edac/i82975x_edac.c struct csrow_info *csrow; csrow 383 drivers/edac/i82975x_edac.c csrow = mci->csrows[index]; csrow 393 drivers/edac/i82975x_edac.c if (csrow->nr_channels > 1) csrow 407 drivers/edac/i82975x_edac.c for (chan = 0; chan < csrow->nr_channels; chan++) { csrow 410 drivers/edac/i82975x_edac.c dimm->nr_pages = nr_pages / csrow->nr_channels; csrow 412 drivers/edac/i82975x_edac.c snprintf(csrow->channels[chan]->dimm->label, EDAC_MC_LABEL_LEN, "DIMM %c%d", csrow 424 drivers/edac/i82975x_edac.c csrow->first_page = last_cumul_size; csrow 425 drivers/edac/i82975x_edac.c csrow->last_page = cumul_size - 1; csrow 659 drivers/edac/mv64x60_edac.c struct csrow_info *csrow; csrow 669 drivers/edac/mv64x60_edac.c csrow = mci->csrows[0]; csrow 670 drivers/edac/mv64x60_edac.c dimm = csrow->channels[0]->dimm; csrow 126 drivers/edac/pasemi_edac.c struct csrow_info *csrow; csrow 132 drivers/edac/pasemi_edac.c csrow = mci->csrows[index]; csrow 133 drivers/edac/pasemi_edac.c dimm = csrow->channels[0]->dimm; csrow 167 drivers/edac/pasemi_edac.c csrow->first_page = last_page_in_mmc; csrow 168 drivers/edac/pasemi_edac.c csrow->last_page = csrow->first_page + dimm->nr_pages - 1; csrow 170 drivers/edac/pasemi_edac.c csrow->page_mask = 0; csrow 220 drivers/edac/r82600_edac.c struct csrow_info *csrow; csrow 232 drivers/edac/r82600_edac.c csrow = mci->csrows[index]; csrow 233 drivers/edac/r82600_edac.c dimm = csrow->channels[0]->dimm; csrow 252 drivers/edac/r82600_edac.c csrow->first_page = row_base >> PAGE_SHIFT; csrow 253 drivers/edac/r82600_edac.c csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; csrow 255 drivers/edac/r82600_edac.c dimm->nr_pages = csrow->last_page - csrow->first_page + 1; csrow 374 drivers/edac/x38_edac.c struct csrow_info *csrow = mci->csrows[i]; csrow 384 drivers/edac/x38_edac.c struct dimm_info *dimm = csrow->channels[j]->dimm; csrow 454 include/linux/edac.h unsigned int csrow, cschannel; /* Points to the old API data */ csrow 476 include/linux/edac.h struct csrow_info *csrow;