rr_io.h 333 Bytes
Newer Older
1 2 3 4
#ifndef __RR_IO_H
#define __RR_IO_H

#include <stdint.h>
5
#include <rawrabbit.h>
6

7
int rr_bind(int a_fd);
8
int rr_init(int bus, int devfn);
9 10 11 12 13 14 15
int rr_writel(uint32_t data, uint32_t addr);
uint32_t rr_readl(uint32_t addr);
int rr_load_bitstream(const void *data, int size8);
int rr_load_bitstream_from_file(const char *file_name);

#endif