Lines Matching refs:prcm
58 ind = (readl((*prcm)->cm_sys_clksel) & in __get_sys_clk_index()
327 (struct dpll_regs *)((*prcm)->cm_clkmode_dpll_mpu); in configure_mpu_dpll()
328 bypass_dpll((*prcm)->cm_clkmode_dpll_mpu); in configure_mpu_dpll()
329 clrbits_le32((*prcm)->cm_mpu_mpu_clkctrl, in configure_mpu_dpll()
331 setbits_le32((*prcm)->cm_mpu_mpu_clkctrl, in configure_mpu_dpll()
339 do_setup_dpll((*prcm)->cm_clkmode_dpll_mpu, params, DPLL_LOCK, "mpu"); in configure_mpu_dpll()
364 clrsetbits_le32((*prcm)->cm_clksel_dpll_usb, in setup_usb_dpll()
369 do_setup_dpll((*prcm)->cm_clkmode_dpll_usb, params, DPLL_LOCK, "usb"); in setup_usb_dpll()
390 do_setup_dpll((*prcm)->cm_clkmode_dpll_core, params, in setup_dplls()
393 do_setup_dpll((*prcm)->cm_clkmode_dpll_core, params, in setup_dplls()
399 writel(temp, (*prcm)->cm_clksel_core); in setup_dplls()
404 do_setup_dpll((*prcm)->cm_clkmode_dpll_per, in setup_dplls()
416 do_setup_dpll((*prcm)->cm_clkmode_dpll_ddrphy, in setup_dplls()
421 do_setup_dpll((*prcm)->cm_clkmode_dpll_gmac, params, in setup_dplls()
602 (*prcm)->prm_abbldo_mpu_setup, in scale_vcores()
603 (*prcm)->prm_abbldo_mpu_ctrl, in scale_vcores()
604 (*prcm)->prm_irqstatus_mpu_2, in scale_vcores()
615 (*prcm)->prm_abbldo_mm_setup, in scale_vcores()
616 (*prcm)->prm_abbldo_mm_ctrl, in scale_vcores()
617 (*prcm)->prm_irqstatus_mpu, in scale_vcores()
628 (*prcm)->prm_abbldo_gpu_setup, in scale_vcores()
629 (*prcm)->prm_abbldo_gpu_ctrl, in scale_vcores()
630 (*prcm)->prm_irqstatus_mpu, in scale_vcores()
641 (*prcm)->prm_abbldo_eve_setup, in scale_vcores()
642 (*prcm)->prm_abbldo_eve_ctrl, in scale_vcores()
643 (*prcm)->prm_irqstatus_mpu, in scale_vcores()
654 (*prcm)->prm_abbldo_iva_setup, in scale_vcores()
655 (*prcm)->prm_abbldo_iva_ctrl, in scale_vcores()
656 (*prcm)->prm_irqstatus_mpu, in scale_vcores()
741 enable_clock_domain((*prcm)->cm_memif_clkstctrl, in freq_update_core()
743 wait_for_clk_enable((*prcm)->cm_memif_emif_1_clkctrl); in freq_update_core()
744 wait_for_clk_enable((*prcm)->cm_memif_emif_2_clkctrl); in freq_update_core()
756 writel(freq_config1, (*prcm)->cm_shadow_freq_config1); in freq_update_core()
758 (u32 *) (*prcm)->cm_shadow_freq_config1, LDELAY)) { in freq_update_core()
770 enable_clock_domain((*prcm)->cm_memif_clkstctrl, in freq_update_core()
772 wait_for_clk_enable((*prcm)->cm_memif_emif_1_clkctrl); in freq_update_core()
773 wait_for_clk_enable((*prcm)->cm_memif_emif_2_clkctrl); in freq_update_core()
792 clrsetbits_le32((*prcm)->cm_l4per_clkstctrl, CD_CLKCTRL_CLKTRCTRL_MASK, in setup_clocks_for_console()
797 clrsetbits_le32((*prcm)->cm_l4per_uart1_clkctrl, in setup_clocks_for_console()
802 clrsetbits_le32((*prcm)->cm_l4per_uart2_clkctrl, in setup_clocks_for_console()
807 clrsetbits_le32((*prcm)->cm_l4per_uart3_clkctrl, in setup_clocks_for_console()
812 clrsetbits_le32((*prcm)->cm_l4per_uart4_clkctrl, in setup_clocks_for_console()
817 clrsetbits_le32((*prcm)->cm_l4per_clkstctrl, CD_CLKCTRL_CLKTRCTRL_MASK, in setup_clocks_for_console()