Searched refs:i2c_clock (Results 1 – 4 of 4) sorted by relevance
30 #define pca_clock(adap) adap->i2c_clock401 if (pca_data->i2c_clock > 7) { in pca_init()402 switch (pca_data->i2c_clock) { in pca_init()404 pca_data->i2c_clock = I2C_PCA_CON_330kHz; in pca_init()407 pca_data->i2c_clock = I2C_PCA_CON_288kHz; in pca_init()410 pca_data->i2c_clock = I2C_PCA_CON_217kHz; in pca_init()413 pca_data->i2c_clock = I2C_PCA_CON_146kHz; in pca_init()416 pca_data->i2c_clock = I2C_PCA_CON_88kHz; in pca_init()419 pca_data->i2c_clock = I2C_PCA_CON_59kHz; in pca_init()422 pca_data->i2c_clock = I2C_PCA_CON_44kHz; in pca_init()[all …]
178 &i2c->algo_data.i2c_clock); in i2c_pca_pf_probe()180 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe()184 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe()
147 pca_isa_data.i2c_clock = clock; in pca_isa_probe()
245 int i2c_clock; in radeon_get_i2c_prescale() local260 i2c_clock = 60; in radeon_get_i2c_prescale()261 nm = (sclk * 10) / (i2c_clock * 4); in radeon_get_i2c_prescale()289 i2c_clock = 50; in radeon_get_i2c_prescale()291 prescale = (127 << 8) + ((sclk * 10) / (4 * 127 * i2c_clock)); in radeon_get_i2c_prescale()