00001
00002
00003 int fpga_io_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
00004
00005 int fpga_io_open(void);
00006 int fpga_io_close (void);
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00027 ssize_t fpga_io_write (struct file * file, const char * buf, size_t count, loff_t *off);
00028 loff_t fpga_io_lseek (struct file * file, loff_t offset, int orig);
00029 ssize_t fpga_io_read (struct file * file, char * buf, size_t count, loff_t *off);
00030
00031 extern void fpga_table_write(unsigned long fpga_addr, unsigned long *data, int length);