Searched refs:clk_cycles (Results 1 – 2 of 2) sorted by relevance
24 u32 sys_rate, sr2_cnt, clk_cycles; in abb_setup_timings() local51 clk_cycles = DIV_ROUND_CLOSEST(OMAP_ABB_CLOCK_CYCLES * 10, sys_rate); in abb_setup_timings()52 sr2_cnt = DIV_ROUND_CLOSEST(OMAP_ABB_SETTLING_TIME * 10, clk_cycles); in abb_setup_timings()
1208 u32 clk_cycles = DIV_ROUND_UP(duration, clk_period); in _sunxi_nand_lookup_timing() local1212 if (clk_cycles <= lut[i]) in _sunxi_nand_lookup_timing()