Searched refs:i2c_clk_rate (Results 1 – 3 of 3) sorted by relevance
573 unsigned int i2c_clk_rate) in i2c_imx_set_clk() argument587 if (i2c_imx->cur_clk == i2c_clk_rate) in i2c_imx_set_clk()590 i2c_imx->cur_clk = i2c_clk_rate; in i2c_imx_set_clk()592 div = DIV_ROUND_UP(i2c_clk_rate, i2c_imx->bitrate); in i2c_imx_set_clk()611 i2c_clk_rate / 2); in i2c_imx_set_clk()615 i2c_clk_rate, div); in i2c_imx_set_clk()
138 unsigned int i2c_clk_rate; in i2c_imx_get_clk() local152 i2c_clk_rate = mxc_get_clock(MXC_I2C_CLK); in i2c_imx_get_clk()153 div = (i2c_clk_rate + rate - 1) / rate; in i2c_imx_get_clk()
277 unsigned long i2c_clk_rate; member723 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()