Lines Matching refs:passcnt
211 u32 dll_min[4], dll_max[4], dlli, data, passcnt; in cbrdlli_ast2150() local
216 passcnt = 0; in cbrdlli_ast2150()
228 passcnt++; in cbrdlli_ast2150()
229 } else if (passcnt >= CBR_THRESHOLD_AST2150) in cbrdlli_ast2150()
577 u32 gold_sadj[2], dllmin[16], dllmax[16], dlli, data, cnt, mask, passcnt, retry = 0; in finetuneDQI_L() local
584 passcnt = 0; in finetuneDQI_L()
602 passcnt++; in finetuneDQI_L()
603 } else if (passcnt >= CBR_THRESHOLD2) { in finetuneDQI_L()
608 passcnt = 0; in finetuneDQI_L()
612 passcnt++; in finetuneDQI_L()
617 if (passcnt != 16) { in finetuneDQI_L()
677 u32 reg_mcr18, reg_mcr0c, passcnt[2], diff; in finetuneDQSI() local
699 passcnt[0] = passcnt[1] = 0; in finetuneDQSI()
711 passcnt[dqsip]++; in finetuneDQSI()
717 } else if (passcnt[dqsip] >= 5) in finetuneDQSI()
725 if (passcnt[0] == 0 && passcnt[1] == 0) in finetuneDQSI()
738 passcnt[0] = passcnt[1] = 0; in finetuneDQSI()
739 for (dlli = pass[dqidly][dqsip][0]; dlli > 0 && tag[dqsip][dlli] != 0; dlli--, passcnt[0]++); in finetuneDQSI()
740 for (dlli = pass[dqidly][dqsip][1]; dlli < 76 && tag[dqsip][dlli] != 0; dlli++, passcnt[1]++); in finetuneDQSI()
741 if (passcnt[0] > passcnt[1]) in finetuneDQSI()
742 passcnt[0] = passcnt[1]; in finetuneDQSI()
743 passcnt[1] = 0; in finetuneDQSI()
744 if (passcnt[0] > g_side) in finetuneDQSI()
745 passcnt[1] = passcnt[0] - g_side; in finetuneDQSI()
746 if (diff > (g_margin+1) && (passcnt[1] > 0 || passcnt[0] > 8)) { in finetuneDQSI()
750 g_side = passcnt[0]; in finetuneDQSI()
751 } else if (passcnt[1] > 1 && g_side < 8) { in finetuneDQSI()
756 g_side = passcnt[0]; in finetuneDQSI()
766 u32 dllmin[2], dllmax[2], dlli, data, passcnt, retry = 0; in cbr_dll2() local
776 passcnt = 0; in cbr_dll2()
798 passcnt++; in cbr_dll2()
799 } else if (passcnt >= CBR_THRESHOLD) { in cbr_dll2()