Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-jz4780.c249 int cnt_high = 0; /* HIGH period count of the SCL clock */ in jz4780_i2c_set_speed() local
268 cnt_high = (cnt_period * 4000) / (4700 + 4000); in jz4780_i2c_set_speed()
270 cnt_high = (cnt_period * 600) / (1300 + 600); in jz4780_i2c_set_speed()
272 cnt_low = cnt_period - cnt_high; in jz4780_i2c_set_speed()
287 JZ4780_I2CSHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()
296 JZ4780_I2CFHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()