Searched refs:ogpio (Results 1 – 1 of 1) sorted by relevance
133 #define BASIC_DATA_REG_MASK(ogpio) (1 << ogpio) argument134 #define BASIC_MODE_REG_VALUE(mode, ogpio) \ argument135 (mode << BASIC_MODE_REG_SHIFT(ogpio))136 #define BASIC_MODE_REG_MASK(ogpio) \ argument137 BASIC_MODE_REG_VALUE(0xf, ogpio)138 #define BASIC_MODE_REG_SHIFT(ogpio) (ogpio * 4) argument139 #define BASIC_MODE_REG_FROM_REG(data, ogpio) \ argument140 ((data & BASIC_MODE_REG_MASK(ogpio)) >> BASIC_MODE_REG_SHIFT(ogpio))178 #define EXTENDED_REG_DISABLE(ogpio) (0x2 << ((ogpio * 2) + 16)) argument179 #define EXTENDED_REG_ENABLE(ogpio) (0x1 << ((ogpio * 2) + 16)) argument[all …]