Lines Matching refs:clkcfg
482 struct ti_i2c_clock_config *clkcfg;
489 clkcfg = ti_omap4_i2c_clock_configs;
494 clkcfg = ti_am335x_i2c_clock_configs;
514 if (clkcfg[1].frequency == 0 || clkcfg[1].frequency > busfreq)
516 clkcfg++;
565 ti_i2c_write_2(sc, I2C_REG_PSC, clkcfg->psc);
573 scll = clkcfg->scll & I2C_SCLL_MASK;
574 sclh = clkcfg->sclh & I2C_SCLH_MASK;
590 if ((clkcfg->hsscll + clkcfg->hssclh) > 0) {
591 scll |= clkcfg->hsscll << I2C_HSSCLL_SHIFT;
592 sclh |= clkcfg->hssclh << I2C_HSSCLH_SHIFT;