Lines Matching full:i2c_clk
76 * @i2c_clk: I2C SCL frequency
98 unsigned int i2c_clk; member
378 "%s entry, i2c->input_clk: %ld, i2c->i2c_clk: %d\n", in xiic_setclk()
379 __func__, i2c->input_clk, i2c->i2c_clk); in xiic_setclk()
382 if (!i2c->i2c_clk || !i2c->input_clk) in xiic_setclk()
387 switch (i2c->i2c_clk) { in xiic_setclk()
409 /* THIGH - Depends on SCL clock frequency(i2c_clk) as below */ in xiic_setclk()
410 reg_val = (DIV_ROUND_UP(i2c->input_clk, 2 * i2c->i2c_clk)) - 7; in xiic_setclk()
1286 &i2c->i2c_clk); in xiic_i2c_probe()
1288 if (ret || i2c->i2c_clk > I2C_MAX_FAST_MODE_PLUS_FREQ) in xiic_i2c_probe()
1289 i2c->i2c_clk = 0; in xiic_i2c_probe()
1335 (unsigned long)res->start, irq, i2c->i2c_clk); in xiic_i2c_probe()