Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-mt65xx.c606 unsigned int su_sta_cnt, low_cnt, high_cnt, max_step_cnt; in mtk_i2c_check_ac_timing() local
624 su_sta_cnt = DIV_ROUND_UP(spec->min_su_sta_ns, clk_ns); in mtk_i2c_check_ac_timing()
625 if (su_sta_cnt > max_sta_cnt) in mtk_i2c_check_ac_timing()
660 i2c->ac_timing.ext |= (su_sta_cnt << 1) | (1 << 0); in mtk_i2c_check_ac_timing()
664 i2c->ac_timing.hs_sta_stop = (su_sta_cnt << 8) | in mtk_i2c_check_ac_timing()
665 su_sta_cnt; in mtk_i2c_check_ac_timing()
674 i2c->ac_timing.ext = (su_sta_cnt << 8) | (1 << 0); in mtk_i2c_check_ac_timing()
678 i2c->ac_timing.sta_stop = (su_sta_cnt << 8) | in mtk_i2c_check_ac_timing()
679 su_sta_cnt; in mtk_i2c_check_ac_timing()