Lines Matching refs:victim_dq
92 static u32 *ddr3_dqs_choose_pattern(MV_DRAM_INFO *dram_info, u32 victim_dq) in ddr3_dqs_choose_pattern() argument
100 pattern_ptr = (u32 *)&killer_pattern[victim_dq]; in ddr3_dqs_choose_pattern()
104 pattern_ptr = (u32 *)&killer_pattern_32b[victim_dq]; in ddr3_dqs_choose_pattern()
108 pattern_ptr = (u32 *)&killer_pattern_64b[victim_dq]; in ddr3_dqs_choose_pattern()
113 pattern_ptr = (u32 *)&killer_pattern_32b[victim_dq]; in ddr3_dqs_choose_pattern()
115 pattern_ptr = (u32 *)&killer_pattern[victim_dq]; in ddr3_dqs_choose_pattern()
297 u32 victim_dq, pup, tmp; in ddr3_find_adll_limits() local
353 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_find_adll_limits()
355 (u32)victim_dq, 1); in ddr3_find_adll_limits()
379 analog_pbs[victim_dq][pup][dq][0] = in ddr3_find_adll_limits()
381 analog_pbs[victim_dq][pup][dq][1] = in ddr3_find_adll_limits()
404 victim_dq); in ddr3_find_adll_limits()
418 4 * victim_dq, in ddr3_find_adll_limits()
454 DEBUG_DQS_D(victim_dq, 1); in ddr3_find_adll_limits()
463 if ((analog_pbs[victim_dq][pup][dq][0] != adll_start_val) in ddr3_find_adll_limits()
464 && (analog_pbs[victim_dq][pup] in ddr3_find_adll_limits()
467 [victim_dq] in ddr3_find_adll_limits()
545 [victim_dq] in ddr3_find_adll_limits()
550 [victim_dq] in ddr3_find_adll_limits()
569 DEBUG_DQS_D(victim_dq, 1); in ddr3_find_adll_limits()
579 if (analog_pbs[victim_dq][pup][dq][0] == adll_start_val) in ddr3_find_adll_limits()
581 [victim_dq] in ddr3_find_adll_limits()
642 victim_dq, 1); in ddr3_find_adll_limits()
662 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_find_adll_limits()
665 DEBUG_DQS_D(victim_dq, 1); in ddr3_find_adll_limits()
672 DEBUG_DQS_D(analog_pbs[victim_dq][pup][dq] in ddr3_find_adll_limits()
675 DEBUG_DQS_D(analog_pbs[victim_dq][pup][dq] in ddr3_find_adll_limits()
679 if (analog_pbs[victim_dq][pup][dq][0] in ddr3_find_adll_limits()
682 analog_pbs[victim_dq][pup] in ddr3_find_adll_limits()
684 if (analog_pbs[victim_dq][pup][dq][1] in ddr3_find_adll_limits()
687 analog_pbs[victim_dq][pup] in ddr3_find_adll_limits()
690 if (analog_pbs[victim_dq][pup][dq][0] in ddr3_find_adll_limits()
693 analog_pbs[victim_dq][pup] in ddr3_find_adll_limits()
695 if (analog_pbs[victim_dq][pup][dq][1] in ddr3_find_adll_limits()
698 analog_pbs[victim_dq][pup] in ddr3_find_adll_limits()
734 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_find_adll_limits()
737 DEBUG_PER_DQ_DD((victim_dq + in ddr3_find_adll_limits()
742 DEBUG_PER_DQ_DD(victim_dq, 2); in ddr3_find_adll_limits()
747 DEBUG_PER_DQ_D(analog_pbs[victim_dq][pup][dq][1], 2); /* low value */ in ddr3_find_adll_limits()
749 DEBUG_PER_DQ_D(analog_pbs[victim_dq][pup][dq][0], 2); /* high value */ in ddr3_find_adll_limits()
751 …DEBUG_PER_DQ_D(analog_pbs[victim_dq][pup][dq][0] - analog_pbs[victim_dq][pup][dq][1], 2); /* win-s… in ddr3_find_adll_limits()
754 DEBUG_PER_DQ_D(analog_pbs[victim_dq][pup][dq][0], 2); /* low value */ in ddr3_find_adll_limits()
756 DEBUG_PER_DQ_D((analog_pbs[victim_dq][pup][dq][1] - 1), 2); /* high value */ in ddr3_find_adll_limits()
758 …DEBUG_PER_DQ_D(analog_pbs[victim_dq][pup][dq][1] - analog_pbs[victim_dq][pup][dq][0], 2); /* win-s… in ddr3_find_adll_limits()
954 u32 victim_dq; /* loop index - victim DQ */ in ddr3_special_pattern_i_search() local
975 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_special_pattern_i_search()
980 LEN_KILLER_PATTERN * 4 * victim_dq; in ddr3_special_pattern_i_search()
1005 [victim_dq], in ddr3_special_pattern_i_search()
1115 u32 victim_dq; /* loop index - victim DQ */ in ddr3_special_pattern_ii_search() local
1138 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_special_pattern_ii_search()
1162 special_pattern[victim_dq], in ddr3_special_pattern_ii_search()
1329 u32 cs, cs_count, cs_tmp, victim_dq; in ddr3_load_dqs_patterns() local
1345 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_load_dqs_patterns()
1347 victim_dq); in ddr3_load_dqs_patterns()
1352 4 * victim_dq, 1, 0, NULL, in ddr3_load_dqs_patterns()
1360 for (victim_dq = 0; victim_dq < DQ_NUM; victim_dq++) { in ddr3_load_dqs_patterns()
1363 special_pattern[victim_dq], in ddr3_load_dqs_patterns()
1365 LEN_KILLER_PATTERN * 4 * victim_dq, in ddr3_load_dqs_patterns()