Lines Matching refs:dimm_info
143 typedef struct dimm_info { struct
578 MV_DIMM_INFO dimm_info[2]; local
598 status = ddr3_spd_init(&dimm_info[0], 0, *ddr_width);
605 dimm_info[0].num_of_module_ranks = 1;
606 status = ddr3_spd_sum_init(&dimm_info[0], &sum_info, 0);
626 status = ddr3_spd_init(&dimm_info[dimm], dimm_addr[dimm],
630 status = ddr3_spd_sum_init(&dimm_info[dimm], &sum_info, dimm);
644 cs_num += dimm_info[dimm].num_of_module_ranks;
664 if (dimm_info[dimm].num_of_module_ranks == 1)
666 else if (dimm_info[dimm].num_of_module_ranks == 2)
668 else if (dimm_info[dimm].num_of_module_ranks == 3)
670 else if (dimm_info[dimm].num_of_module_ranks == 4)
898 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) {
903 if (dimm_info[dimm_cnt].sdram_capacity < 0x3) {
904 reg |= ((dimm_info[dimm_cnt].sdram_capacity + 1) <<
907 } else if (dimm_info[dimm_cnt].sdram_capacity > 0x3) {
908 reg |= ((dimm_info[dimm_cnt].sdram_capacity & 0x3) <<
911 reg |= ((dimm_info[dimm_cnt].sdram_capacity & 0x4) <<
922 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) {
927 if (dimm_info[dimm_cnt].sdram_width == 16)
1016 if (dimm_info[dimm_cnt].num_of_module_ranks ==
1023 dimm_info[dimm_cnt].rank_capacity - 1);
1151 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) {
1157 if (dimm_info[dimm_cnt].addr_mirroring &&
1215 reg |= ((dimm_info[0].dimm_rc[rc] &