Lines Matching refs:clks_per_count
118 unsigned int clks_per_count; member
142 int clks_per_count; member
271 i2c_clk_khz = clk_get_rate(pd->clk) / 1000 / pd->clks_per_count; in sh_mobile_i2c_init()
299 pd->iccl = DIV_ROUND_UP(clks_per_cycle * 5 / 9 - 1, pd->clks_per_count); in sh_mobile_i2c_v2_init()
300 pd->icch = DIV_ROUND_UP(clks_per_cycle * 4 / 9 - 5, pd->clks_per_count); in sh_mobile_i2c_v2_init()
748 .clks_per_count = 1,
753 .clks_per_count = 2,
758 .clks_per_count = 2,
763 .clks_per_count = 1,
855 pd->clks_per_count = 1; in sh_mobile_i2c_probe()
866 pd->clks_per_count = config->clks_per_count; in sh_mobile_i2c_probe()