Searched defs:vco (Results 1 - 8 of 8) sorted by relevance
/arch/arm/plat-versatile/ |
H A D | clock.c | 58 struct icst_vco vco; local 59 vco = icst_hz_to_vco(clk->params, rate); 60 return icst_hz(clk->params, vco); 66 struct icst_vco vco; local 68 vco = icst_hz_to_vco(clk->params, rate); 69 clk->rate = icst_hz(clk->params, vco); 70 clk->ops->setvco(clk, vco);
|
/arch/arm/common/ |
H A D | icst.c | 30 unsigned long icst_hz(const struct icst_params *p, struct icst_vco vco) argument 32 return p->ref * 2 * (vco.v + 8) / ((vco.r + 2) * p->s2div[vco.s]); 48 struct icst_vco vco = { .s = 1, .v = p->vd_max, .r = p->rd_max }; local 64 return vco; 66 vco.s = p->idx2s[i]; 89 vco.v = vd - 8; 90 vco.r = rd - 2; 97 return vco; [all...] |
/arch/arm/mach-integrator/ |
H A D | cpu.c | 62 struct icst_vco vco; local 68 vco = icst_hz_to_vco(&cclk_params, policy->max * 1000); 69 policy->max = icst_hz(&cclk_params, vco) / 1000; 71 vco = icst_hz_to_vco(&cclk_params, policy->min * 1000); 72 policy->min = icst_hz(&cclk_params, vco) / 1000; 88 struct icst_vco vco; local 108 vco.s = (cm_osc >> 8) & 7; 110 vco.s = 1; 112 vco.v = cm_osc & 255; 113 vco 164 struct icst_vco vco; local [all...] |
H A D | impd1.c | 55 static void impd1_setvco(struct clk *clk, struct icst_vco vco) argument 58 u32 val = vco.v | (vco.r << 9) | (vco.s << 16); 65 vco.v = val & 0x1ff; 66 vco.r = (val >> 9) & 0x7f; 67 vco.s = (val >> 16) & 7; 70 vconr, icst525_hz(&impd1_vco_params, vco));
|
H A D | integrator_cp.c | 208 static void cp_auxvco_set(struct clk *clk, struct icst_vco vco) argument 213 val |= vco.v | (vco.r << 9) | (vco.s << 16);
|
/arch/arm/mach-realview/ |
H A D | core.c | 244 static void realview_oscvco_set(struct clk *clk, struct icst_vco vco) argument 250 val |= vco.v | (vco.r << 9) | (vco.s << 16);
|
/arch/arm/mach-versatile/ |
H A D | core.c | 336 static void versatile_oscvco_set(struct clk *clk, struct icst_vco vco) argument 342 val |= vco.v | (vco.r << 9) | (vco.s << 16);
|
/arch/powerpc/boot/ |
H A D | 4xx.c | 423 u32 cpu, plb, opb, ebc, vco; local 450 vco = sys_clk * m; 451 clk_a = vco / fwdva; 452 clk_b = vco / fwdvb; 456 vco = 0; 753 u32 cpu, plb, opb, ebc, vco, tb, uart0, uart1; local 778 vco = (unsigned int)(sys_clk * m); 782 vco = 0; 786 cpu = vco / (fwdva * cpudv0); 788 plb = vco / (fwdv [all...] |
Completed in 189 milliseconds