/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/ |
H A D | spl_minimal.c | 19 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 D | spl.c | 27 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 D | spl_minimal.c | 23 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 D | spl.c | 35 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 D | spl_minimal.c | 19 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 D | spl.c | 23 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 D | spl_minimal.c | 20 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 D | spl.c | 26 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 D | speed.c | 25 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 D | spl_minimal.c | 63 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 D | spl_minimal.c | 22 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 D | spl.c | 34 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 D | spl.c | 42 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 D | spl_minimal.c | 75 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 D | spl.c | 55 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 D | spl.c | 36 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 D | spl.c | 66 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 D | spl.c | 38 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 D | spl.c | 67 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 D | spl.c | 61 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 D | spl.c | 66 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 D | speed.c | 562 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()
|