Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dast2600_i2c.c267 u32 scl_low; in ast2600_i2c_set_speed() local
315 scl_low = ((divisor * 9) / 16) - 1; in ast2600_i2c_set_speed()
316 scl_low = min_t(u32, scl_low, 0xf); in ast2600_i2c_set_speed()
317 scl_high = (divisor - scl_low - 2) & 0xf; in ast2600_i2c_set_speed()
319 data = ((scl_high - 1) << 20) | (scl_high << 16) | (scl_low << 12) | in ast2600_i2c_set_speed()
H A Dast_i2c.c43 ulong scl_low, scl_high, data; in get_clk_reg_val() local
50 scl_low = (divider_ratio >> 1) - 1; in get_clk_reg_val()
51 scl_high = divider_ratio - scl_low - 2; in get_clk_reg_val()
54 | (scl_low << I2CD_TCKLOW_SHIFT) in get_clk_reg_val()
/openbmc/linux/drivers/media/i2c/
H A Dds90ub913.c636 u32 scl_low = 1300 + 300; /* low period + fall time, ns */ in ub913_i2c_master_init() local
643 scl_low = div64_u64((u64)scl_low * ref, 1000000000); in ub913_i2c_master_init()
649 ret = ub913_write(priv, UB913_REG_SCL_LOW_TIME, scl_low); in ub913_i2c_master_init()
H A Dds90ub953.c829 u32 scl_low = 1641; /* ns */ in ub953_i2c_master_init() local
833 scl_low = div64_u64((u64)scl_low * ref, 1000000000) - 5; in ub953_i2c_master_init()
839 ret = ub953_write(priv, UB953_REG_SCL_LOW_TIME, scl_low); in ub953_i2c_master_init()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-mlxbf.c365 u16 scl_low; /* Clock low period. */ member
1137 timer |= mlxbf_i2c_set_timer(priv, timings->scl_low, in mlxbf_i2c_set_timings()
1195 .scl_low = 5000,
1211 .scl_low = 1300,
1227 .scl_low = 1300,