Home
last modified time | relevance | path

Searched refs:divider (Results 1 – 25 of 35) sorted by relevance

12

/arch/arm/mach-imx/
Dclk-fixup-div.c31 struct clk_divider divider; member
38 struct clk_divider *divider = to_clk_div(hw); in to_clk_fixup_div() local
40 return container_of(divider, struct clk_fixup_div, divider); in to_clk_fixup_div()
48 return fixup_div->ops->recalc_rate(&fixup_div->divider.hw, parent_rate); in clk_fixup_div_recalc_rate()
56 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); in clk_fixup_div_round_rate()
64 unsigned int divider, value; in clk_fixup_div_set_rate() local
68 divider = parent_rate / rate; in clk_fixup_div_set_rate()
71 value = divider - 1; in clk_fixup_div_set_rate()
116 fixup_div->divider.reg = reg; in imx_clk_fixup_divider()
117 fixup_div->divider.shift = shift; in imx_clk_fixup_divider()
[all …]
/arch/arm/boot/dts/
Domap54xx-clocks.dtsi120 compatible = "ti,divider-clock";
137 compatible = "ti,divider-clock";
146 compatible = "ti,divider-clock";
163 compatible = "ti,divider-clock";
185 compatible = "ti,divider-clock";
210 compatible = "ti,divider-clock";
219 compatible = "ti,divider-clock";
228 compatible = "ti,divider-clock";
237 compatible = "ti,divider-clock";
246 compatible = "ti,divider-clock";
[all …]
Ddra7xx-clocks.dtsi206 compatible = "ti,divider-clock";
217 compatible = "ti,divider-clock";
226 compatible = "ti,divider-clock";
237 compatible = "ti,divider-clock";
269 compatible = "ti,divider-clock";
295 compatible = "ti,divider-clock";
337 compatible = "ti,divider-clock";
371 compatible = "ti,divider-clock";
405 compatible = "ti,divider-clock";
416 compatible = "ti,divider-clock";
[all …]
Domap44xx-clocks.dtsi151 compatible = "ti,divider-clock";
170 compatible = "ti,divider-clock";
179 compatible = "ti,divider-clock";
188 compatible = "ti,divider-clock";
220 compatible = "ti,divider-clock";
231 compatible = "ti,divider-clock";
250 compatible = "ti,divider-clock";
261 compatible = "ti,divider-clock";
269 compatible = "ti,divider-clock";
278 compatible = "ti,divider-clock";
[all …]
Dam33xx-clocks.dtsi181 compatible = "ti,divider-clock";
190 compatible = "ti,divider-clock";
199 compatible = "ti,divider-clock";
215 compatible = "ti,divider-clock";
231 compatible = "ti,divider-clock";
255 compatible = "ti,divider-clock";
272 compatible = "ti,divider-clock";
558 compatible = "ti,divider-clock";
573 compatible = "ti,divider-clock";
614 compatible = "ti,divider-clock";
[all …]
Dam43xx-clocks.dtsi213 compatible = "ti,divider-clock";
224 compatible = "ti,divider-clock";
235 compatible = "ti,divider-clock";
253 compatible = "ti,divider-clock";
271 compatible = "ti,divider-clock";
289 compatible = "ti,divider-clock";
308 compatible = "ti,divider-clock";
568 compatible = "ti,divider-clock";
591 compatible = "ti,divider-clock";
667 compatible = "ti,divider-clock";
[all …]
Domap3xxx-clocks.dtsi26 compatible = "ti,divider-clock";
204 compatible = "ti,divider-clock";
245 compatible = "ti,divider-clock";
292 compatible = "ti,divider-clock";
310 compatible = "ti,divider-clock";
335 compatible = "ti,divider-clock";
360 compatible = "ti,divider-clock";
419 compatible = "ti,divider-clock";
447 compatible = "ti,divider-clock";
475 compatible = "ti,divider-clock";
[all …]
Domap446x-clocks.dtsi13 compatible = "ti,divider-clock";
Domap3430es1-clocks.dtsi21 compatible = "ti,divider-clock";
78 compatible = "ti,composite-divider-clock";
141 compatible = "ti,composite-divider-clock";
Domap2420-clocks.dtsi36 compatible = "ti,divider-clock";
54 compatible = "ti,composite-divider-clock";
78 compatible = "ti,composite-divider-clock";
Domap24xx-clocks.dtsi104 compatible = "ti,divider-clock";
218 compatible = "ti,divider-clock";
236 compatible = "ti,divider-clock";
253 compatible = "ti,composite-divider-clock";
266 compatible = "ti,divider-clock";
283 compatible = "ti,composite-divider-clock";
306 compatible = "ti,composite-divider-clock";
329 compatible = "ti,divider-clock";
485 compatible = "ti,composite-divider-clock";
507 compatible = "ti,composite-divider-clock";
Dnspire-classic.dtsi51 compatible = "lsi,nspire-classic-ahb-divider";
Dk2e-clocks.dtsi17 reg-names = "control", "multiplier", "post-divider";
Domap34xx-omap36xx-clocks.dtsi158 compatible = "ti,divider-clock";
178 compatible = "ti,divider-clock";
Dnspire-cx.dts43 compatible = "lsi,nspire-cx-ahb-divider";
Domap2430-clocks.dtsi65 compatible = "ti,composite-divider-clock";
89 compatible = "ti,composite-divider-clock";
Dsocfpga.dtsi285 fixed-divider = <4>;
292 fixed-divider = <2>;
306 fixed-divider = <1>;
466 fixed-divider = <4>;
Dimx35-eukrea-mbimxsd35-baseboard.dts162 external-vbus-divider;
Dimx25-eukrea-mbimxsd25-baseboard.dts184 external-vbus-divider;
Domap36xx-omap3430es2plus-clocks.dtsi21 compatible = "ti,composite-divider-clock";
Dkeystone-clocks.dtsi46 compatible = "ti,keystone,pll-divider-clock";
56 compatible = "ti,keystone,pll-divider-clock";
/arch/m68k/coldfire/
Dm53xx.c579 int divider; in get_sys_clock() local
583 divider = readw(MCF_CCM_CDR) & MCF_CCM_CDR_LPDIV(0xF); in get_sys_clock()
584 return (FREF/(2 << divider)); in get_sys_clock()
/arch/mips/include/asm/sgi/
Dmc.h57 volatile u32 divider; /* Divider reg for RPSS */ member
/arch/mips/sgi-ip22/
Dip22-mc.c171 sgimc->divider = 0x101; in sgimc_init()
/arch/arm/mach-lpc32xx/
Dclock.c861 u32 divider; in adc_onoff_enable() local
870 divider = clk->get_rate(clk) / 4500000 + 1; in adc_onoff_enable()
871 tmp |= divider; in adc_onoff_enable()
875 clk->rate = clk->get_rate(clk->parent) / divider; in adc_onoff_enable()

12