Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/i2c/busses/
Di2c-jz4780.c258 int cnt_high = 0; /* HIGH period count of the SCL clock */ in jz4780_i2c_set_speed() local
277 cnt_high = (cnt_period * 4000) / (4700 + 4000); in jz4780_i2c_set_speed()
279 cnt_high = (cnt_period * 600) / (1300 + 600); in jz4780_i2c_set_speed()
281 cnt_low = cnt_period - cnt_high; in jz4780_i2c_set_speed()
296 JZ4780_I2CSHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()
305 JZ4780_I2CFHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()