dlli 247 drivers/gpu/drm/ast/ast_post.c u32 dll_min[4], dll_max[4], dlli, data, passcnt; dlli 254 drivers/gpu/drm/ast/ast_post.c for (dlli = 0; dlli < 100; dlli++) { dlli 255 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1e6e0068, dlli | (dlli << 8) | (dlli << 16) | (dlli << 24)); dlli 259 drivers/gpu/drm/ast/ast_post.c if (dll_min[0] > dlli) dlli 260 drivers/gpu/drm/ast/ast_post.c dll_min[0] = dlli; dlli 261 drivers/gpu/drm/ast/ast_post.c if (dll_max[0] < dlli) dlli 262 drivers/gpu/drm/ast/ast_post.c dll_max[0] = dlli; dlli 271 drivers/gpu/drm/ast/ast_post.c dlli = dll_min[0] + (((dll_max[0] - dll_min[0]) * 7) >> 4); dlli 272 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1e6e0068, dlli | (dlli << 8) | (dlli << 16) | (dlli << 24)); dlli 620 drivers/gpu/drm/ast/ast_post.c u32 gold_sadj[2], dllmin[16], dllmax[16], dlli, data, cnt, mask, passcnt, retry = 0; dlli 628 drivers/gpu/drm/ast/ast_post.c for (dlli = 0; dlli < 76; dlli++) { dlli 629 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, 0x00001400 | (dlli << 16) | (dlli << 24)); dlli 636 drivers/gpu/drm/ast/ast_post.c if (dllmin[cnt] > dlli) { dlli 637 drivers/gpu/drm/ast/ast_post.c dllmin[cnt] = dlli; dlli 639 drivers/gpu/drm/ast/ast_post.c if (dllmax[cnt] < dlli) { dlli 640 drivers/gpu/drm/ast/ast_post.c dllmax[cnt] = dlli; dlli 672 drivers/gpu/drm/ast/ast_post.c dlli = dllmin[cnt]; dlli 673 drivers/gpu/drm/ast/ast_post.c if (gold_sadj[0] >= dlli) { dlli 674 drivers/gpu/drm/ast/ast_post.c dlli = ((gold_sadj[0] - dlli) * 19) >> 5; dlli 675 drivers/gpu/drm/ast/ast_post.c if (dlli > 3) { dlli 676 drivers/gpu/drm/ast/ast_post.c dlli = 3; dlli 679 drivers/gpu/drm/ast/ast_post.c dlli = ((dlli - gold_sadj[0]) * 19) >> 5; dlli 680 drivers/gpu/drm/ast/ast_post.c if (dlli > 4) { dlli 681 drivers/gpu/drm/ast/ast_post.c dlli = 4; dlli 683 drivers/gpu/drm/ast/ast_post.c dlli = (8 - dlli) & 0x7; dlli 685 drivers/gpu/drm/ast/ast_post.c data |= dlli << 21; dlli 694 drivers/gpu/drm/ast/ast_post.c dlli = dllmin[cnt]; dlli 695 drivers/gpu/drm/ast/ast_post.c if (gold_sadj[1] >= dlli) { dlli 696 drivers/gpu/drm/ast/ast_post.c dlli = ((gold_sadj[1] - dlli) * 19) >> 5; dlli 697 drivers/gpu/drm/ast/ast_post.c if (dlli > 3) { dlli 698 drivers/gpu/drm/ast/ast_post.c dlli = 3; dlli 700 drivers/gpu/drm/ast/ast_post.c dlli = (dlli - 1) & 0x7; dlli 703 drivers/gpu/drm/ast/ast_post.c dlli = ((dlli - gold_sadj[1]) * 19) >> 5; dlli 704 drivers/gpu/drm/ast/ast_post.c dlli += 1; dlli 705 drivers/gpu/drm/ast/ast_post.c if (dlli > 4) { dlli 706 drivers/gpu/drm/ast/ast_post.c dlli = 4; dlli 708 drivers/gpu/drm/ast/ast_post.c dlli = (8 - dlli) & 0x7; dlli 710 drivers/gpu/drm/ast/ast_post.c data |= dlli << 21; dlli 719 drivers/gpu/drm/ast/ast_post.c u32 dlli, dqsip, dqidly; dlli 731 drivers/gpu/drm/ast/ast_post.c for (dlli = 0; dlli < 76; dlli++) { dlli 732 drivers/gpu/drm/ast/ast_post.c tag[0][dlli] = 0x0; dlli 733 drivers/gpu/drm/ast/ast_post.c tag[1][dlli] = 0x0; dlli 747 drivers/gpu/drm/ast/ast_post.c for (dlli = 0; dlli < 76; dlli++) { dlli 748 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, 0x00001300 | (dlli << 16) | (dlli << 24)); dlli 752 drivers/gpu/drm/ast/ast_post.c if (dlli == 0) dlli 755 drivers/gpu/drm/ast/ast_post.c tag[dqsip][dlli] = 'P'; dlli 756 drivers/gpu/drm/ast/ast_post.c if (dlli < pass[dqidly][dqsip][0]) dlli 757 drivers/gpu/drm/ast/ast_post.c pass[dqidly][dqsip][0] = (u16) dlli; dlli 758 drivers/gpu/drm/ast/ast_post.c if (dlli > pass[dqidly][dqsip][1]) dlli 759 drivers/gpu/drm/ast/ast_post.c pass[dqidly][dqsip][1] = (u16) dlli; dlli 782 drivers/gpu/drm/ast/ast_post.c for (dlli = pass[dqidly][dqsip][0]; dlli > 0 && tag[dqsip][dlli] != 0; dlli--, passcnt[0]++); dlli 783 drivers/gpu/drm/ast/ast_post.c for (dlli = pass[dqidly][dqsip][1]; dlli < 76 && tag[dqsip][dlli] != 0; dlli++, passcnt[1]++); dlli 809 drivers/gpu/drm/ast/ast_post.c u32 dllmin[2], dllmax[2], dlli, data, passcnt, retry = 0; dlli 820 drivers/gpu/drm/ast/ast_post.c for (dlli = 0; dlli < 76; dlli++) { dlli 821 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, 0x00001300 | (dlli << 16) | (dlli << 24)); dlli 826 drivers/gpu/drm/ast/ast_post.c if (dllmin[0] > dlli) { dlli 827 drivers/gpu/drm/ast/ast_post.c dllmin[0] = dlli; dlli 829 drivers/gpu/drm/ast/ast_post.c if (dllmax[0] < dlli) { dlli 830 drivers/gpu/drm/ast/ast_post.c dllmax[0] = dlli; dlli 834 drivers/gpu/drm/ast/ast_post.c if (dllmin[1] > dlli) { dlli 835 drivers/gpu/drm/ast/ast_post.c dllmin[1] = dlli; dlli 837 drivers/gpu/drm/ast/ast_post.c if (dllmax[1] < dlli) { dlli 838 drivers/gpu/drm/ast/ast_post.c dllmax[1] = dlli; dlli 856 drivers/gpu/drm/ast/ast_post.c dlli = (dllmin[1] + dllmax[1]) >> 1; dlli 857 drivers/gpu/drm/ast/ast_post.c dlli <<= 8; dlli 858 drivers/gpu/drm/ast/ast_post.c dlli += (dllmin[0] + dllmax[0]) >> 1; dlli 859 drivers/gpu/drm/ast/ast_post.c ast_moutdwm(ast, 0x1E6E0068, ast_mindwm(ast, 0x1E720058) | (dlli << 16));