Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-thunderx-pcidrv.c99 i2c->sys_freq = clk_get_rate(i2c->clk); in thunder_i2c_clock_enable()
102 device_property_read_u32(dev, "sclk", &i2c->sys_freq); in thunder_i2c_clock_enable()
106 if (!i2c->sys_freq) in thunder_i2c_clock_enable()
107 i2c->sys_freq = SYS_FREQ_DEFAULT; in thunder_i2c_clock_enable()
220 dev_info(i2c->dev, "Probed. Set system clock to %u\n", i2c->sys_freq); in thunder_i2c_probe_pci()
Di2c-octeon-core.h109 int sys_freq; member
Di2c-octeon-platdrv.c190 i2c->sys_freq = octeon_get_io_clock_rate(); in octeon_i2c_probe()
Di2c-octeon-core.c675 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_set_clock()
682 foscl = i2c->sys_freq / (2 * (thp_idx + 1)); in octeon_i2c_set_clock()
/linux-4.19.296/drivers/clk/imgtec/
Dclk-boston.c37 unsigned long in_freq, cpu_freq, sys_freq; in clk_boston_setup() local
60 sys_freq = mult_frac(in_freq, mul, sys_div); in clk_boston_setup()
80 hw = clk_hw_register_fixed_rate(NULL, "sys", "input", 0, sys_freq); in clk_boston_setup()