Searched refs:sys_freq (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/i2c/busses/ |
| H A D | i2c-thunderx-pcidrv.c | 100 i2c->sys_freq = clk_get_rate(i2c->clk); in thunder_i2c_clock_enable() 103 if (device_property_read_u32(dev, "sclk", &i2c->sys_freq)) in thunder_i2c_clock_enable() 104 device_property_read_u32(dev, "ioclk", &i2c->sys_freq); in thunder_i2c_clock_enable() 108 if (!i2c->sys_freq) in thunder_i2c_clock_enable() 109 i2c->sys_freq = SYS_FREQ_DEFAULT; in thunder_i2c_clock_enable() 219 i2c->sys_freq = OTX2_REF_FREQ_DEFAULT; in thunder_i2c_probe_pci() 237 dev_info(i2c->dev, "Probed. Set system clock to %u\n", i2c->sys_freq); in thunder_i2c_probe_pci()
|
| H A D | i2c-octeon-core.c | 861 thp_base = (i2c->sys_freq / tclk) - 2; in octeon_i2c_set_clock() 863 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_set_clock() 871 foscl = i2c->sys_freq / (thp_idx + 2); in octeon_i2c_set_clock() 873 foscl = i2c->sys_freq / in octeon_i2c_set_clock()
|
| H A D | i2c-octeon-core.h | 132 int sys_freq; member
|
| /linux/drivers/clk/imgtec/ |
| H A D | clk-boston.c | 33 unsigned long in_freq, cpu_freq, sys_freq; in clk_boston_setup() local 56 sys_freq = mult_frac(in_freq, mul, sys_div); in clk_boston_setup() 74 hw = clk_hw_register_fixed_rate(NULL, "sys", "input", 0, sys_freq); in clk_boston_setup()
|
| /linux/arch/mips/include/asm/mach-ath25/ |
| H A D | ath25_platform.h | 45 u32 sys_freq; /* System frequency in Hz */ member
|
| /linux/drivers/mmc/host/ |
| H A D | cavium.c | 877 clk_period = (host->sys_freq + clock - 1) / (2 * clock); in cvm_mmc_set_ios() 927 (host->sys_freq / slot->clock) / 2); in cvm_mmc_init_lowlevel() 929 (host->sys_freq / slot->clock) / 2); in cvm_mmc_init_lowlevel() 1000 clock_period = 1000000000000ull / slot->host->sys_freq; in cvm_mmc_of_parse()
|
| H A D | cavium-thunderx.c | 100 host->sys_freq = clk_get_rate(host->clk); in thunder_mmc_probe()
|
| H A D | cavium.h | 65 int sys_freq; member
|
| /linux/drivers/spi/ |
| H A D | spi-cavium.c | 48 clkdiv = p->sys_freq / (2 * xfer->speed_hz); in octeon_spi_do_transfer()
|
| H A D | spi-cavium.h | 21 int sys_freq; member
|