Lines Matching refs:csrow

400 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct,  in get_cs_base_and_mask()  argument
407 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
408 csmask = pvt->csels[dct].csmasks[csrow]; in get_cs_base_and_mask()
419 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
420 csmask = pvt->csels[dct].csmasks[csrow >> 1]; in get_cs_base_and_mask()
435 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
436 csmask = pvt->csels[dct].csmasks[csrow >> 1]; in get_cs_base_and_mask()
475 int csrow; in input_addr_to_csrow() local
480 for_each_chip_select(csrow, 0, pvt) { in input_addr_to_csrow()
481 if (!csrow_enabled(csrow, 0, pvt)) in input_addr_to_csrow()
484 get_cs_base_and_mask(pvt, csrow, 0, &base, &mask); in input_addr_to_csrow()
490 (unsigned long)input_addr, csrow, in input_addr_to_csrow()
493 return csrow; in input_addr_to_csrow()
996 int csrow; in sys_addr_to_csrow() local
998 csrow = input_addr_to_csrow(mci, sys_addr_to_input_addr(mci, sys_addr)); in sys_addr_to_csrow()
1000 if (csrow == -1) in sys_addr_to_csrow()
1003 return csrow; in sys_addr_to_csrow()
1909 err->csrow = sys_addr_to_csrow(err->src_mci, sys_addr); in k8_map_sysaddr_to_csrow()
1910 if (err->csrow < 0) { in k8_map_sysaddr_to_csrow()
2432 static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) in f10_process_possible_spare() argument
2437 csrow == online_spare_bad_dramcs(pvt, dct)) { in f10_process_possible_spare()
2441 csrow = tmp_cs; in f10_process_possible_spare()
2446 return csrow; in f10_process_possible_spare()
2463 int csrow; in f1x_lookup_addr_in_dct() local
2473 for_each_chip_select(csrow, dct, pvt) { in f1x_lookup_addr_in_dct()
2474 if (!csrow_enabled(csrow, dct, pvt)) in f1x_lookup_addr_in_dct()
2477 get_cs_base_and_mask(pvt, csrow, dct, &cs_base, &cs_mask); in f1x_lookup_addr_in_dct()
2480 csrow, cs_base, cs_mask); in f1x_lookup_addr_in_dct()
2489 cs_found = csrow; in f1x_lookup_addr_in_dct()
2492 cs_found = f10_process_possible_spare(pvt, dct, csrow); in f1x_lookup_addr_in_dct()
2779 err->csrow = f1x_translate_sysaddr_to_cs(pvt, sys_addr, &err->channel); in f1x_map_sysaddr_to_csrow()
2780 if (err->csrow < 0) { in f1x_map_sysaddr_to_csrow()
3214 err->csrow, err->channel, -1, in __log_ecc_error()
3303 err.csrow = m->synd & 0x7; in decode_umc_error()
3636 struct csrow_info *csrow; in init_csrows() local
3666 csrow = mci->csrows[i]; in init_csrows()
3674 csrow->channels[0]->dimm->nr_pages = nr_pages; in init_csrows()
3681 csrow->channels[1]->dimm->nr_pages = row_dct1_pages; in init_csrows()
3695 dimm = csrow->channels[j]->dimm; in init_csrows()