Home
last modified time | relevance | path

Searched refs:lcrr (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/board/sbc8548/
H A Dsbc8548.c60 uint clkdiv, lbc_mhz, lcrr = CONFIG_SYS_LBC_LCRR; in local_bus_init() local
68 debug("LCRR=0x%x, CD=%d, MHz=%d\n", lcrr, clkdiv, lbc_mhz); in local_bus_init()
84 lcrr &= ~LCRR_EADC; in local_bus_init()
85 lcrr |= LCRR_EADC_2; in local_bus_init()
93 lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
96 lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
98 out_be32(&lbc->lcrr, lcrr); in local_bus_init()
105 lcrr = in_be32(&lbc->lcrr); in local_bus_init()
/openbmc/u-boot/board/socrates/
H A Dsocrates.c141 uint lcrr = CONFIG_SYS_LBC_LCRR; in local_bus_init() local
144 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
149 lcrr &= ~LCRR_DBYP; /* DLL Enabled */ in local_bus_init()
151 lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
153 out_be32 (&lbc->lcrr, lcrr); in local_bus_init()
/openbmc/u-boot/board/freescale/mpc8555cds/
H A Dmpc8555cds.c249 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
253 lbc->lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
256 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
259 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
/openbmc/u-boot/board/freescale/mpc8541cds/
H A Dmpc8541cds.c251 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
255 lbc->lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
258 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
261 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspeed.c85 u32 lcrr; in get_clocks() local
394 lcrr = (im->im_lbc.lcrr & LCRR_CLKDIV) >> LCRR_CLKDIV_SHIFT; in get_clocks()
395 switch (lcrr) { in get_clocks()
399 lclk_clk = lbiu_clk / lcrr; in get_clocks()
H A Dcpu_init.c234 clrsetbits_be32(&im->im_lbc.lcrr, lcrr_mask, lcrr_val); in cpu_init_f()
235 __raw_readl(&im->im_lbc.lcrr); in cpu_init_f()
/openbmc/u-boot/board/freescale/mpc8569mds/
H A Dmpc8569mds.c294 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2; in local_bus_init()
304 out_be32(&lbc->lcrr, (u32)in_be32(&lbc->lcrr)| 0x00030000); in local_bus_init()
/openbmc/u-boot/board/freescale/mpc8568mds/
H A Dmpc8568mds.c136 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2; in local_bus_init()
147 lbc->lcrr |= 0x00030000; in local_bus_init()
/openbmc/u-boot/board/varisys/cyrus/
H A Dcyrus.c64 out_be32(&lbc->lcrr, 0x80000000 | CONFIG_SYS_LBC_LCRR); in board_early_init_r()
/openbmc/u-boot/board/freescale/mpc8548cds/
H A Dmpc8548cds.c73 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2; in local_bus_init()
84 lbc->lcrr |= 0x00030000; in local_bus_init()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dfsl_lbc.h471 #define get_lbc_lcrr() (in_be32(&(LBC_BASE_ADDR)->lcrr))
516 u32 lcrr; /* LBC Clock Ratio */ member
/openbmc/u-boot/board/esd/vme8349/
H A Dvme8349.c96 clrsetbits_be32(&im->im_lbc.lcrr, LBCR_LDIS, 0); in misc_init_r()
/openbmc/linux/arch/powerpc/include/asm/
H A Dfsl_lbc.h153 __be32 lcrr; /**< Clock Ratio Register */ member
/openbmc/u-boot/drivers/clk/
H A Dmpc83xx_clk.h303 u32 res = in_be32(&im->im_lbc.lcrr); in get_lcrr()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init.c879 clrsetbits_be32(&lbc->lcrr, LCRR_CLKDIV, CONFIG_SYS_LBC_LCRR); in cpu_init_r()
880 __raw_readl(&lbc->lcrr); in cpu_init_r()