Searched refs:i2c_clk_div (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
H A Di2c-imx.c473 struct imx_i2c_clk_pair *i2c_clk_div = i2c_imx->hwdata->clk_div; i2c_imx_set_clk() local
486 if (div < i2c_clk_div[0].div) i2c_imx_set_clk()
488 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) i2c_imx_set_clk()
491 for (i = 0; i2c_clk_div[i].div < div; i++) i2c_imx_set_clk()
495 i2c_imx->ifdr = i2c_clk_div[i].val; i2c_imx_set_clk()
503 i2c_imx->disable_delay = (500000U * i2c_clk_div[i].div i2c_imx_set_clk()
510 i2c_clk_div[i].val, i2c_clk_div[i].div); i2c_imx_set_clk()

Completed in 47 milliseconds