Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/cdev.h>
#include <linux/platform_device.h>
#include <asm/io.h>
Go to the source code of this file.
Data Structures | |
struct | hwicap_drvdata |
struct | hwicap_driver_config |
struct | config_registers |
Macros | |
#define | XILINX_HWICAP_H_ /* by using protection macros */ |
#define | XHI_MAX_RETRIES 5000 |
#define | XHI_PAD_FRAMES 0x1 |
#define | XHI_WORD_COUNT_MASK_TYPE_1 0x7FFUL |
#define | XHI_WORD_COUNT_MASK_TYPE_2 0x1FFFFFUL |
#define | XHI_TYPE_MASK 0x7 |
#define | XHI_REGISTER_MASK 0xF |
#define | XHI_OP_MASK 0x3 |
#define | XHI_TYPE_SHIFT 29 |
#define | XHI_REGISTER_SHIFT 13 |
#define | XHI_OP_SHIFT 27 |
#define | XHI_TYPE_1 1 |
#define | XHI_TYPE_2 2 |
#define | XHI_OP_WRITE 2 |
#define | XHI_OP_READ 1 |
#define | XHI_FAR_CLB_BLOCK 0 |
#define | XHI_FAR_BRAM_BLOCK 1 |
#define | XHI_FAR_BRAM_INT_BLOCK 2 |
#define | XHI_CMD_NULL 0 |
#define | XHI_CMD_WCFG 1 |
#define | XHI_CMD_MFW 2 |
#define | XHI_CMD_DGHIGH 3 |
#define | XHI_CMD_RCFG 4 |
#define | XHI_CMD_START 5 |
#define | XHI_CMD_RCAP 6 |
#define | XHI_CMD_RCRC 7 |
#define | XHI_CMD_AGHIGH 8 |
#define | XHI_CMD_SWITCH 9 |
#define | XHI_CMD_GRESTORE 10 |
#define | XHI_CMD_SHUTDOWN 11 |
#define | XHI_CMD_GCAPTURE 12 |
#define | XHI_CMD_DESYNCH 13 |
#define | XHI_CMD_IPROG 15 /* Only in Virtex5 */ |
#define | XHI_CMD_CRCC 16 /* Only in Virtex5 */ |
#define | XHI_CMD_LTIMER 17 /* Only in Virtex5 */ |
#define | XHI_SYNC_PACKET 0xAA995566UL |
#define | XHI_DUMMY_PACKET 0xFFFFFFFFUL |
#define | XHI_NOOP_PACKET (XHI_TYPE_1 << XHI_TYPE_SHIFT) |
#define | XHI_TYPE_2_READ |
#define | XHI_TYPE_2_WRITE |
#define | XHI_TYPE2_CNT_MASK 0x07FFFFFF |
#define | XHI_TYPE_1_PACKET_MAX_WORDS 2047UL |
#define | XHI_TYPE_1_HEADER_BYTES 4 |
#define | XHI_TYPE_2_HEADER_BYTES 8 |
#define | XHI_DISABLED_AUTO_CRC 0x0000DEFCUL |
#define | XHI_SR_CFGERR_N_MASK 0x00000100 /* Config Error Mask */ |
#define | XHI_SR_DALIGN_MASK 0x00000080 /* Data Alignment Mask */ |
#define | XHI_SR_RIP_MASK 0x00000040 /* Read back Mask */ |
#define | XHI_SR_IN_ABORT_N_MASK 0x00000020 /* Select Map Abort Mask */ |
#define | XHI_SR_DONE_MASK 0x00000001 /* Done bit Mask */ |
#define XHI_CMD_AGHIGH 8 |
Definition at line 150 of file xilinx_hwicap.h.
#define XHI_CMD_CRCC 16 /* Only in Virtex5 */ |
Definition at line 157 of file xilinx_hwicap.h.
#define XHI_CMD_DESYNCH 13 |
Definition at line 155 of file xilinx_hwicap.h.
#define XHI_CMD_DGHIGH 3 |
Definition at line 145 of file xilinx_hwicap.h.
#define XHI_CMD_GCAPTURE 12 |
Definition at line 154 of file xilinx_hwicap.h.
#define XHI_CMD_GRESTORE 10 |
Definition at line 152 of file xilinx_hwicap.h.
#define XHI_CMD_IPROG 15 /* Only in Virtex5 */ |
Definition at line 156 of file xilinx_hwicap.h.
#define XHI_CMD_LTIMER 17 /* Only in Virtex5 */ |
Definition at line 158 of file xilinx_hwicap.h.
#define XHI_CMD_MFW 2 |
Definition at line 144 of file xilinx_hwicap.h.
#define XHI_CMD_NULL 0 |
Definition at line 142 of file xilinx_hwicap.h.
#define XHI_CMD_RCAP 6 |
Definition at line 148 of file xilinx_hwicap.h.
#define XHI_CMD_RCFG 4 |
Definition at line 146 of file xilinx_hwicap.h.
#define XHI_CMD_RCRC 7 |
Definition at line 149 of file xilinx_hwicap.h.
#define XHI_CMD_SHUTDOWN 11 |
Definition at line 153 of file xilinx_hwicap.h.
#define XHI_CMD_START 5 |
Definition at line 147 of file xilinx_hwicap.h.
#define XHI_CMD_SWITCH 9 |
Definition at line 151 of file xilinx_hwicap.h.
#define XHI_CMD_WCFG 1 |
Definition at line 143 of file xilinx_hwicap.h.
#define XHI_DISABLED_AUTO_CRC 0x0000DEFCUL |
Definition at line 177 of file xilinx_hwicap.h.
#define XHI_DUMMY_PACKET 0xFFFFFFFFUL |
Definition at line 162 of file xilinx_hwicap.h.
#define XHI_FAR_BRAM_BLOCK 1 |
Definition at line 113 of file xilinx_hwicap.h.
#define XHI_FAR_BRAM_INT_BLOCK 2 |
Definition at line 114 of file xilinx_hwicap.h.
#define XHI_FAR_CLB_BLOCK 0 |
Definition at line 112 of file xilinx_hwicap.h.
#define XHI_MAX_RETRIES 5000 |
Definition at line 89 of file xilinx_hwicap.h.
#define XHI_NOOP_PACKET (XHI_TYPE_1 << XHI_TYPE_SHIFT) |
Definition at line 163 of file xilinx_hwicap.h.
#define XHI_OP_MASK 0x3 |
Definition at line 100 of file xilinx_hwicap.h.
#define XHI_OP_READ 1 |
Definition at line 109 of file xilinx_hwicap.h.
#define XHI_OP_SHIFT 27 |
Definition at line 104 of file xilinx_hwicap.h.
#define XHI_OP_WRITE 2 |
Definition at line 108 of file xilinx_hwicap.h.
#define XHI_PAD_FRAMES 0x1 |
Definition at line 93 of file xilinx_hwicap.h.
#define XHI_REGISTER_MASK 0xF |
Definition at line 99 of file xilinx_hwicap.h.
#define XHI_REGISTER_SHIFT 13 |
Definition at line 103 of file xilinx_hwicap.h.
#define XHI_SR_CFGERR_N_MASK 0x00000100 /* Config Error Mask */ |
Definition at line 180 of file xilinx_hwicap.h.
#define XHI_SR_DALIGN_MASK 0x00000080 /* Data Alignment Mask */ |
Definition at line 181 of file xilinx_hwicap.h.
#define XHI_SR_DONE_MASK 0x00000001 /* Done bit Mask */ |
Definition at line 184 of file xilinx_hwicap.h.
#define XHI_SR_IN_ABORT_N_MASK 0x00000020 /* Select Map Abort Mask */ |
Definition at line 183 of file xilinx_hwicap.h.
#define XHI_SR_RIP_MASK 0x00000040 /* Read back Mask */ |
Definition at line 182 of file xilinx_hwicap.h.
#define XHI_SYNC_PACKET 0xAA995566UL |
Definition at line 161 of file xilinx_hwicap.h.
#define XHI_TYPE2_CNT_MASK 0x07FFFFFF |
Definition at line 170 of file xilinx_hwicap.h.
#define XHI_TYPE_1 1 |
Definition at line 106 of file xilinx_hwicap.h.
#define XHI_TYPE_1_HEADER_BYTES 4 |
Definition at line 173 of file xilinx_hwicap.h.
#define XHI_TYPE_1_PACKET_MAX_WORDS 2047UL |
Definition at line 172 of file xilinx_hwicap.h.
#define XHI_TYPE_2 2 |
Definition at line 107 of file xilinx_hwicap.h.
#define XHI_TYPE_2_HEADER_BYTES 8 |
Definition at line 174 of file xilinx_hwicap.h.
#define XHI_TYPE_2_READ |
Definition at line 164 of file xilinx_hwicap.h.
#define XHI_TYPE_2_WRITE |
Definition at line 167 of file xilinx_hwicap.h.
#define XHI_TYPE_MASK 0x7 |
Definition at line 98 of file xilinx_hwicap.h.
#define XHI_TYPE_SHIFT 29 |
Definition at line 102 of file xilinx_hwicap.h.
#define XHI_WORD_COUNT_MASK_TYPE_1 0x7FFUL |
Definition at line 96 of file xilinx_hwicap.h.
#define XHI_WORD_COUNT_MASK_TYPE_2 0x1FFFFFUL |
Definition at line 97 of file xilinx_hwicap.h.
#define XILINX_HWICAP_H_ /* by using protection macros */ |
Definition at line 34 of file xilinx_hwicap.h.