Home
last modified time | relevance | path

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

/drivers/i2c/busses/
A Di2c-lpc2k.c349 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()
A Di2c-mlxbf.c368 u16 scl_high; /* Clock high period. */ member
1110 timer = mlxbf_i2c_set_timer(priv, timings->scl_high, in mlxbf_i2c_set_timings()
1167 .scl_high = 4810,
1183 .scl_high = 1011,
1199 .scl_high = 383,
/drivers/media/i2c/
A Dds90ub913.c678 u32 scl_high = 600 + 300; /* high period + rise time, ns */ in ub913_i2c_master_init() local
685 scl_high = div64_u64((u64)scl_high * ref, 1000000000); in ub913_i2c_master_init()
688 ret = ub913_write(priv, UB913_REG_SCL_HIGH_TIME, scl_high, NULL); in ub913_i2c_master_init()
A Dds90ub953.c810 u32 scl_high = 915; /* ns */ in ub953_i2c_master_init() local
814 scl_high = div64_u64((u64)scl_high * ref, 1000000000) - 5; in ub953_i2c_master_init()
817 ret = ub953_write(priv, UB953_REG_SCL_HIGH_TIME, scl_high, NULL); in ub953_i2c_master_init()

Completed in 17 milliseconds