Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | reg_config_r_bootsel |
struct | reg_config_rw_clk_ctrl |
struct | reg_config_rw_pad_ctrl |
Macros | |
#define | REG_RD(scope, inst, reg) |
#define | REG_WR(scope, inst, reg, val) |
#define | REG_RD_VECT(scope, inst, reg, index) |
#define | REG_WR_VECT(scope, inst, reg, index, val) |
#define | REG_RD_INT(scope, inst, reg) REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) |
#define | REG_WR_INT(scope, inst, reg, val) REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) |
#define | REG_RD_INT_VECT(scope, inst, reg, index) |
#define | REG_WR_INT_VECT(scope, inst, reg, index, val) |
#define | REG_TYPE_CONV(type, orgtype, val) ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) |
#define | reg_page_size 8192 |
#define | REG_ADDR(scope, inst, reg) ( (inst) + REG_RD_ADDR_##scope##_##reg ) |
#define | REG_ADDR_VECT(scope, inst, reg, index) |
#define | REG_RD_ADDR_config_r_bootsel 0 |
#define | REG_RD_ADDR_config_rw_clk_ctrl 4 |
#define | REG_WR_ADDR_config_rw_clk_ctrl 4 |
#define | REG_RD_ADDR_config_rw_pad_ctrl 8 |
#define | REG_WR_ADDR_config_rw_pad_ctrl 8 |
Enumerations | |
enum | { regk_config_bw16 = 0x00000000, regk_config_bw32 = 0x00000001, regk_config_master = 0x00000005, regk_config_nand = 0x00000003, regk_config_net_rx = 0x00000001, regk_config_net_tx_rx = 0x00000002, regk_config_no = 0x00000000, regk_config_none = 0x00000007, regk_config_nor = 0x00000000, regk_config_rw_clk_ctrl_default = 0x00000002, regk_config_rw_pad_ctrl_default = 0x00000000, regk_config_ser = 0x00000004, regk_config_slave = 0x00000006, regk_config_yes = 0x00000001 } |
Definition at line 75 of file config_defs.h.
#define reg_page_size 8192 |
Definition at line 71 of file config_defs.h.
#define REG_RD_ADDR_config_r_bootsel 0 |
Definition at line 96 of file config_defs.h.
#define REG_RD_ADDR_config_rw_clk_ctrl 4 |
Definition at line 112 of file config_defs.h.
#define REG_RD_ADDR_config_rw_pad_ctrl 8 |
Definition at line 121 of file config_defs.h.
Definition at line 44 of file config_defs.h.
#define REG_TYPE_CONV | ( | type, | |
orgtype, | |||
val | |||
) | ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) |
Definition at line 66 of file config_defs.h.
#define REG_WR_ADDR_config_rw_clk_ctrl 4 |
Definition at line 113 of file config_defs.h.
#define REG_WR_ADDR_config_rw_pad_ctrl 8 |
Definition at line 122 of file config_defs.h.
#define REG_WR_INT | ( | scope, | |
inst, | |||
reg, | |||
val | |||
) | REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) |
Definition at line 49 of file config_defs.h.
anonymous enum |
Definition at line 126 of file config_defs.h.