Searched refs:i2c_clk_rate (Results 1 – 2 of 2) sorted by relevance
474 unsigned int i2c_clk_rate; in i2c_imx_set_clk() local479 i2c_clk_rate = clk_get_rate(i2c_imx->clk); in i2c_imx_set_clk()480 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk()483 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()485 div = (i2c_clk_rate + i2c_imx->bitrate - 1) / i2c_imx->bitrate; in i2c_imx_set_clk()504 + (i2c_clk_rate / 2) - 1) / (i2c_clk_rate / 2); in i2c_imx_set_clk()508 i2c_clk_rate, div); in i2c_imx_set_clk()
278 unsigned long i2c_clk_rate; member575 val = DIV_ROUND_UP(td->i2c_clk_rate, td->i2c_fs_rate * 8); in dfll_init_i2c_if()1296 td->i2c_clk_rate = clk_get_rate(td->i2c_clk); in dfll_init_clks()