Lines Matching refs:dqsip
719 u32 dlli, dqsip, dqidly; in finetuneDQSI() local
743 for (dqsip = 0; dqsip < 2; dqsip++) { in finetuneDQSI()
745 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18 | (dqidly << 16) | (dqsip << 23)); in finetuneDQSI()
754 passcnt[dqsip]++; in finetuneDQSI()
755 tag[dqsip][dlli] = 'P'; in finetuneDQSI()
756 if (dlli < pass[dqidly][dqsip][0]) in finetuneDQSI()
757 pass[dqidly][dqsip][0] = (u16) dlli; in finetuneDQSI()
758 if (dlli > pass[dqidly][dqsip][1]) in finetuneDQSI()
759 pass[dqidly][dqsip][1] = (u16) dlli; in finetuneDQSI()
760 } else if (passcnt[dqsip] >= 5) in finetuneDQSI()
763 pass[dqidly][dqsip][0] = 0xff; in finetuneDQSI()
764 pass[dqidly][dqsip][1] = 0x0; in finetuneDQSI()
775 for (dqsip = 0; dqsip < 2; dqsip++) { in finetuneDQSI()
776 if (pass[dqidly][dqsip][0] > pass[dqidly][dqsip][1]) in finetuneDQSI()
778 diff = pass[dqidly][dqsip][1] - pass[dqidly][dqsip][0]; in finetuneDQSI()
782 for (dlli = pass[dqidly][dqsip][0]; dlli > 0 && tag[dqsip][dlli] != 0; dlli--, passcnt[0]++); in finetuneDQSI()
783 for (dlli = pass[dqidly][dqsip][1]; dlli < 76 && tag[dqsip][dlli] != 0; dlli++, passcnt[1]++); in finetuneDQSI()
792 g_dqsip = dqsip; in finetuneDQSI()
798 g_dqsip = dqsip; in finetuneDQSI()