Home
last modified time | relevance | path

Searched refs:plat_ratio (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/
H A Dspl_minimal.c19 u32 plat_ratio; in board_init_f() local
28 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
29 plat_ratio >>= 1; in board_init_f()
30 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
H A Dspl.c27 u32 plat_ratio, bus_clk; in board_init_f() local
45 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
46 plat_ratio >>= 1; in board_init_f()
47 bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/board/Arcturus/ucp1020/
H A Dspl_minimal.c23 u32 plat_ratio; in board_init_f() local
32 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
33 plat_ratio >>= 1; in board_init_f()
34 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
H A Dspl.c35 u32 plat_ratio, bus_clk; in board_init_f() local
53 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
54 plat_ratio >>= 1; in board_init_f()
55 bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/board/freescale/c29xpcie/
H A Dspl_minimal.c19 u32 plat_ratio; in board_init_f() local
28 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
29 plat_ratio >>= 1; in board_init_f()
30 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
H A Dspl.c23 u32 plat_ratio; in board_init_f() local
29 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
30 plat_ratio >>= 1; in board_init_f()
31 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/board/freescale/p1010rdb/
H A Dspl_minimal.c20 u32 plat_ratio; in board_init_f() local
29 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
30 plat_ratio >>= 1; in board_init_f()
31 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
H A Dspl.c26 u32 plat_ratio; in board_init_f() local
40 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
41 plat_ratio >>= 1; in board_init_f()
42 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dspeed.c25 uint plat_ratio, e600_ratio; in get_sys_info() local
27 plat_ratio = (gur->porpllsr) & 0x0000003e; in get_sys_info()
28 plat_ratio >>= 1; in get_sys_info()
30 switch (plat_ratio) { in get_sys_info()
44 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info()
/openbmc/u-boot/board/freescale/bsc9131rdb/
H A Dspl_minimal.c63 u32 plat_ratio; in board_init_f() local
67 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
68 plat_ratio >>= 1; in board_init_f()
69 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/board/freescale/p1022ds/
H A Dspl_minimal.c22 u32 plat_ratio, sys_clk, bus_clk; in board_init_f() local
36 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
37 bus_clk = sys_clk * plat_ratio / 2; in board_init_f()
H A Dspl.c34 u32 plat_ratio, sys_clk, bus_clk; in board_init_f() local
55 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
56 bus_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t4rdb/
H A Dspl.c42 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
58 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
59 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/bsc9132qds/
H A Dspl_minimal.c75 u32 plat_ratio; in board_init_f() local
79 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f()
80 plat_ratio >>= 1; in board_init_f()
81 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
/openbmc/u-boot/board/freescale/b4860qds/
H A Dspl.c55 u32 plat_ratio, sys_clk, uart_clk; in board_init_f() local
71 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
72 uart_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dspl.c36 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
49 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
50 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t208xqds/
H A Dspl.c66 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
79 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
80 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t104xrdb/
H A Dspl.c38 u32 plat_ratio, sys_clk, uart_clk; in board_init_f() local
79 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
80 uart_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t4qds/
H A Dspl.c67 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
91 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
92 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t102xrdb/
H A Dspl.c61 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
80 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
81 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/board/freescale/t102xqds/
H A Dspl.c66 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local
93 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f()
94 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dspeed.c562 uint plat_ratio, e500_ratio, half_freq_systembus; in get_sys_info() local
568 plat_ratio = (gur->porpllsr) & 0x0000003e; in get_sys_info()
569 plat_ratio >>= 1; in get_sys_info()
570 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info()