Searched refs:scl_high (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-lpc2k.c | 349 u32 scl_high; in i2c_lpc2k_probe() local 399 scl_high = (clkrate * I2C_STD_MODE_DUTY) / 100; in i2c_lpc2k_probe() 401 scl_high = (clkrate * I2C_FAST_MODE_DUTY) / 100; in i2c_lpc2k_probe() 403 scl_high = (clkrate * I2C_FAST_MODE_PLUS_DUTY) / 100; in i2c_lpc2k_probe() 405 writel(scl_high, i2c->base + LPC24XX_I2SCLH); in i2c_lpc2k_probe() 406 writel(clkrate - scl_high, i2c->base + LPC24XX_I2SCLL); in i2c_lpc2k_probe()
|
D | i2c-mlxbf.c | 364 u16 scl_high; /* Clock high period. */ member 1134 timer = mlxbf_i2c_set_timer(priv, timings->scl_high, in mlxbf_i2c_set_timings() 1194 .scl_high = 4810, 1210 .scl_high = 1011, 1226 .scl_high = 600,
|
/linux-6.12.1/drivers/media/i2c/ |
D | ds90ub913.c | 635 u32 scl_high = 600 + 300; /* high period + rise time, ns */ in ub913_i2c_master_init() local 642 scl_high = div64_u64((u64)scl_high * ref, 1000000000); in ub913_i2c_master_init() 645 ret = ub913_write(priv, UB913_REG_SCL_HIGH_TIME, scl_high); in ub913_i2c_master_init()
|
D | ds90ub953.c | 828 u32 scl_high = 915; /* ns */ in ub953_i2c_master_init() local 832 scl_high = div64_u64((u64)scl_high * ref, 1000000000) - 5; in ub953_i2c_master_init() 835 ret = ub953_write(priv, UB953_REG_SCL_HIGH_TIME, scl_high); in ub953_i2c_master_init()
|