Home
last modified time | relevance | path

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

/linux/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c137 dbg->cnt_period++; in hva_dbg_perf_begin()
240 if (dbg->cnt_period > 0) { in hva_dbg_perf_compute()
242 do_div(div, dbg->cnt_period); in hva_dbg_perf_compute()
249 div = (u64)dbg->cnt_period * 100000; in hva_dbg_perf_compute()
/linux/drivers/i2c/busses/
H A Di2c-jz4780.c252 int cnt_period = 0; /* period count of the SCL clock */ in jz4780_i2c_set_speed() local
266 cnt_period = dev_clk_khz / i2c_clk; in jz4780_i2c_set_speed()
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()