Lines Matching refs:tp1

2981 	union cvmx_lmcx_timing_params1 tp1;  in lmc_timing_params1()  local
2985 tp1.u64 = lmc_rd(priv, CVMX_LMCX_TIMING_PARAMS1(if_num)); in lmc_timing_params1()
2988 tp1.s.tmprr = divide_roundup(DDR3_TMPRR * tclk_psecs, tclk_psecs) - 1; in lmc_timing_params1()
2990 tp1.cn78xx.tras = divide_roundup(tras, tclk_psecs) - 1; in lmc_timing_params1()
3005 tp1.cn78xx.trcd = (temp_trcd >> 0) & 0xf; in lmc_timing_params1()
3006 tp1.cn78xx.trcd_ext = (temp_trcd >> 4) & 0x1; in lmc_timing_params1()
3008 tp1.cn78xx.twtr = divide_roundup(twtr, tclk_psecs) - 1; in lmc_timing_params1()
3009 tp1.cn78xx.trfc = divide_roundup(trfc, 8 * tclk_psecs); in lmc_timing_params1()
3013 tp1.cn78xx.trrd = in lmc_timing_params1()
3016 tp1.cn78xx.trrd = divide_roundup(trrd, tclk_psecs) - 2; in lmc_timing_params1()
3036 tp1.cn78xx.txp = (txp >> 0) & 7; in lmc_timing_params1()
3037 tp1.cn78xx.txp_ext = (txp >> 3) & 1; in lmc_timing_params1()
3039 tp1.cn78xx.twlmrd = divide_roundup(DDR3_TWLMRD * tclk_psecs, in lmc_timing_params1()
3041 tp1.cn78xx.twldqsen = divide_roundup(DDR3_TWLDQSEN * tclk_psecs, in lmc_timing_params1()
3043 tp1.cn78xx.tfaw = divide_roundup(tfaw, 4 * tclk_psecs); in lmc_timing_params1()
3044 tp1.cn78xx.txpdll = divide_roundup(max(10ull * tclk_psecs, 24000ull), in lmc_timing_params1()
3066 tp1.cn78xx.trfc_dlr = in lmc_timing_params1()
3069 node, if_num, tp1.cn78xx.trfc_dlr); in lmc_timing_params1()
3075 tp1.u64 = simple_strtoull(s, NULL, 0); in lmc_timing_params1()
3078 tp1.u64); in lmc_timing_params1()
3079 lmc_wr(priv, CVMX_LMCX_TIMING_PARAMS1(if_num), tp1.u64); in lmc_timing_params1()
3085 union cvmx_lmcx_timing_params1 tp1; in lmc_timing_params2() local
3089 tp1.u64 = lmc_rd(priv, CVMX_LMCX_TIMING_PARAMS1(if_num)); in lmc_timing_params2()
3118 if (tp1.cn78xx.twtr < (tp2.s.twtr_l - 4)) { in lmc_timing_params2()
3119 tp1.cn78xx.twtr = tp2.s.twtr_l - 4; in lmc_timing_params2()
3121 tp1.cn78xx.twtr, tp2.s.twtr_l); in lmc_timing_params2()
3123 tp1.u64); in lmc_timing_params2()
3124 lmc_wr(priv, CVMX_LMCX_TIMING_PARAMS1(if_num), tp1.u64); in lmc_timing_params2()
5127 union cvmx_lmcx_timing_params1 tp1; in lmc_workaround() local
5131 tp1.u64 = lmc_rd(priv, CVMX_LMCX_TIMING_PARAMS1(if_num)); in lmc_workaround()
5135 if (tp1.cn78xx.trcd == 0) { in lmc_workaround()
5138 tp1.cn78xx.trcd = 12; in lmc_workaround()
5147 tp1.u64); in lmc_workaround()
5148 lmc_wr(priv, CVMX_LMCX_TIMING_PARAMS1(if_num), tp1.u64); in lmc_workaround()