Lines Matching refs:cs_size
2070 int cs_size = 0; in ddr3_cs_size() local
2073 cs_size = -1; in ddr3_cs_size()
2083 if (cs_size != -1) in ddr3_cs_size()
2084 cs_size = (128 * (1 << !!dct_width)) << shift; in ddr3_cs_size()
2086 return cs_size; in ddr3_cs_size()
2092 int cs_size = 0; in ddr3_lrdimm_cs_size() local
2095 cs_size = -1; in ddr3_lrdimm_cs_size()
2103 if (cs_size != -1) in ddr3_lrdimm_cs_size()
2104 cs_size = rank_multiply * (128 << shift); in ddr3_lrdimm_cs_size()
2106 return cs_size; in ddr3_lrdimm_cs_size()
2111 int cs_size = 0; in ddr4_cs_size() local
2114 cs_size = -1; in ddr4_cs_size()
2116 cs_size = 1024; in ddr4_cs_size()
2119 cs_size = 1024 * (1 << (i >> 1)); in ddr4_cs_size()
2121 return cs_size; in ddr4_cs_size()
2152 int cs_size; in f15_m60h_dbam_to_chip_select() local
2161 cs_size = ddr4_cs_size(cs_mode); in f15_m60h_dbam_to_chip_select()
2167 cs_size = ddr3_lrdimm_cs_size(cs_mode, rank_multiply); in f15_m60h_dbam_to_chip_select()
2173 cs_size = ddr3_cs_size(cs_mode, false); in f15_m60h_dbam_to_chip_select()
2176 return cs_size; in f15_m60h_dbam_to_chip_select()