Lines Matching refs:dqsip
690 u32 dlli, dqsip, dqidly; in finetuneDQSI() local
714 for (dqsip = 0; dqsip < 2; dqsip++) { in finetuneDQSI()
716 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18 | (dqidly << 16) | (dqsip << 23)); in finetuneDQSI()
725 passcnt[dqsip]++; in finetuneDQSI()
726 tag[dqsip][dlli] = 'P'; in finetuneDQSI()
727 if (dlli < pass[dqidly][dqsip][0]) in finetuneDQSI()
728 pass[dqidly][dqsip][0] = (u16) dlli; in finetuneDQSI()
729 if (dlli > pass[dqidly][dqsip][1]) in finetuneDQSI()
730 pass[dqidly][dqsip][1] = (u16) dlli; in finetuneDQSI()
731 } else if (passcnt[dqsip] >= 5) in finetuneDQSI()
734 pass[dqidly][dqsip][0] = 0xff; in finetuneDQSI()
735 pass[dqidly][dqsip][1] = 0x0; in finetuneDQSI()
746 for (dqsip = 0; dqsip < 2; dqsip++) { in finetuneDQSI()
747 if (pass[dqidly][dqsip][0] > pass[dqidly][dqsip][1]) in finetuneDQSI()
749 diff = pass[dqidly][dqsip][1] - pass[dqidly][dqsip][0]; in finetuneDQSI()
753 for (dlli = pass[dqidly][dqsip][0]; dlli > 0 && tag[dqsip][dlli] != 0; dlli--, passcnt[0]++); in finetuneDQSI()
754 for (dlli = pass[dqidly][dqsip][1]; dlli < 76 && tag[dqsip][dlli] != 0; dlli++, passcnt[1]++); in finetuneDQSI()
763 g_dqsip = dqsip; in finetuneDQSI()
769 g_dqsip = dqsip; in finetuneDQSI()