Home
last modified time | relevance | path

Searched refs:pdr0 (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/arch/arm/cpu/arm1136/mx35/
Dgeneric.c68 static u32 get_arm_div(u32 pdr0, u32 *fi, u32 *fd) in get_arm_div() argument
71 if (pdr0 & MXC_CCM_PDR0_AUTO_CON) { in get_arm_div()
73 ((pdr0 & MXC_CCM_PDR0_CON_MUX_DIV_MASK) >> in get_arm_div()
77 ((pdr0 & MXC_CCM_PDR0_AUTO_MUX_DIV_MASK) >> in get_arm_div()
89 if (pdr0 & MXC_CCM_PDR0_AUTO_CON) { in get_arm_div()
100 static int get_ahb_div(u32 pdr0) in get_ahb_div() argument
105 ((pdr0 & MXC_CCM_PDR0_CON_MUX_DIV_MASK) >> in get_ahb_div()
135 arm_div = get_arm_div(readl(&ccm->pdr0), &fi, &fd); in get_mcu_main_clk()
145 u32 pdr0 = readl(&ccm->pdr0); in get_ipg_clk() local
147 return freq / (get_ahb_div(pdr0) * 2); in get_ipg_clk()
[all …]
/external/u-boot/arch/arm/cpu/arm1136/mx31/
Dgeneric.c53 u32 pdr0 = readl(CCM_PDR0); in mx31_get_ipg_clk() local
55 freq /= GET_PDR0_MAX_PODF(pdr0) + 1; in mx31_get_ipg_clk()
56 freq /= GET_PDR0_IPG_PODF(pdr0) + 1; in mx31_get_ipg_clk()
65 u32 pdr0 = readl(CCM_PDR0); in mx31_get_hsp_clk() local
67 freq /= GET_PDR0_HSP_PODF(pdr0) + 1; in mx31_get_hsp_clk()
/external/u-boot/board/CarMediaLab/flea3/
Dflea3.c148 writel(0x00001000, &ccm->pdr0); in board_early_init_f()
/external/u-boot/arch/arm/include/asm/arch-mx35/
Dimx-regs.h210 u32 pdr0; /* Post divider 0 */ member
/external/u-boot/arch/arm/lib/
Dasm-offsets.c103 DEFINE(CLKCTL_PDR0, offsetof(struct ccm_regs, pdr0)); in main()
/external/u-boot/arch/arm/include/asm/arch-mx31/
Dimx-regs.h15 u32 pdr0; member