GPIO_PINS_IN_REG
GPIO_PINS_IN_REG + i * GPIO_PINS_IN_REG;
for (j = 0; j < GPIO_PINS_IN_REG; j++) {
#define GPIO_BANKNUM(n) ((n) / (GPIO_REGS_IN_BANK * GPIO_PINS_IN_REG))
#define GPIO_PORTNUM(n) (((n) / GPIO_PINS_IN_REG) % GPIO_REGS_IN_BANK)
#define GPIO_BIT(n) ((n) % GPIO_PINS_IN_REG)
#define NGPIO ((GPIO_NUM_BANKS * GPIO_REGS_IN_BANK * GPIO_PINS_IN_REG) - 8)
tegra_gpio_port_names[ i / GPIO_PINS_IN_REG],
i % GPIO_PINS_IN_REG);
for (i = 0; i < sc->gpio_npins; i += GPIO_PINS_IN_REG) {