• Home
  • Raw
  • Download

Lines Matching refs:clks

61 static struct clk *clks[clk_max];  variable
147 clks[fclk] = clk_register_gate(NULL, clk_name, in zynq_clk_register_fclk()
152 if (clk_prepare_enable(clks[fclk])) in zynq_clk_register_fclk()
171 clks[fclk] = ERR_PTR(-ENOMEM); in zynq_clk_register_fclk()
198 clks[clk0] = clk_register_gate(NULL, clk_name0, div_name, in zynq_clk_register_periph_clk()
201 clks[clk1] = clk_register_gate(NULL, clk_name1, div_name, in zynq_clk_register_periph_clk()
210 clks[clk0] = ERR_PTR(-ENOMEM); in zynq_clk_register_periph_clk()
212 clks[clk1] = ERR_PTR(-ENOMEM); in zynq_clk_register_periph_clk()
262 clks[armpll] = clk_register_mux(NULL, clk_output_name[armpll], in zynq_clk_setup()
268 clks[ddrpll] = clk_register_mux(NULL, clk_output_name[ddrpll], in zynq_clk_setup()
274 clks[iopll] = clk_register_mux(NULL, clk_output_name[iopll], in zynq_clk_setup()
287 clks[cpu_6or4x] = clk_register_gate(NULL, clk_output_name[cpu_6or4x], in zynq_clk_setup()
293 clks[cpu_3or2x] = clk_register_gate(NULL, clk_output_name[cpu_3or2x], in zynq_clk_setup()
299 clks[cpu_2x] = clk_register_gate(NULL, clk_output_name[cpu_2x], in zynq_clk_setup()
302 clk_prepare_enable(clks[cpu_2x]); in zynq_clk_setup()
306 clks[cpu_1x] = clk_register_gate(NULL, clk_output_name[cpu_1x], in zynq_clk_setup()
321 clks[swdt] = clk_register_mux(NULL, clk_output_name[swdt], in zynq_clk_setup()
330 clks[ddr2x] = clk_register_gate(NULL, clk_output_name[ddr2x], in zynq_clk_setup()
332 clk_prepare_enable(clks[ddr2x]); in zynq_clk_setup()
336 clks[ddr3x] = clk_register_gate(NULL, clk_output_name[ddr3x], in zynq_clk_setup()
338 clk_prepare_enable(clks[ddr3x]); in zynq_clk_setup()
347 clks[dci] = clk_register_gate(NULL, clk_output_name[dci], "dci_div1", in zynq_clk_setup()
350 clk_prepare_enable(clks[dci]); in zynq_clk_setup()
402 clks[gem0] = clk_register_gate(NULL, clk_output_name[gem0], in zynq_clk_setup()
427 clks[gem1] = clk_register_gate(NULL, clk_output_name[gem1], in zynq_clk_setup()
469 clks[can0] = clk_register_mux(NULL, clk_output_name[can0], in zynq_clk_setup()
473 clks[can1] = clk_register_mux(NULL, clk_output_name[can1], in zynq_clk_setup()
494 clks[dbg_trc] = clk_register_gate(NULL, clk_output_name[dbg_trc], in zynq_clk_setup()
497 clks[dbg_apb] = clk_register_gate(NULL, clk_output_name[dbg_apb], in zynq_clk_setup()
504 if (clk_prepare_enable(clks[dbg_trc])) in zynq_clk_setup()
507 if (clk_prepare_enable(clks[dbg_apb])) in zynq_clk_setup()
511 clks[dma] = clk_register_gate(NULL, clk_output_name[dma], in zynq_clk_setup()
514 clks[usb0_aper] = clk_register_gate(NULL, clk_output_name[usb0_aper], in zynq_clk_setup()
517 clks[usb1_aper] = clk_register_gate(NULL, clk_output_name[usb1_aper], in zynq_clk_setup()
520 clks[gem0_aper] = clk_register_gate(NULL, clk_output_name[gem0_aper], in zynq_clk_setup()
523 clks[gem1_aper] = clk_register_gate(NULL, clk_output_name[gem1_aper], in zynq_clk_setup()
526 clks[sdio0_aper] = clk_register_gate(NULL, clk_output_name[sdio0_aper], in zynq_clk_setup()
529 clks[sdio1_aper] = clk_register_gate(NULL, clk_output_name[sdio1_aper], in zynq_clk_setup()
532 clks[spi0_aper] = clk_register_gate(NULL, clk_output_name[spi0_aper], in zynq_clk_setup()
535 clks[spi1_aper] = clk_register_gate(NULL, clk_output_name[spi1_aper], in zynq_clk_setup()
538 clks[can0_aper] = clk_register_gate(NULL, clk_output_name[can0_aper], in zynq_clk_setup()
541 clks[can1_aper] = clk_register_gate(NULL, clk_output_name[can1_aper], in zynq_clk_setup()
544 clks[i2c0_aper] = clk_register_gate(NULL, clk_output_name[i2c0_aper], in zynq_clk_setup()
547 clks[i2c1_aper] = clk_register_gate(NULL, clk_output_name[i2c1_aper], in zynq_clk_setup()
550 clks[uart0_aper] = clk_register_gate(NULL, clk_output_name[uart0_aper], in zynq_clk_setup()
553 clks[uart1_aper] = clk_register_gate(NULL, clk_output_name[uart1_aper], in zynq_clk_setup()
556 clks[gpio_aper] = clk_register_gate(NULL, clk_output_name[gpio_aper], in zynq_clk_setup()
559 clks[lqspi_aper] = clk_register_gate(NULL, clk_output_name[lqspi_aper], in zynq_clk_setup()
562 clks[smc_aper] = clk_register_gate(NULL, clk_output_name[smc_aper], in zynq_clk_setup()
566 for (i = 0; i < ARRAY_SIZE(clks); i++) { in zynq_clk_setup()
567 if (IS_ERR(clks[i])) { in zynq_clk_setup()
569 i, PTR_ERR(clks[i])); in zynq_clk_setup()
574 clk_data.clks = clks; in zynq_clk_setup()
575 clk_data.clk_num = ARRAY_SIZE(clks); in zynq_clk_setup()