Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/boot/
D4xx.h22 void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
23 void ibm405ep_fixup_clocks(unsigned int sys_clk);
24 void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk);
25 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
26 void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
28 void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
30 void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
D4xx.c335 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk) in ibm440gp_fixup_clocks() argument
345 cpu = plb = sys_clk; in ibm440gp_fixup_clocks()
353 cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); in ibm440gp_fixup_clocks()
354 plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); in ibm440gp_fixup_clocks()
363 tb = sys_clk; in ibm440gp_fixup_clocks()
383 (sys_clk + 500000) / 1000000, sys_clk); in ibm440gp_fixup_clocks()
401 static unsigned int __ibm440eplike_fixup_clocks(unsigned int sys_clk, in __ibm440eplike_fixup_clocks() argument
450 vco = sys_clk * m; in __ibm440eplike_fixup_clocks()
457 clk_a = clk_b = sys_clk; in __ibm440eplike_fixup_clocks()
516 void ibm440ep_fixup_clocks(unsigned int sys_clk, in ibm440ep_fixup_clocks() argument
[all …]
/linux-2.6.39/arch/powerpc/platforms/512x/
Dclock.c277 static struct clk sys_clk = { variable
287 rate = sys_clk.rate; in diu_clk_calc()
299 rate = sys_clk.rate; in viu_clk_calc()
324 .parent = &sys_clk,
553 &sys_clk,
632 unsigned long mclk_src = sys_clk.rate; in psc_calc_rate()
655 mclk_src = sys_clk.rate; in psc_calc_rate()
/linux-2.6.39/drivers/net/can/mscan/
Dmpc5xxx_can.c138 struct clk *sys_clk, *ref_clk; in mpc512x_can_get_clock() local
183 sys_clk = clk_get(&ofdev->dev, "sys_clk"); in mpc512x_can_get_clock()
184 if (!sys_clk) { in mpc512x_can_get_clock()
190 ((clk_get_rate(sys_clk) + 499999) / 1000000); in mpc512x_can_get_clock()
/linux-2.6.39/drivers/video/omap/
Dhwa742.c765 unsigned long *sys_clk, unsigned long *pix_clk) in calc_hwa742_clk_rates() argument
777 *sys_clk = ext_clk * sys_mul / sys_div; in calc_hwa742_clk_rates()
779 *sys_clk = ext_clk; in calc_hwa742_clk_rates()
781 *pix_clk = *sys_clk / pix_div; /* HZ */ in calc_hwa742_clk_rates()
786 *sys_clk, *pix_clk); in calc_hwa742_clk_rates()
942 unsigned long sys_clk, pix_clk; in hwa742_init() local
978 calc_hwa742_clk_rates(ext_clk, &sys_clk, &pix_clk); in hwa742_init()
979 if ((r = calc_extif_timings(sys_clk, &extif_mem_div)) < 0) in hwa742_init()
Dblizzard.c1229 unsigned long *sys_clk, unsigned long *pix_clk) in calc_blizzard_clk_rates() argument
1243 *sys_clk = ext_clk * sys_mul / sys_div; in calc_blizzard_clk_rates()
1245 *sys_clk = ext_clk; in calc_blizzard_clk_rates()
1247 *pix_clk = *sys_clk / pix_div; /* HZ */ in calc_blizzard_clk_rates()
1252 *sys_clk, *pix_clk); in calc_blizzard_clk_rates()
1498 unsigned long sys_clk, pix_clk; in blizzard_init() local
1543 calc_blizzard_clk_rates(ext_clk, &sys_clk, &pix_clk); in blizzard_init()
1545 if ((r = calc_extif_timings(sys_clk, &extif_div)) < 0) in blizzard_init()
/linux-2.6.39/drivers/mmc/host/
Dbfin_sdh.c354 unsigned long sys_clk, ios_clk; in sdh_set_ios() local
357 sys_clk = get_sclk(); in sdh_set_ios()
358 clk_div = sys_clk / ios_clk; in sdh_set_ios()
359 if (sys_clk % ios_clk == 0) in sdh_set_ios()