Lines Matching refs:ctrl_val0
230 unsigned int pll_post_div, ctrl_val0, ctrl_val1, denom; in nlm_xlp2_get_core_frequency() local
235 ctrl_val0 = nlm_read_sys_reg(clockbase, in nlm_xlp2_get_core_frequency()
241 ctrl_val0 = nlm_read_sys_reg(sysbase, in nlm_xlp2_get_core_frequency()
248 switch ((ctrl_val0 >> 24) & 0x7) { in nlm_xlp2_get_core_frequency()
310 u32 ctrl_val0, ctrl_val2, vco_post_div, pll_post_div, cpu_xlp9xx; in nlm_xlp2_get_pic_frequency() local
350 ctrl_val0 = nlm_read_sys_reg(clockbase, in nlm_xlp2_get_pic_frequency()
356 ctrl_val0 = nlm_read_sys_reg(clockbase, in nlm_xlp2_get_pic_frequency()
362 ctrl_val0 = nlm_read_sys_reg(clockbase, in nlm_xlp2_get_pic_frequency()
368 ctrl_val0 = nlm_read_sys_reg(clockbase, in nlm_xlp2_get_pic_frequency()
379 ctrl_val0 = nlm_read_sys_reg(sysbase, in nlm_xlp2_get_pic_frequency()
385 ctrl_val0 = nlm_read_sys_reg(sysbase, in nlm_xlp2_get_pic_frequency()
391 ctrl_val0 = nlm_read_sys_reg(sysbase, in nlm_xlp2_get_pic_frequency()
397 ctrl_val0 = nlm_read_sys_reg(sysbase, in nlm_xlp2_get_pic_frequency()
405 vco_post_div = (ctrl_val0 >> 5) & 0x7; in nlm_xlp2_get_pic_frequency()
406 pll_post_div = (ctrl_val0 >> 24) & 0x7; in nlm_xlp2_get_pic_frequency()