Searched refs:clk_period (Results 1 – 2 of 2) sorted by relevance
87 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_setup_ns_to_cycles() local91 cycles = DIV_ROUND_UP(timing_ns, clk_period); in at91sam9_smc_setup_ns_to_cycles()117 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_pulse_ns_to_cycles() local121 cycles = DIV_ROUND_UP(timing_ns, clk_period); in at91sam9_smc_pulse_ns_to_cycles()147 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_cycle_ns_to_cycles() local151 cycles = DIV_ROUND_UP(timing_ns, clk_period); in at91sam9_smc_cycle_ns_to_cycles()
52 s32 clk_period; /* Clock period in nanoseconds. */ member117 return 100000 * (10000 / (unsigned long)tbus->info.clk_period); in tc_get_speed()