blob: 3810788a92d51750ded1e45322494bef4fd7c3e4 [file] [log] [blame]
Matthias Fuchs407843a2007-12-28 17:07:18 +01001/*
2 * (C) Copyright 2007
3 * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd-electronics.com
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Matthias Fuchs407843a2007-12-28 17:07:18 +01006 */
7
8extern int pmc440_init_fpga(void);
9
10extern int fpga_pgm_fn(int assert_pgm, int flush, int cookie);
11extern int fpga_init_fn(int cookie);
12extern int fpga_err_fn(int cookie);
13extern int fpga_done_fn(int cookie);
14extern int fpga_clk_fn(int assert_clk, int flush, int cookie);
15extern int fpga_cs_fn(int assert_cs, int flush, int cookie);
16extern int fpga_wr_fn(int assert_write, int flush, int cookie);
17extern int fpga_wdata_fn (uchar data, int flush, int cookie);
18extern int fpga_read_data_fn(unsigned char *data, int cookie);
19extern int fpga_write_data_fn(unsigned char data, int flush, int cookie);
20extern int fpga_busy_fn(int cookie);
21extern int fpga_abort_fn(int cookie );
22extern int fpga_pre_config_fn(int cookie );
23extern int fpga_post_config_fn(int cookie );
24
25extern int ngcc_fpga_pgm_fn(int assert_pgm, int flush, int cookie);
26extern int ngcc_fpga_init_fn(int cookie);
27extern int ngcc_fpga_done_fn(int cookie);
28extern int ngcc_fpga_clk_fn(int assert_clk, int flush, int cookie);
29extern int ngcc_fpga_wr_fn(int assert_write, int flush, int cookie);
30extern int ngcc_fpga_pre_config_fn(int cookie );
31extern int ngcc_fpga_post_config_fn(int cookie );