Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-mt65xx.c704 unsigned int sda_max, sda_min, clk_ns, max_sta_cnt = 0x3f; in mtk_i2c_check_ac_timing() local
739 sda_max = spec->max_hd_dat_ns / sample_ns; in mtk_i2c_check_ac_timing()
740 if (sda_max > low_cnt) in mtk_i2c_check_ac_timing()
741 sda_max = 0; in mtk_i2c_check_ac_timing()
747 if (sda_min > sda_max) in mtk_i2c_check_ac_timing()
767 ((sda_max + sda_min) / 2) << 6; in mtk_i2c_check_ac_timing()
781 (sda_max + sda_min) / 2; in mtk_i2c_check_ac_timing()