Home
last modified time | relevance | path

Searched refs:i2c_clk_rate (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-imx.c569 unsigned int i2c_clk_rate) in i2c_imx_set_clk() argument
583 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk()
586 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()
588 div = DIV_ROUND_UP(i2c_clk_rate, i2c_imx->bitrate); in i2c_imx_set_clk()
607 i2c_clk_rate / 2); in i2c_imx_set_clk()
611 i2c_clk_rate, div); in i2c_imx_set_clk()
/linux/drivers/clk/tegra/
H A Dclk-dfll.c277 unsigned long i2c_clk_rate; member
723 val = DIV_ROUND_UP(td->i2c_clk_rate, td->i2c_fs_rate * 8); in dfll_init_i2c_if()
1443 td->i2c_clk_rate = clk_get_rate(td->i2c_clk); in dfll_init_clks()