Home
last modified time | relevance | path

Searched refs:ogpio (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_gpio_macros.h133 #define BASIC_DATA_REG_MASK(ogpio) (1 << ogpio) argument
134 #define BASIC_MODE_REG_VALUE(mode, ogpio) \ argument
135 (mode << BASIC_MODE_REG_SHIFT(ogpio))
136 #define BASIC_MODE_REG_MASK(ogpio) \ argument
137 BASIC_MODE_REG_VALUE(0xf, ogpio)
138 #define BASIC_MODE_REG_SHIFT(ogpio) (ogpio * 4) argument
139 #define BASIC_MODE_REG_FROM_REG(data, ogpio) \ argument
140 ((data & BASIC_MODE_REG_MASK(ogpio)) >> BASIC_MODE_REG_SHIFT(ogpio))
178 #define EXTENDED_REG_DISABLE(ogpio) (0x2 << ((ogpio * 2) + 16)) argument
179 #define EXTENDED_REG_ENABLE(ogpio) (0x1 << ((ogpio * 2) + 16)) argument
[all …]