Lines Matching +full:fpga +full:- +full:based
2 * (C) Copyright 2002-2013
5 * based on the files by
10 * SPDX-License-Identifier: GPL-2.0+
14 #include <asm/arch/imx-regs.h>
19 #include "fpga.h"
45 xilinx_desc fpga[CONFIG_FPGA_COUNT] = { variable
84 * Set the FPGA's active-low program line to the specified level
88 debug("%s:%d: FPGA PROGRAM %s", __func__, __LINE__, in fpga_pgm_fn()
95 * Set the FPGA's active-high clock line to the specified level
99 debug("%s:%d: FPGA CLOCK %s", __func__, __LINE__, in fpga_clk_fn()
106 * Test the state of the active-low FPGA INIT line. Return 1 on INIT
123 * Test the state of the active-high FPGA DONE pin
133 * Set the FPGA's wr line to the specified level
137 debug("%s:%d: FPGA RW... %s ", __func__, __LINE__, in fpga_wr_fn()
145 debug("%s:%d: FPGA CS %s ", __func__, __LINE__, in fpga_cs_fn()
153 debug("%s:%d: FPGA READ DATA %02X ", __func__, __LINE__, in fpga_rdata_fn()
162 debug("%s:%d: FPGA WRITE DATA %02X ", __func__, __LINE__, in fpga_wdata_fn()
181 debug("%s:%d: FPGA POST ", __func__, __LINE__); in fpga_post_fn()
198 /* Configure FPGA CLKO */ in apf27_fpga_setup()
199 writel(ACFG_CCSR_VAL, &pll->ccsr); in apf27_fpga_setup()
201 /* Configure strentgh for FPGA */ in apf27_fpga_setup()
202 writel(ACFG_DSCR10_VAL, &system->dscr10); in apf27_fpga_setup()
203 writel(ACFG_DSCR3_VAL, &system->dscr3); in apf27_fpga_setup()
204 writel(ACFG_DSCR7_VAL, &system->dscr7); in apf27_fpga_setup()
205 writel(ACFG_DSCR2_VAL, &system->dscr2); in apf27_fpga_setup()
209 * Initialize the fpga. Return 1 on success, 0 on failure.
220 debug("%s:%d: Adding fpga %d\n", __func__, __LINE__, i); in APF27_init_fpga()
221 fpga_add(fpga_xilinx, &fpga[i]); in APF27_init_fpga()