Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/mips/mach-ath79/ar934x/
H A Dclk.c37 struct ar934x_clock_config { struct
46 static const struct ar934x_clock_config ar934x_clock_config[] = { variable
133 for (i = 0; i < ARRAY_SIZE(ar934x_clock_config); i++) { in ar934x_pll_init()
134 if (cpu_mhz != ar934x_clock_config[i].cpu_freq) in ar934x_pll_init()
136 if (ddr_mhz != ar934x_clock_config[i].ddr_freq) in ar934x_pll_init()
138 if (ahb_mhz != ar934x_clock_config[i].ahb_freq) in ar934x_pll_init()
142 pll_cfg = &ar934x_clock_config[i].cpu_pll; in ar934x_pll_init()
151 pll_cfg = &ar934x_clock_config[i].ddr_pll; in ar934x_pll_init()
163 if (i == ARRAY_SIZE(ar934x_clock_config)) in ar934x_pll_init()