Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | dm355evm_msp_write (u8 value, u8 reg) |
int | dm355evm_msp_read (u8 reg) |
#define DM355EVM_MSP_COMMAND 0x00 |
Definition at line 22 of file dm355evm_msp.h.
#define DM355EVM_MSP_FIRMREV 0x07 /* not a GPIO (out of order) */ |
Definition at line 62 of file dm355evm_msp.h.
#define DM355EVM_MSP_INPUT_COUNT 0x16 /* decrement by reading LOW */ |
Definition at line 75 of file dm355evm_msp.h.
#define DM355EVM_MSP_INPUT_HIGH 0x17 |
Definition at line 76 of file dm355evm_msp.h.
#define DM355EVM_MSP_INPUT_LOW 0x18 |
Definition at line 77 of file dm355evm_msp.h.
#define DM355EVM_MSP_LED 0x03 /* active low (MSP P4) */ |
Definition at line 43 of file dm355evm_msp.h.
#define DM355EVM_MSP_RESET 0x02 /* 0 bits == in reset */ |
Definition at line 34 of file dm355evm_msp.h.
#define DM355EVM_MSP_RTC_0 0x12 /* LSB */ |
Definition at line 69 of file dm355evm_msp.h.
#define DM355EVM_MSP_RTC_1 0x13 |
Definition at line 70 of file dm355evm_msp.h.
#define DM355EVM_MSP_RTC_2 0x14 |
Definition at line 71 of file dm355evm_msp.h.
#define DM355EVM_MSP_RTC_3 0x15 /* MSB */ |
Definition at line 72 of file dm355evm_msp.h.
#define DM355EVM_MSP_SDMMC 0x06 /* (MSP P2, masked) */ |
Definition at line 57 of file dm355evm_msp.h.
#define DM355EVM_MSP_STATUS 0x01 |
Definition at line 29 of file dm355evm_msp.h.
#define DM355EVM_MSP_SWITCH1 0x04 /* (MSP P5, masked) */ |
Definition at line 44 of file dm355evm_msp.h.
#define DM355EVM_MSP_SWITCH2 0x05 /* (MSP P6, masked) */ |
Definition at line 51 of file dm355evm_msp.h.
#define DM355EVM_MSP_VIDEO_IN 0x08 /* (MSP P3, masked) */ |
Definition at line 63 of file dm355evm_msp.h.
#define MSP_COMMAND_IR_REINIT 5 |
Definition at line 28 of file dm355evm_msp.h.
#define MSP_COMMAND_NULL 0 |
Definition at line 23 of file dm355evm_msp.h.
#define MSP_COMMAND_POWEROFF 4 |
Definition at line 27 of file dm355evm_msp.h.
#define MSP_COMMAND_RESET_COLD 1 |
Definition at line 24 of file dm355evm_msp.h.
#define MSP_COMMAND_RESET_WARM 2 |
Definition at line 25 of file dm355evm_msp.h.
#define MSP_COMMAND_RESET_WARM_I 3 |
Definition at line 26 of file dm355evm_msp.h.
#define MSP_RESET_AIC33 BIT(7) |
Definition at line 40 of file dm355evm_msp.h.
#define MSP_RESET_DC5 BIT(0) |
Definition at line 35 of file dm355evm_msp.h.
#define MSP_RESET_ETHERNET BIT(4) |
Definition at line 38 of file dm355evm_msp.h.
#define MSP_RESET_IMAGER BIT(3) |
Definition at line 37 of file dm355evm_msp.h.
#define MSP_RESET_SYS BIT(5) |
Definition at line 39 of file dm355evm_msp.h.
#define MSP_RESET_TVP5154 BIT(2) |
Definition at line 36 of file dm355evm_msp.h.
Definition at line 59 of file dm355evm_msp.h.
#define MSP_SDMMC_0_WP BIT(1) |
Definition at line 58 of file dm355evm_msp.h.
Definition at line 61 of file dm355evm_msp.h.
#define MSP_SDMMC_1_WP BIT(3) |
Definition at line 60 of file dm355evm_msp.h.
#define MSP_STATUS_BAD_COMMAND BIT(1) |
Definition at line 31 of file dm355evm_msp.h.
#define MSP_STATUS_BAD_OFFSET BIT(0) |
Definition at line 30 of file dm355evm_msp.h.
#define MSP_STATUS_POWER_ERROR BIT(2) |
Definition at line 32 of file dm355evm_msp.h.
#define MSP_STATUS_RXBUF_OVERRUN BIT(3) |
Definition at line 33 of file dm355evm_msp.h.
#define MSP_SWITCH1_J1 BIT(4) /* NTSC/PAL */ |
Definition at line 49 of file dm355evm_msp.h.
Definition at line 50 of file dm355evm_msp.h.
#define MSP_SWITCH1_SW6_1 BIT(0) |
Definition at line 45 of file dm355evm_msp.h.
#define MSP_SWITCH1_SW6_2 BIT(1) |
Definition at line 46 of file dm355evm_msp.h.
#define MSP_SWITCH1_SW6_3 BIT(2) |
Definition at line 47 of file dm355evm_msp.h.
#define MSP_SWITCH1_SW6_4 BIT(3) |
Definition at line 48 of file dm355evm_msp.h.
#define MSP_SWITCH2_SW10 BIT(3) |
Definition at line 52 of file dm355evm_msp.h.
#define MSP_SWITCH2_SW11 BIT(4) |
Definition at line 53 of file dm355evm_msp.h.
#define MSP_SWITCH2_SW12 BIT(5) |
Definition at line 54 of file dm355evm_msp.h.
#define MSP_SWITCH2_SW13 BIT(6) |
Definition at line 55 of file dm355evm_msp.h.
#define MSP_SWITCH2_SW14 BIT(7) |
Definition at line 56 of file dm355evm_msp.h.
Definition at line 64 of file dm355evm_msp.h.
dm355evm_msp_read - Reads a register from dm355evm_msp : register address
Returns result of operation - value, or negative errno
Definition at line 86 of file dm355evm_msp.c.