Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/i2c/busses/
Di2c-imx.c520 unsigned int i2c_clk_rate) in i2c_imx_set_clk() argument
527 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk()
530 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()
532 div = (i2c_clk_rate + i2c_imx->bitrate - 1) / i2c_imx->bitrate; in i2c_imx_set_clk()
551 + (i2c_clk_rate / 2) - 1) / (i2c_clk_rate / 2); in i2c_imx_set_clk()
555 i2c_clk_rate, div); in i2c_imx_set_clk()
/Linux-v5.10/drivers/clk/tegra/
Dclk-dfll.c276 unsigned long i2c_clk_rate; member
722 val = DIV_ROUND_UP(td->i2c_clk_rate, td->i2c_fs_rate * 8); in dfll_init_i2c_if()
1442 td->i2c_clk_rate = clk_get_rate(td->i2c_clk); in dfll_init_clks()