Searched refs:GPIO_PINS_PER_BLOCK (Results 1 – 1 of 1) sorted by relevance
35 #define GPIO_PINS_PER_BLOCK 32 macro36 #define GPIO_BLOCKS_COUNT (GPIO_TOTAL_PINS/GPIO_PINS_PER_BLOCK + 1)37 #define GPIO_BLOCK(pin) (((pin + GPIO_PINS_PER_BLOCK) >> 5) - 1)38 #define GPIO_PIN_WITHIN_BLOCK(pin) ((pin)%(GPIO_PINS_PER_BLOCK))