Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-pca-platform.c174 &i2c->algo_data.i2c_clock); in i2c_pca_pf_probe()
176 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe()
180 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()
/linux-6.1.9/include/linux/
Di2c-algo-pca.h79 unsigned int i2c_clock; member
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_i2c.c237 int i2c_clock; in radeon_get_i2c_prescale() local
252 i2c_clock = 60; in radeon_get_i2c_prescale()
253 nm = (sclk * 10) / (i2c_clock * 4); in radeon_get_i2c_prescale()
281 i2c_clock = 50; in radeon_get_i2c_prescale()
283 prescale = (127 << 8) + ((sclk * 10) / (4 * 127 * i2c_clock)); in radeon_get_i2c_prescale()