xref: /linux/drivers/misc/altera-stapl/altera-exprt.h (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
1 /*
2  * altera-exprt.h
3  *
4  * altera FPGA driver
5  *
6  * Copyright (C) Altera Corporation 1998-2001
7  * Copyright (C) 2010 NetUP Inc.
8  * Copyright (C) 2010 Igor M. Liplianin <liplianin@netup.ru>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  */
25 
26 #ifndef ALTERA_EXPRT_H
27 #define ALTERA_EXPRT_H
28 
29 
30 u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version);
31 int netup_jtag_io_lpt(void *device, int tms, int tdi, int read_tdo);
32 
33 #endif /* ALTERA_EXPRT_H */
34