File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -39,18 +39,18 @@ struct gpio_rcar_priv {
39
39
struct irq_chip irq_chip ;
40
40
};
41
41
42
- #define IOINTSEL 0x00
43
- #define INOUTSEL 0x04
44
- #define OUTDT 0x08
45
- #define INDT 0x0c
46
- #define INTDT 0x10
47
- #define INTCLR 0x14
48
- #define INTMSK 0x18
49
- #define MSKCLR 0x1c
50
- #define POSNEG 0x20
51
- #define EDGLEVEL 0x24
52
- #define FILONOFF 0x28
53
- #define BOTHEDGE 0x4c
42
+ #define IOINTSEL 0x00 /* General IO/Interrupt Switching Register */
43
+ #define INOUTSEL 0x04 /* General Input/Output Switching Register */
44
+ #define OUTDT 0x08 /* General Output Register */
45
+ #define INDT 0x0c /* General Input Register */
46
+ #define INTDT 0x10 /* Interrupt Display Register */
47
+ #define INTCLR 0x14 /* Interrupt Clear Register */
48
+ #define INTMSK 0x18 /* Interrupt Mask Register */
49
+ #define MSKCLR 0x1c /* Interrupt Mask Clear Register */
50
+ #define POSNEG 0x20 /* Positive/Negative Logic Select Register */
51
+ #define EDGLEVEL 0x24 /* Edge/level Select Register */
52
+ #define FILONOFF 0x28 /* Chattering Prevention On/Off Register */
53
+ #define BOTHEDGE 0x4c /* One Edge/Both Edge Select Register */
54
54
55
55
#define RCAR_MAX_GPIO_PER_BANK 32
56
56
You can’t perform that action at this time.
0 commit comments