Home
last modified time | relevance | path

Searched refs:pllinfo (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/
Dclock.c93 struct clk_pll_info *pllinfo = &tegra_pll_info_table[clkid]; in clock_ll_read_pll() local
102 *divm = (data >> pllinfo->m_shift) & pllinfo->m_mask; in clock_ll_read_pll()
103 *divn = (data >> pllinfo->n_shift) & pllinfo->n_mask; in clock_ll_read_pll()
104 *divp = (data >> pllinfo->p_shift) & pllinfo->p_mask; in clock_ll_read_pll()
107 *cpcon = (data >> pllinfo->kcp_shift) & pllinfo->kcp_mask; in clock_ll_read_pll()
108 *lfcon = (data >> pllinfo->kvco_shift) & pllinfo->kvco_mask; in clock_ll_read_pll()
117 struct clk_pll_info *pllinfo = &tegra_pll_info_table[clkid]; in clock_start_pll() local
142 misc_data &= ~(pllinfo->kcp_mask << pllinfo->kcp_shift); in clock_start_pll()
143 misc_data |= cpcon << pllinfo->kcp_shift; in clock_start_pll()
144 misc_data &= ~(pllinfo->kvco_mask << pllinfo->kvco_shift); in clock_start_pll()
[all …]
Dcpu.c173 struct clk_pll_info *pllinfo = &tegra_pll_info_table[CLOCK_ID_XCPU]; in pllx_set_rate() local
187 reg = PLL_BYPASS_MASK | (divm << pllinfo->m_shift); in pllx_set_rate()
188 reg |= (divn << pllinfo->n_shift) | (divp << pllinfo->p_shift); in pllx_set_rate()
193 reg = (cpcon << pllinfo->kcp_shift); in pllx_set_rate()
214 if (pllinfo->lock_ena < 32) in pllx_set_rate()
215 reg |= (1 << pllinfo->lock_ena); in pllx_set_rate()
/external/u-boot/arch/arm/mach-tegra/tegra114/
Dclock.c658 struct clk_pll_info *pllinfo; in clock_early_init() local
664 pllinfo = &tegra_pll_info_table[CLOCK_ID_CGENERAL]; in clock_early_init()
701 pllinfo = &tegra_pll_info_table[CLOCK_ID_CGENERAL]; in clock_early_init()
702 setbits_le32(&clkrst->crc_pll[CLOCK_ID_CGENERAL].pll_misc, (1 << pllinfo->lock_ena)); in clock_early_init()
706 pllinfo = &tegra_pll_info_table[CLOCK_ID_DISPLAY]; in clock_early_init()
707 data = (12 << pllinfo->kcp_shift) | (1 << pllinfo->kvco_shift); in clock_early_init()
708 data |= (1 << PLLD_CLKENABLE) | (1 << pllinfo->lock_ena); in clock_early_init()
Dcpu.c54 struct clk_pll_info *pllinfo = &tegra_pll_info_table[CLOCK_ID_XCPU]; in enable_cpu_clocks() local
62 } while ((reg & (1 << pllinfo->lock_det)) == 0); in enable_cpu_clocks()
/external/u-boot/arch/arm/mach-tegra/tegra124/
Dclock.c838 struct clk_pll_info *pllinfo; in clock_early_init() local
844 pllinfo = &tegra_pll_info_table[CLOCK_ID_CGENERAL]; in clock_early_init()
881 pllinfo = &tegra_pll_info_table[CLOCK_ID_CGENERAL]; in clock_early_init()
882 setbits_le32(&clkrst->crc_pll[CLOCK_ID_CGENERAL].pll_misc, (1 << pllinfo->lock_ena)); in clock_early_init()
886 pllinfo = &tegra_pll_info_table[CLOCK_ID_DISPLAY]; in clock_early_init()
887 data = (12 << pllinfo->kcp_shift) | (1 << pllinfo->kvco_shift); in clock_early_init()
888 data |= (1 << PLLD_CLKENABLE) | (1 << pllinfo->lock_ena); in clock_early_init()
Dcpu.c47 struct clk_pll_info *pllinfo = &tegra_pll_info_table[CLOCK_ID_XCPU]; in enable_cpu_clocks() local
56 } while ((reg & (1 << pllinfo->lock_det)) == 0); in enable_cpu_clocks()
/external/u-boot/arch/arm/mach-tegra/tegra210/
Dclock.c973 struct clk_pll_info *pllinfo = &tegra_pll_info_table[CLOCK_ID_DISPLAY]; in clock_early_init() local
1028 data = (1 << PLLD_ENABLE_CLK) | (1 << pllinfo->lock_ena); in clock_early_init()