Searched refs:sys_freq (Results  1 – 17 of 17) sorted by relevance
| /Linux-v5.10/drivers/spi/ | 
| D | spi-cavium-thunderx.c | 62 	p->sys_freq = clk_get_rate(p->clk);  in thunderx_spi_probe() 63 	if (!p->sys_freq)  in thunderx_spi_probe() 64 		p->sys_freq = SYS_FREQ_DEFAULT;  in thunderx_spi_probe() 65 	dev_info(dev, "Set system clock to %u\n", p->sys_freq);  in thunderx_spi_probe()
  | 
| D | spi-mt7621.c | 56 	unsigned int		sys_freq;  member 109 	rate = DIV_ROUND_UP(rs->sys_freq, speed);  in mt7621_spi_prepare() 306 	    (spi->max_speed_hz > (rs->sys_freq / 2)))  in mt7621_spi_setup() 307 		spi->max_speed_hz = rs->sys_freq / 2;  in mt7621_spi_setup() 309 	if (spi->max_speed_hz < (rs->sys_freq / 4097)) {  in mt7621_spi_setup() 373 	rs->sys_freq = clk_get_rate(rs->clk);  in mt7621_spi_probe() 375 	dev_info(&pdev->dev, "sys_freq: %u\n", rs->sys_freq);  in mt7621_spi_probe()
  | 
| D | spi-cavium-octeon.c | 39 	p->sys_freq = octeon_get_io_clock_rate();  in octeon_spi_probe()
  | 
| D | spi-cavium.c | 48 	clkdiv = p->sys_freq / (2 * xfer->speed_hz);  in octeon_spi_do_transfer()
  | 
| D | spi-cavium.h | 21 	int sys_freq;  member
  | 
| /Linux-v5.10/drivers/i2c/busses/ | 
| D | i2c-thunderx-pcidrv.c | 99 		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() 224 	dev_info(i2c->dev, "Probed. Set system clock to %u\n", i2c->sys_freq);  in thunder_i2c_probe_pci()
  | 
| D | i2c-octeon-core.h | 109 	int sys_freq;  member
  | 
| D | i2c-octeon-platdrv.c | 188 	i2c->sys_freq = octeon_get_io_clock_rate();  in octeon_i2c_probe()
  | 
| D | i2c-octeon-core.c | 675 			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-v5.10/drivers/clk/imgtec/ | 
| 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() 75 	hw = clk_hw_register_fixed_rate(NULL, "sys", "input", 0, sys_freq);  in clk_boston_setup()
  | 
| /Linux-v5.10/arch/mips/include/asm/mach-ath25/ | 
| D | ath25_platform.h | 45 	u32 sys_freq;                /* System frequency in Hz */  member
  | 
| /Linux-v5.10/drivers/hwmon/ | 
| D | mr75203.c | 255 	u16 sys_freq, key, middle, low = 4, high = 8;  in pvt_init()  local 265 	sys_freq = clk_get_rate(pvt->clk) / HZ_PER_MHZ;  in pvt_init() 268 		key = DIV_ROUND_CLOSEST(sys_freq, middle);  in pvt_init() 290 	pvt->ip_freq = sys_freq * 100 / (key + 2);  in pvt_init()
  | 
| /Linux-v5.10/drivers/mmc/host/ | 
| D | cavium.c | 879 		clk_period = (host->sys_freq + clock - 1) / (2 * clock);  in cvm_mmc_set_ios() 929 				 (host->sys_freq / slot->clock) / 2);  in cvm_mmc_init_lowlevel() 931 				 (host->sys_freq / slot->clock) / 2);  in cvm_mmc_init_lowlevel() 1002 	clock_period = 1000000000000ull / slot->host->sys_freq;  in cvm_mmc_of_parse()
  | 
| D | cavium-thunderx.c | 99 	host->sys_freq = clk_get_rate(host->clk);  in thunder_mmc_probe()
  | 
| D | cavium.h | 65 	int sys_freq;  member
  | 
| D | cavium-octeon.c | 174 	host->sys_freq = octeon_get_io_clock_rate();  in octeon_mmc_probe()
  | 
| /Linux-v5.10/drivers/media/i2c/ | 
| D | tc358743.c | 587 	u32 sys_freq;  in tc358743_set_ref_clk()  local 597 	sys_freq = pdata->refclk_hz / 10000;  in tc358743_set_ref_clk() 598 	i2c_wr8(sd, SYS_FREQ0, sys_freq & 0x00ff);  in tc358743_set_ref_clk() 599 	i2c_wr8(sd, SYS_FREQ1, (sys_freq & 0xff00) >> 8);  in tc358743_set_ref_clk() 627 	cec_freq = (656 * sys_freq) / 4200;  in tc358743_set_ref_clk()
  |