Lines Matching refs:clk

49 static int da850_set_armrate(struct clk *clk, unsigned long rate);
50 static int da850_round_armrate(struct clk *clk, unsigned long rate);
51 static int da850_set_pll0rate(struct clk *clk, unsigned long armrate);
59 static struct clk ref_clk = {
65 static struct clk pll0_clk = {
73 static struct clk pll0_aux_clk = {
79 static struct clk pll0_sysclk1 = {
86 static struct clk pll0_sysclk2 = {
93 static struct clk pll0_sysclk3 = {
102 static struct clk pll0_sysclk4 = {
109 static struct clk pll0_sysclk5 = {
116 static struct clk pll0_sysclk6 = {
123 static struct clk pll0_sysclk7 = {
136 static struct clk pll1_clk = {
143 static struct clk pll1_aux_clk = {
149 static struct clk pll1_sysclk2 = {
156 static struct clk pll1_sysclk3 = {
163 static struct clk i2c0_clk = {
168 static struct clk timerp64_0_clk = {
173 static struct clk timerp64_1_clk = {
178 static struct clk arm_rom_clk = {
185 static struct clk tpcc0_clk = {
192 static struct clk tptc0_clk = {
199 static struct clk tptc1_clk = {
206 static struct clk tpcc1_clk = {
214 static struct clk tptc2_clk = {
222 static struct clk pruss_clk = {
228 static struct clk uart0_clk = {
234 static struct clk uart1_clk = {
242 static struct clk uart2_clk = {
250 static struct clk aintc_clk = {
257 static struct clk gpio_clk = {
264 static struct clk i2c1_clk = {
271 static struct clk emif3_clk = {
279 static struct clk arm_clk = {
288 static struct clk rmii_clk = {
293 static struct clk emac_clk = {
300 static struct clk mcasp_clk = {
308 static struct clk lcdc_clk = {
315 static struct clk mmcsd0_clk = {
321 static struct clk mmcsd1_clk = {
328 static struct clk aemif_clk = {
335 static struct clk usb11_clk = {
342 static struct clk usb20_clk = {
349 static struct clk spi0_clk = {
355 static struct clk spi1_clk = {
363 static struct clk vpif_clk = {
370 static struct clk sata_clk = {
378 static struct clk dsp_clk = {
386 static struct clk ehrpwm_clk = {
396 static void ehrpwm_tblck_enable(struct clk *clk) in ehrpwm_tblck_enable() argument
405 static void ehrpwm_tblck_disable(struct clk *clk) in ehrpwm_tblck_disable() argument
414 static struct clk ehrpwm_tbclk = {
421 static struct clk ecap_clk = {
913 struct clk *clk, *newparent = pllnum ? &pll1_sysclk2 : &pll0_sysclk2; in da850_set_async3_src() local
918 for (c = da850_clks; c->clk; c++) { in da850_set_async3_src()
919 clk = c->clk; in da850_set_async3_src()
920 if (clk->flags & DA850_CLK_ASYNC3) { in da850_set_async3_src()
921 ret = clk_set_parent(clk, newparent); in da850_set_async3_src()
923 clk->name); in da850_set_async3_src()
1093 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate() argument
1116 static int da850_set_armrate(struct clk *clk, unsigned long index) in da850_set_armrate() argument
1118 struct clk *pllclk = &pll0_clk; in da850_set_armrate()
1123 static int da850_set_pll0rate(struct clk *clk, unsigned long index) in da850_set_pll0rate() argument
1127 struct pll_data *pll = clk->pll_data; in da850_set_pll0rate()
1147 static int da850_set_armrate(struct clk *clk, unsigned long rate) in da850_set_armrate() argument
1152 static int da850_set_pll0rate(struct clk *clk, unsigned long armrate) in da850_set_pll0rate() argument
1157 static int da850_round_armrate(struct clk *clk, unsigned long rate) in da850_round_armrate() argument
1159 return clk->rate; in da850_round_armrate()