Home
last modified time | relevance | path

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

/drivers/net/can/mscan/
Dmpc5xxx_can.c138 struct clk *sys_clk, *ref_clk; in mpc512x_can_get_clock() local
206 ref_clk = clk_get(&ofdev->dev, "ref_clk"); in mpc512x_can_get_clock()
207 if (IS_ERR(ref_clk)) { in mpc512x_can_get_clock()
212 freq = clk_get_rate(ref_clk) / clockdiv; in mpc512x_can_get_clock()
/drivers/video/aty/
Dradeon_base.c439 rinfo->pll.ref_clk = (*val) / 10; in radeon_read_xtal_OF()
583 rinfo->pll.ref_clk = xtal; in radeon_probe_pll_params()
608 rinfo->pll.ref_clk = 2700; in radeon_get_pllinfo()
619 rinfo->pll.ref_clk = 2700; in radeon_get_pllinfo()
629 rinfo->pll.ref_clk = 2700; in radeon_get_pllinfo()
639 rinfo->pll.ref_clk = 2700; in radeon_get_pllinfo()
650 rinfo->pll.ref_clk = 2700; in radeon_get_pllinfo()
675 rinfo->pll.ref_clk = BIOS_IN16(pll_info_block + 0x0e); in radeon_get_pllinfo()
710 rinfo->pll.ref_clk / 100, rinfo->pll.ref_clk % 100, in radeon_get_pllinfo()
1511 rinfo->pll.ref_div, rinfo->pll.ref_clk, in radeon_calc_pll_regs()
[all …]
Daty128fb.c367 u32 ref_clk; member
878 par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); in aty128_get_pllinfo()
883 par->constants.ref_clk); in aty128_get_pllinfo()
926 if (!par->constants.ref_clk) in aty128_timings()
927 par->constants.ref_clk = 2950; in aty128_timings()
935 par->constants.xclk = round_div((2 * Nx * par->constants.ref_clk), in aty128_timings()
1355 d = c.ref_clk; in aty128_var_to_pll()
Datyfb.h51 int ref_clk; member
Dradeonfb.h142 int ref_clk; member
Datyfb_base.c3429 par->pll_limits.ref_clk = pll_block.ref_freq/100; in init_from_bios()
/drivers/video/intelfb/
Dintelfbhw.c45 int min_vco, max_vco, p_transition_clk, ref_clk; member
661 return plls[index].ref_clk * m / n / p; in calc_vclock3()
672 vco = pll->ref_clk * m / n; in calc_vclock()
974 m = ROUND_UP_TO(f_vco * n, pll->ref_clk) / pll->ref_clk; in calc_pll_params()
/drivers/video/mbx/
Dmbxfb.c130 unsigned int ref_clk = 13000; /* FIXME: take from platform data */ in mbxfb_get_pixclock() local
150 clk = (ref_clk * m) / (n * (1 << p)); in mbxfb_get_pixclock()
/drivers/video/
Dsmscufx.c534 const u32 ref_clk = 25000000; in ufx_calc_pll_values() local
539 u32 ref_freq0 = ref_clk / div_r0; in ufx_calc_pll_values()