Lines Matching refs:timings
109 struct lpddr2_timings *timings = NULL; in of_get_ddr_timings() local
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()
137 devm_kfree(dev, timings); in of_get_ddr_timings()
146 return timings; in of_get_ddr_timings()
257 struct lpddr3_timings *timings = NULL; in of_lpddr3_get_ddr_timings() local
275 timings = devm_kcalloc(dev, arr_sz, sizeof(*timings), in of_lpddr3_get_ddr_timings()
278 if (!timings) in of_lpddr3_get_ddr_timings()
283 if (of_lpddr3_do_get_timings(np_tim, &timings[i])) { in of_lpddr3_get_ddr_timings()
284 devm_kfree(dev, timings); in of_lpddr3_get_ddr_timings()
293 return timings; in of_lpddr3_get_ddr_timings()