Searched refs:pdr0 (Results 1 – 6 of 6) sorted by relevance
76 if (pdr0 & MXC_CCM_PDR0_AUTO_CON) { in get_arm_div()94 if (pdr0 & MXC_CCM_PDR0_AUTO_CON) { in get_arm_div()105 static int get_ahb_div(u32 pdr0) in get_ahb_div() argument110 ((pdr0 & MXC_CCM_PDR0_CON_MUX_DIV_MASK) >> in get_ahb_div()150 u32 pdr0 = readl(&ccm->pdr0); in get_ipg_clk() local152 return freq / (get_ahb_div(pdr0) * 2); in get_ipg_clk()160 u32 pdr0 = readl(&ccm->pdr0); in get_ipg_per_clk() local163 if (pdr0 & MXC_CCM_PDR0_PER_SEL) { in get_ipg_per_clk()168 div = CCM_GET_DIVIDER(pdr0, in get_ipg_per_clk()171 div *= get_ahb_div(pdr0); in get_ipg_per_clk()[all …]
54 u32 pdr0 = readl(CCM_PDR0); in mx31_get_ipg_clk() local56 freq /= GET_PDR0_MAX_PODF(pdr0) + 1; in mx31_get_ipg_clk()57 freq /= GET_PDR0_IPG_PODF(pdr0) + 1; in mx31_get_ipg_clk()66 u32 pdr0 = readl(CCM_PDR0); in mx31_get_hsp_clk() local68 freq /= GET_PDR0_HSP_PODF(pdr0) + 1; in mx31_get_hsp_clk()
152 writel(0x00001000, &ccm->pdr0); in board_early_init_f()
192 u32 pdr0; /* Post divider 0 */ member
103 DEFINE(CLKCTL_PDR0, offsetof(struct ccm_regs, pdr0)); in main()
15 u32 pdr0; member
Completed in 14 milliseconds