Searched refs:plat_ratio (Results 1 – 13 of 13) sorted by relevance
/u-boot/board/freescale/p1010rdb/ |
A D | spl_minimal.c | 21 u32 plat_ratio; in board_init_f() local 30 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f() 31 plat_ratio >>= 1; in board_init_f() 32 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
|
A D | spl.c | 30 u32 plat_ratio; in board_init_f() local 44 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f() 45 plat_ratio >>= 1; in board_init_f() 46 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
|
/u-boot/board/freescale/p1_p2_rdb_pc/ |
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()
|
A D | spl.c | 31 u32 plat_ratio, bus_clk; in board_init_f() local 49 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f() 50 plat_ratio >>= 1; in board_init_f() 51 bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
|
/u-boot/board/Arcturus/ucp1020/ |
A D | spl_minimal.c | 24 u32 plat_ratio; in board_init_f() local 33 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f() 34 plat_ratio >>= 1; in board_init_f() 35 gd->bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
|
A D | spl.c | 39 u32 plat_ratio, bus_clk; in board_init_f() local 57 plat_ratio = in_be32(&gur->porpllsr) & MPC85xx_PORPLLSR_PLAT_RATIO; in board_init_f() 58 plat_ratio >>= 1; in board_init_f() 59 bus_clk = CONFIG_SYS_CLK_FREQ * plat_ratio; in board_init_f()
|
/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | speed.c | 27 uint plat_ratio, e600_ratio; in get_sys_info() local 29 plat_ratio = (gur->porpllsr) & 0x0000003e; in get_sys_info() 30 plat_ratio >>= 1; in get_sys_info() 32 switch (plat_ratio) { in get_sys_info() 46 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info()
|
/u-boot/board/freescale/t4rdb/ |
A D | spl.c | 45 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local 61 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f() 62 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
|
/u-boot/board/freescale/t208xrdb/ |
A D | spl.c | 39 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local 52 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f() 53 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
|
/u-boot/board/freescale/t208xqds/ |
A D | spl.c | 69 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local 82 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f() 83 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
|
/u-boot/board/freescale/t104xrdb/ |
A D | spl.c | 41 u32 plat_ratio, sys_clk, uart_clk; in board_init_f() local 82 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f() 83 uart_clk = sys_clk * plat_ratio / 2; in board_init_f()
|
/u-boot/board/freescale/t102xrdb/ |
A D | spl.c | 64 u32 plat_ratio, sys_clk, ccb_clk; in board_init_f() local 83 plat_ratio = (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in board_init_f() 84 ccb_clk = sys_clk * plat_ratio / 2; in board_init_f()
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | speed.c | 521 uint plat_ratio, e500_ratio, half_freq_systembus; in get_sys_info() local 527 plat_ratio = (gur->porpllsr) & 0x0000003e; in get_sys_info() 528 plat_ratio >>= 1; in get_sys_info() 529 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info()
|
Completed in 12 milliseconds