quadEM  7-0
pl_ioctl.h
Go to the documentation of this file.
1 #include <linux/ioctl.h>
2 
3 #define TRIGGER_DMA_TRANSFER _IO('p', 1)
4 #define DMA_STATUS _IOR('p', 2, pldrv_io_t *)
5 #define SET_DMA_CONTROL _IOW('p', 3, pldrv_io_t *)
6 #define DEBUG _IOW('p', 4, pldrv_io_t *)
7 #define SET_BURST_LENGTH _IOW('p', 5, pldrv_io_t *)
8 #define SET_BUFF_LENGTH _IOW('p', 6, pldrv_io_t *)
9 #define SET_RATE _IOW('p', 7, pldrv_io_t *)
10 #define READ_REG _IOWR('p', 8, pldrv_io_t *)
11 #define WRITE_REG _IOW('p', 9, pldrv_io_t *)
12 
13 typedef struct {
14  uint32_t address;
15  uint32_t data;
16 } pldrv_io_t;
uint32_t data
Definition: pl_ioctl.h:15
uint32_t address
Definition: pl_ioctl.h:14
Definition: pl_ioctl.h:13