Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/
Dpmagb-b-fb.c43 unsigned int osc1; member
228 par->osc1 = freq1; in pmagbbfb_osc_setup()
234 par->osc1 = pmagbbfb_freqs[i]; in pmagbbfb_osc_setup()
238 if (par->osc0 - par->osc1 <= (par->osc0 + par->osc1 + 256) / 512 || in pmagbbfb_osc_setup()
239 par->osc1 - par->osc0 <= (par->osc0 + par->osc1 + 256) / 512) in pmagbbfb_osc_setup()
240 par->osc1 = 0; in pmagbbfb_osc_setup()
242 gp0_write(par, par->osc1 != 0); /* reselect OscX */ in pmagbbfb_osc_setup()
244 info->var.pixclock = par->osc1 ? in pmagbbfb_osc_setup()
245 (1000000000 + par->osc1 / 2) / par->osc1 : in pmagbbfb_osc_setup()
330 par->osc1 / 1000, par->osc1 % 1000); in pmagbbfb_probe()
[all …]
/linux-2.6.39/arch/avr32/boards/favr-32/
Dsetup.c264 struct clk *osc1; in set_abdac_rate() local
271 osc1 = clk_get(NULL, "osc1"); in set_abdac_rate()
272 if (IS_ERR(osc1)) { in set_abdac_rate()
273 retval = PTR_ERR(osc1); in set_abdac_rate()
289 retval = clk_set_parent(pll1, osc1); in set_abdac_rate()
317 clk_put(osc1); in set_abdac_rate()
/linux-2.6.39/arch/avr32/mach-at32ap/
Dat32ap700x.c108 static struct clk osc1; variable
186 if (clk->parent == &osc1) in pll_set_rate()
279 else if (parent == &osc1) in pll1_set_parent()
306 static struct clk osc1 = { variable
572 if (parent == &osc1 || parent == &pll1) in genclk_set_parent()
599 parent = (control & PM_BIT(PLLSEL)) ? &pll1 : &osc1; in genclk_init_parent()
2214 &osc1,
2290 pll0.parent = &osc1; in setup_platform()
2292 pll1.parent = &osc1; in setup_platform()