|
Linux Kernel
3.7.1
|
#include <linux/dma-mapping.h>#include <linux/of_platform.h>#include <linux/completion.h>#include <linux/miscdevice.h>#include <linux/dmaengine.h>#include <linux/interrupt.h>#include <linux/highmem.h>#include <linux/kernel.h>#include <linux/module.h>#include <linux/mutex.h>#include <linux/delay.h>#include <linux/init.h>#include <linux/leds.h>#include <linux/slab.h>#include <linux/kref.h>#include <linux/fs.h>#include <linux/io.h>#include <media/videobuf-dma-sg.h>#include <sysdev/fsl_soc.h>Go to the source code of this file.
Data Structures | |
| struct | fpga_dev |
Macros | |
| #define | FW_SIZE_EP2S90 12849552 |
| #define | FW_SIZE_EP2S130 18662880 |
| #define | FPGA_CONFIG_CONTROL 0x40 |
| #define | FPGA_CONFIG_STATUS 0x44 |
| #define | FPGA_CONFIG_FIFO_SIZE 0x48 |
| #define | FPGA_CONFIG_FIFO_USED 0x4C |
| #define | FPGA_CONFIG_TOTAL_BYTE_COUNT 0x50 |
| #define | FPGA_CONFIG_CUR_BYTE_COUNT 0x54 |
| #define | FPGA_FIFO_ADDRESS 0x3000 |
| #define | CFG_STATUS_ERR_MASK 0xfffe |
| #define | CFG_CTL_ENABLE (1 << 0) |
| #define | CFG_CTL_RESET (1 << 1) |
| #define | CFG_CTL_DMA (1 << 2) |
| #define | CTL_PWR_CONTROL 0x2006 |
| #define | CTL_PWR_STATUS 0x200A |
| #define | CTL_PWR_FAIL 0x200B |
| #define | PWR_CONTROL_ENABLE 0x01 |
| #define | PWR_STATUS_ERROR_MASK 0x10 |
| #define | PWR_STATUS_GOOD 0x0f |
| #define | FIFO_DMA_ADDRESS 0xf0003000 |
| #define | FIFO_MAX_LEN 4096 |
| #define | SYS_REG_VERSION 0x00 |
| #define | SYS_REG_GEOGRAPHIC 0x10 |
| #define | CTL_CPLD_VERSION 0x2000 |
Functions | |
| DEFINE_LED_TRIGGER (ledtrig_fpga) | |
| MODULE_AUTHOR ("Ira W. Snyder <[email protected]>") | |
| MODULE_DESCRIPTION ("CARMA Board DATA-FPGA Programmer") | |
| MODULE_LICENSE ("GPL") | |
| module_init (fpga_init) | |
| module_exit (fpga_exit) | |
| #define CFG_CTL_DMA (1 << 2) |
Definition at line 169 of file carma-fpga-program.c.
| #define CFG_CTL_ENABLE (1 << 0) |
Definition at line 167 of file carma-fpga-program.c.
| #define CFG_CTL_RESET (1 << 1) |
Definition at line 168 of file carma-fpga-program.c.
| #define CFG_STATUS_ERR_MASK 0xfffe |
Definition at line 145 of file carma-fpga-program.c.
| #define CTL_CPLD_VERSION 0x2000 |
Definition at line 946 of file carma-fpga-program.c.
| #define CTL_PWR_CONTROL 0x2006 |
Definition at line 213 of file carma-fpga-program.c.
| #define CTL_PWR_FAIL 0x200B |
Definition at line 215 of file carma-fpga-program.c.
| #define CTL_PWR_STATUS 0x200A |
Definition at line 214 of file carma-fpga-program.c.
| #define FIFO_DMA_ADDRESS 0xf0003000 |
Definition at line 447 of file carma-fpga-program.c.
| #define FIFO_MAX_LEN 4096 |
Definition at line 448 of file carma-fpga-program.c.
| #define FPGA_CONFIG_CONTROL 0x40 |
Definition at line 131 of file carma-fpga-program.c.
| #define FPGA_CONFIG_CUR_BYTE_COUNT 0x54 |
Definition at line 136 of file carma-fpga-program.c.
| #define FPGA_CONFIG_FIFO_SIZE 0x48 |
Definition at line 133 of file carma-fpga-program.c.
| #define FPGA_CONFIG_FIFO_USED 0x4C |
Definition at line 134 of file carma-fpga-program.c.
| #define FPGA_CONFIG_STATUS 0x44 |
Definition at line 132 of file carma-fpga-program.c.
| #define FPGA_CONFIG_TOTAL_BYTE_COUNT 0x50 |
Definition at line 135 of file carma-fpga-program.c.
| #define FPGA_FIFO_ADDRESS 0x3000 |
Definition at line 138 of file carma-fpga-program.c.
| #define FW_SIZE_EP2S130 18662880 |
Definition at line 44 of file carma-fpga-program.c.
| #define FW_SIZE_EP2S90 12849552 |
Definition at line 43 of file carma-fpga-program.c.
| #define PWR_CONTROL_ENABLE 0x01 |
Definition at line 217 of file carma-fpga-program.c.
| #define PWR_STATUS_ERROR_MASK 0x10 |
Definition at line 219 of file carma-fpga-program.c.
| #define PWR_STATUS_GOOD 0x0f |
Definition at line 220 of file carma-fpga-program.c.
| #define SYS_REG_GEOGRAPHIC 0x10 |
Definition at line 907 of file carma-fpga-program.c.
| #define SYS_REG_VERSION 0x00 |
Definition at line 906 of file carma-fpga-program.c.
| DEFINE_LED_TRIGGER | ( | ledtrig_fpga | ) |
| MODULE_AUTHOR | ( | "Ira W. Snyder <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "CARMA Board DATA-FPGA Programmer" | ) |
| module_exit | ( | fpga_exit | ) |
| module_init | ( | fpga_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2