MAX_PHASES
u8 ranges[MAX_PHASES][MAX_PHASES] = { {0}, {0} };
u8 phases_per_row[MAX_PHASES] = { 0 };
if (!total_phases || (total_phases > MAX_PHASES)) {
if (row_index >= MAX_PHASES)
if (phases_0 + phases_15 >= MAX_PHASES)
if (++i >= MAX_PHASES)
if (ret >= MAX_PHASES) {