|
BEST PCIe driver
|
Headers for BEST PCIe driver. More...
#include <asm/ioctl.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | DMA_DISP_BUF_SIZE (128*1024) |
| single display buffer size | |
| #define | DMA_DISP_BUF_NR 30 |
| number of display buffers | |
| #define | BEST_IOCTL_NUMBER 'B' |
| chosen at random | |
| #define | IOCTL_MAIL_COMM _IOWR(BEST_IOCTL_NUMBER, 10, struct mail *) |
| send command and receive response via Mailbox | |
| #define | IOCTL_READ_TETRAMM _IOR(BEST_IOCTL_NUMBER, 20, struct tetramm_data *) |
| reads tetramm data | |
| #define | IOCTL_READ_T_FAST _IOR(BEST_IOCTL_NUMBER, 30, struct tetramm_data_fast *) |
| reads tetramm data fast | |
| #define | IOCTL_WRITE_DAC _IOW(BEST_IOCTL_NUMBER, 40, struct dac_data *) |
| write DAC data | |
| #define | IOCTL_FLASH_PASSWD _IOW(BEST_IOCTL_NUMBER, 50, char*) |
| password for flash write and erase | |
| #define | IOCTL_FLASH_ERASE _IOW(BEST_IOCTL_NUMBER, 60, unsigned int) |
| erases flash page 128kB | |
| #define | FLASH_PASSWORD "careful!!" |
Functions | |
| struct | __attribute__ ((__packed__)) tetramm_data |
| TetrAMM data. More... | |
Headers for BEST PCIe driver.
| #define FLASH_PASSWORD "careful!!" |
this is used to unlock flash, it's not a real password but an obstacle for people who don't know what are they doing
| struct __attribute__ | ( | (__packed__) | ) |
TetrAMM data.
Mailbox data.
DAC data.
TetrAMM data small (aka fast)