ChimeraTK-DeviceAccess
03.18.00
|
#include <linux/ioctl.h>
#include <linux/types.h>
#include <sys/time.h>
Go to the source code of this file.
Classes | |
struct | device_rw |
struct | device_ioctrl_data |
struct | device_ioctrl_dma |
struct | device_ioctrl_time |
Macros | |
#define | RW_D8 0x0 |
#define | RW_D16 0x1 |
#define | RW_D32 0x2 |
#define | RW_DMA 0x3 |
#define | RW_INFO 0x4 |
#define | DMA_DATA_OFFSET 6 |
#define | DMA_DATA_OFFSET_BYTE 24 |
#define | PCIEDEV_DMA_SYZE 4096 |
#define | PCIEDEV_DMA_MIN_SYZE 128 |
#define | IOCTRL_R 0x00 |
#define | IOCTRL_W 0x01 |
#define | IOCTRL_ALL 0x02 |
#define | BAR0 0 |
#define | BAR1 1 |
#define | BAR2 2 |
#define | BAR3 3 |
#define | BAR4 4 |
#define | BAR5 5 |
#define | PCIEDOOCS_IOC '0' |
#define | PCIEDEV_PHYSICAL_SLOT _IOWR(PCIEDOOCS_IOC, 60, int) |
#define | PCIEDEV_DRIVER_VERSION _IOWR(PCIEDOOCS_IOC, 61, int) |
#define | PCIEDEV_FIRMWARE_VERSION _IOWR(PCIEDOOCS_IOC, 62, int) |
#define | PCIEDEV_GET_DMA_TIME _IOWR(PCIEDOOCS_IOC, 70, int) |
#define | PCIEDEV_WRITE_DMA _IOWR(PCIEDOOCS_IOC, 71, int) |
#define | PCIEDEV_READ_DMA _IOWR(PCIEDOOCS_IOC, 72, int) |
#define | PCIEDEV_SET_IRQ _IOWR(PCIEDOOCS_IOC, 73, int) |
#define | PCIEDOOCS_IOC_MINNR 60 |
#define | PCIEDOOCS_IOC_MAXNR 63 |
#define | PCIEDOOCS_IOC_DMA_MINNR 70 |
#define | PCIEDOOCS_IOC_DMA_MAXNR 74 |
Typedefs | |
typedef struct device_rw | device_rw |
typedef struct device_ioctrl_data | device_ioctrl_data |
typedef struct device_ioctrl_dma | device_ioctrl_dma |
typedef struct device_ioctrl_time | device_ioctrl_time |
#define BAR0 0 |
Definition at line 26 of file pciedev_io_compat.h.
#define BAR1 1 |
Definition at line 27 of file pciedev_io_compat.h.
#define BAR2 2 |
Definition at line 28 of file pciedev_io_compat.h.
#define BAR3 3 |
Definition at line 29 of file pciedev_io_compat.h.
#define BAR4 4 |
Definition at line 30 of file pciedev_io_compat.h.
#define BAR5 5 |
Definition at line 31 of file pciedev_io_compat.h.
#define DMA_DATA_OFFSET 6 |
Definition at line 17 of file pciedev_io_compat.h.
#define DMA_DATA_OFFSET_BYTE 24 |
Definition at line 18 of file pciedev_io_compat.h.
#define IOCTRL_ALL 0x02 |
Definition at line 24 of file pciedev_io_compat.h.
#define IOCTRL_R 0x00 |
Definition at line 22 of file pciedev_io_compat.h.
#define IOCTRL_W 0x01 |
Definition at line 23 of file pciedev_io_compat.h.
#define PCIEDEV_DMA_MIN_SYZE 128 |
Definition at line 20 of file pciedev_io_compat.h.
#define PCIEDEV_DMA_SYZE 4096 |
Definition at line 19 of file pciedev_io_compat.h.
#define PCIEDEV_DRIVER_VERSION _IOWR(PCIEDOOCS_IOC, 61, int) |
Definition at line 73 of file pciedev_io_compat.h.
#define PCIEDEV_FIRMWARE_VERSION _IOWR(PCIEDOOCS_IOC, 62, int) |
Definition at line 74 of file pciedev_io_compat.h.
#define PCIEDEV_GET_DMA_TIME _IOWR(PCIEDOOCS_IOC, 70, int) |
Definition at line 75 of file pciedev_io_compat.h.
#define PCIEDEV_PHYSICAL_SLOT _IOWR(PCIEDOOCS_IOC, 60, int) |
Definition at line 72 of file pciedev_io_compat.h.
#define PCIEDEV_READ_DMA _IOWR(PCIEDOOCS_IOC, 72, int) |
Definition at line 77 of file pciedev_io_compat.h.
#define PCIEDEV_SET_IRQ _IOWR(PCIEDOOCS_IOC, 73, int) |
Definition at line 78 of file pciedev_io_compat.h.
#define PCIEDEV_WRITE_DMA _IOWR(PCIEDOOCS_IOC, 71, int) |
Definition at line 76 of file pciedev_io_compat.h.
#define PCIEDOOCS_IOC '0' |
Definition at line 71 of file pciedev_io_compat.h.
#define PCIEDOOCS_IOC_DMA_MAXNR 74 |
Definition at line 82 of file pciedev_io_compat.h.
#define PCIEDOOCS_IOC_DMA_MINNR 70 |
Definition at line 81 of file pciedev_io_compat.h.
#define PCIEDOOCS_IOC_MAXNR 63 |
Definition at line 80 of file pciedev_io_compat.h.
#define PCIEDOOCS_IOC_MINNR 60 |
Definition at line 79 of file pciedev_io_compat.h.
#define RW_D16 0x1 |
Definition at line 13 of file pciedev_io_compat.h.
#define RW_D32 0x2 |
Definition at line 14 of file pciedev_io_compat.h.
#define RW_D8 0x0 |
Definition at line 12 of file pciedev_io_compat.h.
#define RW_DMA 0x3 |
Definition at line 15 of file pciedev_io_compat.h.
#define RW_INFO 0x4 |
Definition at line 16 of file pciedev_io_compat.h.
typedef struct device_ioctrl_data device_ioctrl_data |
Definition at line 50 of file pciedev_io_compat.h.
typedef struct device_ioctrl_dma device_ioctrl_dma |
Definition at line 62 of file pciedev_io_compat.h.
typedef struct device_ioctrl_time device_ioctrl_time |
Definition at line 68 of file pciedev_io_compat.h.
Definition at line 42 of file pciedev_io_compat.h.