Home
last modified time | relevance | path

Searched refs:brg_clk (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/arch/powerpc/include/asm/
H A Dglobal_data.h22 unsigned long brg_clk; member
29 unsigned long brg_clk; member
80 u32 brg_clk; member
/openbmc/linux/drivers/soc/fsl/qe/
H A Dqe.c155 static unsigned int brg_clk = 0; variable
166 if (brg_clk) in qe_get_brg_clk()
167 return brg_clk; in qe_get_brg_clk()
171 return brg_clk; in qe_get_brg_clk()
174 brg_clk = brg; in qe_get_brg_clk()
179 mod = brg_clk % CLK_GRAN; in qe_get_brg_clk()
182 brg_clk -= mod; in qe_get_brg_clk()
184 brg_clk += CLK_GRAN - mod; in qe_get_brg_clk()
187 return brg_clk; in qe_get_brg_clk()
/openbmc/u-boot/drivers/qe/
H A Dfdt.c64 "brg-frequency", gd->arch.brg_clk, 1); in ft_qe_setup()
70 "brg-frequency", gd->arch.brg_clk, 1); in ft_qe_setup()
H A Dqe.c352 #define BRG_CLK (gd->arch.brg_clk)
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspeed.c123 u32 brg_clk; in get_clocks() local
447 brg_clk = qe_clk / 2; in get_clocks()
484 gd->arch.brg_clk = brg_clk; in get_clocks()
532 strmhz(buf, gd->arch.brg_clk)); in do_clocks()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dfdt.c25 gd->arch.brg_clk, 1); in ft_cpu_setup()
H A Dspeed.c39 gd->arch.brg_clk = gd->cpu_clk / divider; in get_clocks()
/openbmc/u-boot/arch/arm/include/asm/
H A Dglobal_data.h18 u32 brg_clk; member
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcommproc.c114 #define BRG_INT_CLK gd->arch.brg_clk
H A Dspeed.c643 gd->arch.brg_clk = gd->arch.qe_clk / 2; in get_clocks()
690 gd->arch.brg_clk = gd->arch.vco_out / (1 << (2 * (dfbrg + 1))); in get_clocks()
/openbmc/u-boot/common/
H A Dboard_f.c624 bd->bi_brgfreq = gd->arch.brg_clk; in setup_board_part2()