Lines Matching refs:mainpll_cfg
20 struct mainpll_cfg { struct
80 { "vco0-psrc", offsetof(struct mainpll_cfg, vco0_psrc) },
81 { "vco1-denom", offsetof(struct mainpll_cfg, vco1_denom) },
82 { "vco1-numer", offsetof(struct mainpll_cfg, vco1_numer) },
83 { "mpuclk-cnt", offsetof(struct mainpll_cfg, mpuclk_cnt) },
84 { "mpuclk-src", offsetof(struct mainpll_cfg, mpuclk_src) },
85 { "nocclk-cnt", offsetof(struct mainpll_cfg, nocclk_cnt) },
86 { "nocclk-src", offsetof(struct mainpll_cfg, nocclk_src) },
87 { "cntr2clk-cnt", offsetof(struct mainpll_cfg, cntr2clk_cnt) },
88 { "cntr3clk-cnt", offsetof(struct mainpll_cfg, cntr3clk_cnt) },
89 { "cntr4clk-cnt", offsetof(struct mainpll_cfg, cntr4clk_cnt) },
90 { "cntr5clk-cnt", offsetof(struct mainpll_cfg, cntr5clk_cnt) },
91 { "cntr6clk-cnt", offsetof(struct mainpll_cfg, cntr6clk_cnt) },
92 { "cntr7clk-cnt", offsetof(struct mainpll_cfg, cntr7clk_cnt) },
93 { "cntr7clk-src", offsetof(struct mainpll_cfg, cntr7clk_src) },
94 { "cntr8clk-cnt", offsetof(struct mainpll_cfg, cntr8clk_cnt) },
95 { "cntr9clk-cnt", offsetof(struct mainpll_cfg, cntr9clk_cnt) },
96 { "cntr9clk-src", offsetof(struct mainpll_cfg, cntr9clk_src) },
97 { "cntr15clk-cnt", offsetof(struct mainpll_cfg, cntr15clk_cnt) },
98 { "nocdiv-l4mainclk", offsetof(struct mainpll_cfg, nocdiv_l4mainclk) },
99 { "nocdiv-l4mpclk", offsetof(struct mainpll_cfg, nocdiv_l4mpclk) },
100 { "nocdiv-l4spclk", offsetof(struct mainpll_cfg, nocdiv_l4spclk) },
101 { "nocdiv-csatclk", offsetof(struct mainpll_cfg, nocdiv_csatclk) },
102 { "nocdiv-cstraceclk", offsetof(struct mainpll_cfg, nocdiv_cstraceclk) },
103 { "nocdiv-cspdbgclk", offsetof(struct mainpll_cfg, nocdiv_cspdbclk) },
131 { "nocclk", offsetof(struct mainpll_cfg, nocclk) },
132 { "mpuclk", offsetof(struct mainpll_cfg, mpuclk) },
187 static int of_get_clk_cfg(const void *blob, struct mainpll_cfg *main_cfg, in of_get_clk_cfg()
239 (struct mainpll_cfg *main_cfg) in cm_calc_handoff_main_vco_clk_hz()
267 struct mainpll_cfg *main_cfg, struct perpll_cfg *per_cfg) in cm_calc_handoff_periph_vco_clk_hz()
298 static unsigned int cm_calc_handoff_mpu_clk_hz(struct mainpll_cfg *main_cfg, in cm_calc_handoff_mpu_clk_hz()
334 static unsigned int cm_calc_handoff_noc_clk_hz(struct mainpll_cfg *main_cfg, in cm_calc_handoff_noc_clk_hz()
371 struct mainpll_cfg *main_cfg, in cm_is_pll_ramp_required()
433 static u32 cm_calculate_numer(struct mainpll_cfg *main_cfg, in cm_calculate_numer()
484 struct mainpll_cfg *main_cfg, in cm_calc_safe_pll_numer()
533 static void cm_pll_ramp_main(struct mainpll_cfg *main_cfg, in cm_pll_ramp_main()
565 static void cm_pll_ramp_periph(struct mainpll_cfg *main_cfg, in cm_pll_ramp_periph()
633 static int cm_full_cfg(struct mainpll_cfg *main_cfg, struct perpll_cfg *per_cfg) in cm_full_cfg()
910 struct mainpll_cfg main_cfg; in cm_basic_init()