Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-mt65xx.c662 int clk_div_restri = 0; in mtk_i2c_get_clk_div_restri() local
669 clk_div_restri = 0; in mtk_i2c_get_clk_div_restri()
671 clk_div_restri = 1; in mtk_i2c_get_clk_div_restri()
674 clk_div_restri = -1; in mtk_i2c_get_clk_div_restri()
676 clk_div_restri = 0; in mtk_i2c_get_clk_div_restri()
678 clk_div_restri = 1; in mtk_i2c_get_clk_div_restri()
681 return clk_div_restri; in mtk_i2c_get_clk_div_restri()
812 int clk_div_restri = 0; in mtk_i2c_calculate_speed() local
830 clk_div_restri = mtk_i2c_get_clk_div_restri(i2c, sample_cnt); in mtk_i2c_calculate_speed()
831 step_cnt = DIV_ROUND_UP(opt_div + clk_div_restri, sample_cnt); in mtk_i2c_calculate_speed()
[all …]