Searched defs:clk_mhz (Results 1 – 4 of 4) sorted by relevance
171 static u32 ns_to_clk(u64 ns, u32 clk_mhz) in ns_to_clk()179 u32 clk_mhz = clk_get_rate(idev->i2c_clk) / 1000000; in axxia_i2c_init() local
140 u32 clk_mhz = clk_get_rate(idev->i2c_clk) / 1000000; in altr_i2c_init() local
465 unsigned int clk_mhz, in tc358746_cfg_to_cnt()472 unsigned int clk_mhz) in tc358746_ps_to_cnt()478 unsigned int clk_mhz) in tc358746_us_to_cnt()
77 const unsigned long clk_mhz = clk_get_rate(priv->clk) / 1000000; in rcar_gyroadc_hw_init() local