Lines Matching full:timings
26 * default min timings provided by JEDEC.
92 * of_get_ddr_timings() - extracts the ddr timings and updates no of
95 * @dev: Device requesting for ddr timings
102 * while populating, returns default timings provided by JEDEC.
109 struct lpddr2_timings *timings = NULL; in of_get_ddr_timings() local
117 tim_compat = "jedec,lpddr2-timings"; in of_get_ddr_timings()
128 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_get_ddr_timings()
131 if (!timings) in of_get_ddr_timings()
136 if (of_do_get_timings(np_tim, &timings[i])) { in of_get_ddr_timings()
138 devm_kfree(dev, timings); in of_get_ddr_timings()
147 return timings; in of_get_ddr_timings()
150 dev_warn(dev, "Using default memory timings\n"); in of_get_ddr_timings()
244 * of_lpddr3_get_ddr_timings() - extracts the lpddr3 timings and updates no of
247 * @dev: Device requesting for ddr timings
260 struct lpddr3_timings *timings = NULL; in of_lpddr3_get_ddr_timings() local
267 tim_compat = "jedec,lpddr3-timings"; in of_lpddr3_get_ddr_timings()
278 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_lpddr3_get_ddr_timings()
281 if (!timings) in of_lpddr3_get_ddr_timings()
286 if (of_lpddr3_do_get_timings(np_tim, &timings[i])) { in of_lpddr3_get_ddr_timings()
287 devm_kfree(dev, timings); in of_lpddr3_get_ddr_timings()
297 return timings; in of_lpddr3_get_ddr_timings()
300 dev_warn(dev, "Failed to get timings\n"); in of_lpddr3_get_ddr_timings()