Searched refs:tap_val (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/arch/mips/mach-ath79/qca953x/ |
D | ddr.c | 412 u32 val, pass, tap, cnt, tap_val, last, first; in ddr_tap_tuning() local 417 tap_val = readl(regs + AR71XX_DDR_REG_TAP_CTRL0); in ddr_tap_tuning() 463 tap_val = (first + last) / 2; in ddr_tap_tuning() 464 tap_val %= DDR_TAP_MAX_VAL; in ddr_tap_tuning() 467 writel(tap_val, regs + AR71XX_DDR_REG_TAP_CTRL0); in ddr_tap_tuning() 468 writel(tap_val, regs + AR71XX_DDR_REG_TAP_CTRL1); in ddr_tap_tuning()
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | ddr3_training_ip_engine.c | 649 int tap_val, max_val = -10000, min_val = 10000; in ddr3_tip_process_result() local 664 tap_val = GET_TAP_RESULT(ar_result[i], e_edge); in ddr3_tip_process_result() 665 if (tap_val > max_val) in ddr3_tip_process_result() 666 max_val = tap_val; in ddr3_tip_process_result() 667 if (tap_val < min_val) in ddr3_tip_process_result() 668 min_val = tap_val; in ddr3_tip_process_result() 676 i, ar_result[i], tap_val, in ddr3_tip_process_result()
|