Lines Matching refs:csrow

372 static void get_cs_base_and_mask(struct amd64_pvt *pvt, int csrow, u8 dct,  in get_cs_base_and_mask()  argument
379 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
380 csmask = pvt->csels[dct].csmasks[csrow]; in get_cs_base_and_mask()
391 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
392 csmask = pvt->csels[dct].csmasks[csrow >> 1]; in get_cs_base_and_mask()
407 csbase = pvt->csels[dct].csbases[csrow]; in get_cs_base_and_mask()
408 csmask = pvt->csels[dct].csmasks[csrow >> 1]; in get_cs_base_and_mask()
447 int csrow; in input_addr_to_csrow() local
452 for_each_chip_select(csrow, 0, pvt) { in input_addr_to_csrow()
453 if (!csrow_enabled(csrow, 0, pvt)) in input_addr_to_csrow()
456 get_cs_base_and_mask(pvt, csrow, 0, &base, &mask); in input_addr_to_csrow()
462 (unsigned long)input_addr, csrow, in input_addr_to_csrow()
465 return csrow; in input_addr_to_csrow()
968 int csrow; in sys_addr_to_csrow() local
970 csrow = input_addr_to_csrow(mci, sys_addr_to_input_addr(mci, sys_addr)); in sys_addr_to_csrow()
972 if (csrow == -1) in sys_addr_to_csrow()
975 return csrow; in sys_addr_to_csrow()
2063 err->csrow = sys_addr_to_csrow(err->src_mci, sys_addr); in k8_map_sysaddr_to_csrow()
2064 if (err->csrow < 0) { in k8_map_sysaddr_to_csrow()
2445 static int f10_process_possible_spare(struct amd64_pvt *pvt, u8 dct, int csrow) in f10_process_possible_spare() argument
2450 csrow == online_spare_bad_dramcs(pvt, dct)) { in f10_process_possible_spare()
2454 csrow = tmp_cs; in f10_process_possible_spare()
2459 return csrow; in f10_process_possible_spare()
2476 int csrow; in f1x_lookup_addr_in_dct() local
2486 for_each_chip_select(csrow, dct, pvt) { in f1x_lookup_addr_in_dct()
2487 if (!csrow_enabled(csrow, dct, pvt)) in f1x_lookup_addr_in_dct()
2490 get_cs_base_and_mask(pvt, csrow, dct, &cs_base, &cs_mask); in f1x_lookup_addr_in_dct()
2493 csrow, cs_base, cs_mask); in f1x_lookup_addr_in_dct()
2502 cs_found = csrow; in f1x_lookup_addr_in_dct()
2505 cs_found = f10_process_possible_spare(pvt, dct, csrow); in f1x_lookup_addr_in_dct()
2792 err->csrow = f1x_translate_sysaddr_to_cs(pvt, sys_addr, &err->channel); in f1x_map_sysaddr_to_csrow()
2793 if (err->csrow < 0) { in f1x_map_sysaddr_to_csrow()
3006 err->csrow, err->channel, -1, in __log_ecc_error()
3061 err->csrow = m->synd & 0x7; in umc_get_err_info()
3372 struct csrow_info *csrow; in dct_init_csrows() local
3399 csrow = mci->csrows[i]; in dct_init_csrows()
3406 csrow->channels[0]->dimm->nr_pages = nr_pages; in dct_init_csrows()
3413 csrow->channels[1]->dimm->nr_pages = row_dct1_pages; in dct_init_csrows()
3427 dimm = csrow->channels[j]->dimm; in dct_init_csrows()
3780 err->csrow = phy; in gpu_get_err_info()