Searched refs:clk_cycle (Results 1 – 4 of 4) sorted by relevance
292 int div, clk_cycle, temp; in exynos5_i2c_set_timing() local339 clk_cycle = temp / (div + 1) - 2; in exynos5_i2c_set_timing()340 if (temp < 4 || div >= 256 || clk_cycle < 2) { in exynos5_i2c_set_timing()346 t_scl_l = clk_cycle / 2; in exynos5_i2c_set_timing()347 t_scl_h = clk_cycle / 2; in exynos5_i2c_set_timing()353 t_sr_release = clk_cycle; in exynos5_i2c_set_timing()
44 unsigned int clk_cycle; member295 unsigned int cyc = priv->clk_cycle; in uniphier_i2c_hw_init()355 priv->clk_cycle = clk_rate / bus_speed; in uniphier_i2c_probe()
205 unsigned int clk_rate, clk_cycle, clkhi, clklo; in lpi2c_imx_config() local218 clk_cycle = clk_rate / ((1 << prescale) * lpi2c_imx->bitrate) in lpi2c_imx_config()220 clkhi = (clk_cycle + I2C_CLK_RATIO) / (I2C_CLK_RATIO + 1); in lpi2c_imx_config()221 clklo = clk_cycle - clkhi; in lpi2c_imx_config()
89 unsigned int clk_cycle; member481 unsigned int cyc = priv->clk_cycle; in uniphier_fi2c_hw_init()560 priv->clk_cycle = clk_rate / bus_speed; in uniphier_fi2c_probe()