Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c118 unsigned int clks_per_count; member
143 int clks_per_count; member
269 i2c_clk_khz = clk_get_rate(pd->clk) / 1000 / pd->clks_per_count; in sh_mobile_i2c_init()
297 pd->iccl = DIV_ROUND_UP(clks_per_cycle * 5 / 9 - 1, pd->clks_per_count); in sh_mobile_i2c_v2_init()
298 pd->icch = DIV_ROUND_UP(clks_per_cycle * 4 / 9 - 5, pd->clks_per_count); in sh_mobile_i2c_v2_init()
780 .clks_per_count = 1,
785 .clks_per_count = 2,
790 .clks_per_count = 2,
795 .clks_per_count = 1,
901 pd->clks_per_count = 1; in sh_mobile_i2c_probe()
[all …]