Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-thunderx-pcidrv.c184 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()
H A Di2c-octeon-platdrv.c180 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()
H A Di2c-octeon-core.h108 u32 twsi_freq; member
H A Di2c-octeon-core.c673 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()