Lines Matching refs:pclkrate
141 u32 pclkrate; member
200 u32 rt = i2c->pclkrate; in synquacer_i2c_hw_init()
206 writeb(SYNQUACER_I2C_BUS_CLK_FR(i2c->pclkrate), in synquacer_i2c_hw_init()
211 if (i2c->pclkrate <= SYNQUACER_I2C_CLK_RATE_18M) { in synquacer_i2c_hw_init()
226 if (i2c->pclkrate <= SYNQUACER_I2C_CLK_RATE_18M) { in synquacer_i2c_hw_init()
254 WAIT_PCLK(100, i2c->pclkrate); in synquacer_i2c_hw_reset()
293 WAIT_PCLK(10, i2c->pclkrate); in synquacer_i2c_master_start()
489 WAIT_PCLK(10, i2c->pclkrate); in synquacer_i2c_isr()
551 &i2c->pclkrate); in synquacer_i2c_probe()
559 i2c->pclkrate = clk_get_rate(pclk); in synquacer_i2c_probe()
561 if (i2c->pclkrate < SYNQUACER_I2C_MIN_CLK_RATE || in synquacer_i2c_probe()
562 i2c->pclkrate > SYNQUACER_I2C_MAX_CLK_RATE) in synquacer_i2c_probe()
565 i2c->pclkrate); in synquacer_i2c_probe()