Lines Matching refs:real_clk
68 u32 real_clk; member
110 u32 delay_val = 1000000 / i2c->real_clk + 1; in mpc_i2c_fixup()
202 u32 *real_clk) in mpc_i2c_get_fdr_52xx() argument
211 *real_clk = mpc5xxx_get_bus_frequency(node) / 2048; in mpc_i2c_get_fdr_52xx()
231 *real_clk = mpc5xxx_get_bus_frequency(node) / div->divider; in mpc_i2c_get_fdr_52xx()
247 ret = mpc_i2c_get_fdr_52xx(node, clock, &i2c->real_clk); in mpc_i2c_setup_52xx()
253 dev_info(i2c->dev, "clock %u Hz (fdr=%d)\n", i2c->real_clk, in mpc_i2c_setup_52xx()
389 u32 *real_clk) in mpc_i2c_get_fdr_8xxx() argument
398 *real_clk = fsl_get_sys_freq() / prescaler / (16 * 3072); in mpc_i2c_get_fdr_8xxx()
417 *real_clk = fsl_get_sys_freq() / prescaler / div->divider; in mpc_i2c_get_fdr_8xxx()
434 ret = mpc_i2c_get_fdr_8xxx(node, clock, &i2c->real_clk); in mpc_i2c_setup_8xxx()
442 i2c->real_clk, fdr >> 8, fdr & 0xff); in mpc_i2c_setup_8xxx()