Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-jz4780.c249 int dev_clk_khz = clk_get_rate(i2c->clk) / 1000; in jz4780_i2c_set_speed() local
266 cnt_period = dev_clk_khz / i2c_clk; in jz4780_i2c_set_speed()
328 hold_time = ((hold_time * dev_clk_khz) / 1000000) - 1; in jz4780_i2c_set_speed()
329 setup_time = ((setup_time * dev_clk_khz) / 1000000) + 1; in jz4780_i2c_set_speed()