Lines Matching refs:clk_period_ps
1038 u32 clk_period_ps) in create_timings_aligned() argument
1043 if (clk_period_ps == 0) in create_timings_aligned()
1050 val = dmc->timings->tRFC / clk_period_ps; in create_timings_aligned()
1051 val += dmc->timings->tRFC % clk_period_ps ? 1 : 0; in create_timings_aligned()
1056 val = dmc->timings->tRRD / clk_period_ps; in create_timings_aligned()
1057 val += dmc->timings->tRRD % clk_period_ps ? 1 : 0; in create_timings_aligned()
1062 val = dmc->timings->tRPab / clk_period_ps; in create_timings_aligned()
1063 val += dmc->timings->tRPab % clk_period_ps ? 1 : 0; in create_timings_aligned()
1068 val = dmc->timings->tRCD / clk_period_ps; in create_timings_aligned()
1069 val += dmc->timings->tRCD % clk_period_ps ? 1 : 0; in create_timings_aligned()
1074 val = dmc->timings->tRC / clk_period_ps; in create_timings_aligned()
1075 val += dmc->timings->tRC % clk_period_ps ? 1 : 0; in create_timings_aligned()
1080 val = dmc->timings->tRAS / clk_period_ps; in create_timings_aligned()
1081 val += dmc->timings->tRAS % clk_period_ps ? 1 : 0; in create_timings_aligned()
1087 val = dmc->timings->tWTR / clk_period_ps; in create_timings_aligned()
1088 val += dmc->timings->tWTR % clk_period_ps ? 1 : 0; in create_timings_aligned()
1093 val = dmc->timings->tWR / clk_period_ps; in create_timings_aligned()
1094 val += dmc->timings->tWR % clk_period_ps ? 1 : 0; in create_timings_aligned()
1099 val = dmc->timings->tRTP / clk_period_ps; in create_timings_aligned()
1100 val += dmc->timings->tRTP % clk_period_ps ? 1 : 0; in create_timings_aligned()
1105 val = dmc->timings->tW2W_C2C / clk_period_ps; in create_timings_aligned()
1106 val += dmc->timings->tW2W_C2C % clk_period_ps ? 1 : 0; in create_timings_aligned()
1111 val = dmc->timings->tR2R_C2C / clk_period_ps; in create_timings_aligned()
1112 val += dmc->timings->tR2R_C2C % clk_period_ps ? 1 : 0; in create_timings_aligned()
1117 val = dmc->timings->tWL / clk_period_ps; in create_timings_aligned()
1118 val += dmc->timings->tWL % clk_period_ps ? 1 : 0; in create_timings_aligned()
1123 val = dmc->timings->tDQSCK / clk_period_ps; in create_timings_aligned()
1124 val += dmc->timings->tDQSCK % clk_period_ps ? 1 : 0; in create_timings_aligned()
1129 val = dmc->timings->tRL / clk_period_ps; in create_timings_aligned()
1130 val += dmc->timings->tRL % clk_period_ps ? 1 : 0; in create_timings_aligned()
1136 val = dmc->timings->tFAW / clk_period_ps; in create_timings_aligned()
1137 val += dmc->timings->tFAW % clk_period_ps ? 1 : 0; in create_timings_aligned()
1142 val = dmc->timings->tXSR / clk_period_ps; in create_timings_aligned()
1143 val += dmc->timings->tXSR % clk_period_ps ? 1 : 0; in create_timings_aligned()
1148 val = dmc->timings->tXP / clk_period_ps; in create_timings_aligned()
1149 val += dmc->timings->tXP % clk_period_ps ? 1 : 0; in create_timings_aligned()
1154 val = dmc->timings->tCKE / clk_period_ps; in create_timings_aligned()
1155 val += dmc->timings->tCKE % clk_period_ps ? 1 : 0; in create_timings_aligned()
1160 val = dmc->timings->tMRD / clk_period_ps; in create_timings_aligned()
1161 val += dmc->timings->tMRD % clk_period_ps ? 1 : 0; in create_timings_aligned()
1180 u32 freq_mhz, clk_period_ps; in of_get_dram_timings() local
1228 clk_period_ps = 1000000 / freq_mhz; in of_get_dram_timings()
1233 clk_period_ps); in of_get_dram_timings()