Lines Matching full:clks

62 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()
197 clks[clk0] = clk_register_gate(NULL, clk_name0, div_name, in zynq_clk_register_periph_clk()
200 clks[clk1] = clk_register_gate(NULL, clk_name1, div_name, in zynq_clk_register_periph_clk()
209 clks[clk0] = ERR_PTR(-ENOMEM); in zynq_clk_register_periph_clk()
211 clks[clk1] = ERR_PTR(-ENOMEM); in zynq_clk_register_periph_clk()
260 clks[armpll] = clk_register_mux(NULL, clk_output_name[armpll], in zynq_clk_setup()
266 clks[ddrpll] = clk_register_mux(NULL, clk_output_name[ddrpll], in zynq_clk_setup()
272 clks[iopll] = clk_register_mux(NULL, clk_output_name[iopll], in zynq_clk_setup()
285 clks[cpu_6or4x] = clk_register_gate(NULL, clk_output_name[cpu_6or4x], in zynq_clk_setup()
291 clks[cpu_3or2x] = clk_register_gate(NULL, clk_output_name[cpu_3or2x], in zynq_clk_setup()
297 clks[cpu_2x] = clk_register_gate(NULL, clk_output_name[cpu_2x], in zynq_clk_setup()
300 clk_prepare_enable(clks[cpu_2x]); in zynq_clk_setup()
304 clks[cpu_1x] = clk_register_gate(NULL, clk_output_name[cpu_1x], in zynq_clk_setup()
319 clks[swdt] = clk_register_mux(NULL, clk_output_name[swdt], in zynq_clk_setup()
328 clks[ddr2x] = clk_register_gate(NULL, clk_output_name[ddr2x], in zynq_clk_setup()
330 clk_prepare_enable(clks[ddr2x]); in zynq_clk_setup()
334 clks[ddr3x] = clk_register_gate(NULL, clk_output_name[ddr3x], in zynq_clk_setup()
336 clk_prepare_enable(clks[ddr3x]); in zynq_clk_setup()
345 clks[dci] = clk_register_gate(NULL, clk_output_name[dci], "dci_div1", in zynq_clk_setup()
348 clk_prepare_enable(clks[dci]); in zynq_clk_setup()
401 clks[gem0] = clk_register_gate(NULL, clk_output_name[gem0], in zynq_clk_setup()
426 clks[gem1] = clk_register_gate(NULL, clk_output_name[gem1], in zynq_clk_setup()
465 clks[can0] = clk_register_mux(NULL, clk_output_name[can0], in zynq_clk_setup()
469 clks[can1] = clk_register_mux(NULL, clk_output_name[can1], in zynq_clk_setup()
490 clks[dbg_trc] = clk_register_gate(NULL, clk_output_name[dbg_trc], in zynq_clk_setup()
493 clks[dbg_apb] = clk_register_gate(NULL, clk_output_name[dbg_apb], in zynq_clk_setup()
500 if (clk_prepare_enable(clks[dbg_trc])) in zynq_clk_setup()
503 if (clk_prepare_enable(clks[dbg_apb])) in zynq_clk_setup()
507 clks[dma] = clk_register_gate(NULL, clk_output_name[dma], in zynq_clk_setup()
510 clks[usb0_aper] = clk_register_gate(NULL, clk_output_name[usb0_aper], in zynq_clk_setup()
513 clks[usb1_aper] = clk_register_gate(NULL, clk_output_name[usb1_aper], in zynq_clk_setup()
516 clks[gem0_aper] = clk_register_gate(NULL, clk_output_name[gem0_aper], in zynq_clk_setup()
519 clks[gem1_aper] = clk_register_gate(NULL, clk_output_name[gem1_aper], in zynq_clk_setup()
522 clks[sdio0_aper] = clk_register_gate(NULL, clk_output_name[sdio0_aper], in zynq_clk_setup()
525 clks[sdio1_aper] = clk_register_gate(NULL, clk_output_name[sdio1_aper], in zynq_clk_setup()
528 clks[spi0_aper] = clk_register_gate(NULL, clk_output_name[spi0_aper], in zynq_clk_setup()
531 clks[spi1_aper] = clk_register_gate(NULL, clk_output_name[spi1_aper], in zynq_clk_setup()
534 clks[can0_aper] = clk_register_gate(NULL, clk_output_name[can0_aper], in zynq_clk_setup()
537 clks[can1_aper] = clk_register_gate(NULL, clk_output_name[can1_aper], in zynq_clk_setup()
540 clks[i2c0_aper] = clk_register_gate(NULL, clk_output_name[i2c0_aper], in zynq_clk_setup()
543 clks[i2c1_aper] = clk_register_gate(NULL, clk_output_name[i2c1_aper], in zynq_clk_setup()
546 clks[uart0_aper] = clk_register_gate(NULL, clk_output_name[uart0_aper], in zynq_clk_setup()
549 clks[uart1_aper] = clk_register_gate(NULL, clk_output_name[uart1_aper], in zynq_clk_setup()
552 clks[gpio_aper] = clk_register_gate(NULL, clk_output_name[gpio_aper], in zynq_clk_setup()
555 clks[lqspi_aper] = clk_register_gate(NULL, clk_output_name[lqspi_aper], in zynq_clk_setup()
558 clks[smc_aper] = clk_register_gate(NULL, clk_output_name[smc_aper], in zynq_clk_setup()
562 for (i = 0; i < ARRAY_SIZE(clks); i++) { in zynq_clk_setup()
563 if (IS_ERR(clks[i])) { in zynq_clk_setup()
565 i, PTR_ERR(clks[i])); in zynq_clk_setup()
570 clk_data.clks = clks; in zynq_clk_setup()
571 clk_data.clk_num = ARRAY_SIZE(clks); in zynq_clk_setup()