Searched refs:scgd (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/i2c/busses/ |
D | i2c-sh7760.c | 397 int scgd, scgdm, scgds; in calc_CCR() local 414 for (scgd = scgds; (scgd < 63) && scgd <= scgds + 1; scgd++) { in calc_CCR() 415 m1 = iclk / (20 + (scgd << 3)); in calc_CCR() 420 scgdm = scgd; in calc_CCR()
|
D | i2c-rcar.c | 244 u32 scgd, cdf, round, ick, sum, scl, cdf_width; in rcar_i2c_clock_calculate() local 317 for (scgd = 0; scgd < 0x40; scgd++) { in rcar_i2c_clock_calculate() 318 scl = ick / (20 + (scgd * 8) + round); in rcar_i2c_clock_calculate() 327 scl, t.bus_freq_hz, rate, round, cdf, scgd); in rcar_i2c_clock_calculate() 330 priv->icccr = scgd << cdf_width | cdf; in rcar_i2c_clock_calculate()
|