DDR_STATS_MAX_NUM_MODES
struct ddr_stats_entry data[DDR_STATS_MAX_NUM_MODES];
if (entry_count > DDR_STATS_MAX_NUM_MODES)