Searched refs:twsi_freq (Results 1 – 4 of 4) sorted by relevance
184 ret = device_property_read_u32(dev, "clock-frequency", &i2c->twsi_freq); in thunder_i2c_probe_pci()186 i2c->twsi_freq = I2C_MAX_STANDARD_MODE_FREQ; in thunder_i2c_probe_pci()
180 if (of_property_read_u32(node, "clock-frequency", &i2c->twsi_freq) && in octeon_i2c_probe()181 of_property_read_u32(node, "clock-rate", &i2c->twsi_freq)) { in octeon_i2c_probe()
108 u32 twsi_freq; member
673 tclk = i2c->twsi_freq * (mdiv_idx + 1) * 10; in octeon_i2c_set_clock()685 diff = abs(foscl - i2c->twsi_freq); in octeon_i2c_set_clock()