Lines Matching refs:dqidly
715 u32 dlli, dqsip, dqidly; in finetuneDQSI() local
731 for (dqidly = 0; dqidly < 32; dqidly++) { in finetuneDQSI()
732 pass[dqidly][0][0] = 0xff; in finetuneDQSI()
733 pass[dqidly][0][1] = 0x0; in finetuneDQSI()
734 pass[dqidly][1][0] = 0xff; in finetuneDQSI()
735 pass[dqidly][1][1] = 0x0; in finetuneDQSI()
737 for (dqidly = 0; dqidly < 32; dqidly++) { in finetuneDQSI()
741 ast_moutdwm(ast, 0x1E6E0018, reg_mcr18 | (dqidly << 16) | (dqsip << 23)); in finetuneDQSI()
752 if (dlli < pass[dqidly][dqsip][0]) in finetuneDQSI()
753 pass[dqidly][dqsip][0] = (u16) dlli; in finetuneDQSI()
754 if (dlli > pass[dqidly][dqsip][1]) in finetuneDQSI()
755 pass[dqidly][dqsip][1] = (u16) dlli; in finetuneDQSI()
759 pass[dqidly][dqsip][0] = 0xff; in finetuneDQSI()
760 pass[dqidly][dqsip][1] = 0x0; in finetuneDQSI()
765 dqidly++; in finetuneDQSI()
770 for (dqidly = 0; dqidly < 32; dqidly++) { in finetuneDQSI()
772 if (pass[dqidly][dqsip][0] > pass[dqidly][dqsip][1]) in finetuneDQSI()
774 diff = pass[dqidly][dqsip][1] - pass[dqidly][dqsip][0]; in finetuneDQSI()
778 for (dlli = pass[dqidly][dqsip][0]; dlli > 0 && tag[dqsip][dlli] != 0; dlli--, passcnt[0]++); in finetuneDQSI()
779 for (dlli = pass[dqidly][dqsip][1]; dlli < 76 && tag[dqsip][dlli] != 0; dlli++, passcnt[1]++); in finetuneDQSI()
787 g_dqidly = dqidly; in finetuneDQSI()
793 g_dqidly = dqidly; in finetuneDQSI()