Home
last modified time | relevance | path

Searched refs:i2c_clock (Results 1 – 4 of 4) sorted by relevance

/drivers/i2c/algos/
Di2c-algo-pca.c30 #define pca_clock(adap) adap->i2c_clock
401 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 …]
/drivers/i2c/busses/
Di2c-pca-platform.c178 &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()
Di2c-pca-isa.c147 pca_isa_data.i2c_clock = clock; in pca_isa_probe()
/drivers/gpu/drm/radeon/
Dradeon_i2c.c245 int i2c_clock; in radeon_get_i2c_prescale() local
260 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()