Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-jz4780.c250 int cnt_high = 0; /* HIGH period count of the SCL clock */ in jz4780_i2c_set_speed() local
269 cnt_high = (cnt_period * 4000) / (4700 + 4000); in jz4780_i2c_set_speed()
271 cnt_high = (cnt_period * 600) / (1300 + 600); in jz4780_i2c_set_speed()
273 cnt_low = cnt_period - cnt_high; in jz4780_i2c_set_speed()
288 JZ4780_I2CSHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()
297 JZ4780_I2CFHCNT_ADJUST(cnt_high)); in jz4780_i2c_set_speed()