Searched refs:pdr0 (Results 1 – 6 of 6) sorted by relevance
68 static u32 get_arm_div(u32 pdr0, u32 *fi, u32 *fd) in get_arm_div() argument71 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() argument105 ((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() local147 return freq / (get_ahb_div(pdr0) * 2); in get_ipg_clk()[all …]
53 u32 pdr0 = readl(CCM_PDR0); in mx31_get_ipg_clk() local55 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() local67 freq /= GET_PDR0_HSP_PODF(pdr0) + 1; in mx31_get_hsp_clk()
148 writel(0x00001000, &ccm->pdr0); in board_early_init_f()
210 u32 pdr0; /* Post divider 0 */ member
103 DEFINE(CLKCTL_PDR0, offsetof(struct ccm_regs, pdr0)); in main()
15 u32 pdr0; member