Home
last modified time | relevance | path

Searched refs:cpu_rate (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/mips/ralink/
Drt288x.c42 unsigned long cpu_rate, wmac_rate = 40000000; in ralink_clk_init() local
48 cpu_rate = 250000000; in ralink_clk_init()
51 cpu_rate = 266666667; in ralink_clk_init()
54 cpu_rate = 280000000; in ralink_clk_init()
57 cpu_rate = 300000000; in ralink_clk_init()
61 ralink_clk_add("cpu", cpu_rate); in ralink_clk_init()
62 ralink_clk_add("300100.timer", cpu_rate / 2); in ralink_clk_init()
63 ralink_clk_add("300120.watchdog", cpu_rate / 2); in ralink_clk_init()
64 ralink_clk_add("300500.uart", cpu_rate / 2); in ralink_clk_init()
65 ralink_clk_add("300900.i2c", cpu_rate / 2); in ralink_clk_init()
[all …]
Drt305x.c132 unsigned long cpu_rate, sys_rate, wdt_rate, uart_rate; in ralink_clk_init() local
142 cpu_rate = 320000000; in ralink_clk_init()
145 cpu_rate = 384000000; in ralink_clk_init()
148 sys_rate = uart_rate = wdt_rate = cpu_rate / 3; in ralink_clk_init()
154 cpu_rate = 384000000; in ralink_clk_init()
157 cpu_rate = 400000000; in ralink_clk_init()
160 sys_rate = wdt_rate = cpu_rate / 3; in ralink_clk_init()
167 cpu_rate = 360000000; in ralink_clk_init()
168 sys_rate = cpu_rate / 3; in ralink_clk_init()
171 cpu_rate = 320000000; in ralink_clk_init()
[all …]
Drt3883.c65 unsigned long cpu_rate, sys_rate; in ralink_clk_init() local
77 cpu_rate = 250000000; in ralink_clk_init()
81 cpu_rate = 384000000; in ralink_clk_init()
85 cpu_rate = 480000000; in ralink_clk_init()
89 cpu_rate = 500000000; in ralink_clk_init()
94 ralink_clk_add("cpu", cpu_rate); in ralink_clk_init()
Dmt7620.c484 mt7620_get_sys_rate(unsigned long cpu_rate) in mt7620_get_sys_rate() argument
496 return cpu_rate; in mt7620_get_sys_rate()
500 return cpu_rate; in mt7620_get_sys_rate()
502 return cpu_rate / div; in mt7620_get_sys_rate()
510 unsigned long cpu_rate; in ralink_clk_init() local
524 cpu_rate = MHZ(580); in ralink_clk_init()
526 cpu_rate = MHZ(575); in ralink_clk_init()
527 dram_rate = sys_rate = cpu_rate / 3; in ralink_clk_init()
537 cpu_rate = mt7620_get_cpu_rate(pll_rate); in ralink_clk_init()
539 sys_rate = mt7620_get_sys_rate(cpu_rate); in ralink_clk_init()
[all …]
/Linux-v5.10/arch/mips/ath79/
Dclock.c96 unsigned long cpu_rate; in ar71xx_clocks_init() local
111 cpu_rate = freq / div; in ar71xx_clocks_init()
117 ahb_rate = cpu_rate / div; in ar71xx_clocks_init()
119 ath79_set_clk(ATH79_CLK_CPU, cpu_rate); in ar71xx_clocks_init()
235 unsigned long cpu_rate; in ar934x_clocks_init() local
313 cpu_rate = ref_rate; in ar934x_clocks_init()
315 cpu_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
317 cpu_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init()
339 ath79_set_clk(ATH79_CLK_CPU, cpu_rate); in ar934x_clocks_init()
353 unsigned long cpu_rate; in qca953x_clocks_init() local
[all …]
/Linux-v5.10/arch/arm/mach-imx/
Dmxc.h74 u32 cpu_rate; member