Searched refs:hclkn (Results 1 – 1 of 1) sorted by relevance
288 unsigned long hclkn = NSEC_PER_SEC / hclk; in fsmc_calc_timings() local294 tims->tar = DIV_ROUND_UP(sdrt->tAR_min / 1000, hclkn) - 1; in fsmc_calc_timings()297 tims->tclr = DIV_ROUND_UP(sdrt->tCLR_min / 1000, hclkn) - 1; in fsmc_calc_timings()302 tims->thiz = DIV_ROUND_UP(thiz / 1000, hclkn); in fsmc_calc_timings()315 tims->thold = DIV_ROUND_UP(thold / 1000, hclkn); in fsmc_calc_timings()323 tims->tset = DIV_ROUND_UP(tset / 1000, hclkn) - 1; in fsmc_calc_timings()334 twait_min = sdrt->tCEA_max - ((tims->tset + 1) * hclkn * 1000) in fsmc_calc_timings()338 tims->twait = DIV_ROUND_UP(twait / 1000, hclkn) - 1; in fsmc_calc_timings()