Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-mt65xx.c705 unsigned int sample_ns = div_u64(1000000000ULL * (sample_cnt + 1), in mtk_i2c_check_ac_timing() local
719 clk_ns = sample_ns / 2; in mtk_i2c_check_ac_timing()
726 low_cnt = DIV_ROUND_UP(spec->min_low_ns, sample_ns); in mtk_i2c_check_ac_timing()
739 sda_max = spec->max_hd_dat_ns / sample_ns; in mtk_i2c_check_ac_timing()
743 sda_min = DIV_ROUND_UP(spec->min_su_dat_ns, sample_ns); in mtk_i2c_check_ac_timing()