MAX_GPIO_PER_REG 25 drivers/pinctrl/spear/pinctrl-plgpio.c #define PIN_OFFSET(pin) (pin % MAX_GPIO_PER_REG) MAX_GPIO_PER_REG 26 drivers/pinctrl/spear/pinctrl-plgpio.c #define REG_OFFSET(base, reg, pin) (base + reg + (pin / MAX_GPIO_PER_REG) \ MAX_GPIO_PER_REG 368 drivers/pinctrl/spear/pinctrl-plgpio.c regs_count = DIV_ROUND_UP(count, MAX_GPIO_PER_REG); MAX_GPIO_PER_REG 388 drivers/pinctrl/spear/pinctrl-plgpio.c count = count - i * MAX_GPIO_PER_REG; MAX_GPIO_PER_REG 389 drivers/pinctrl/spear/pinctrl-plgpio.c if (count < MAX_GPIO_PER_REG) MAX_GPIO_PER_REG 392 drivers/pinctrl/spear/pinctrl-plgpio.c for_each_set_bit(offset, &pending, MAX_GPIO_PER_REG) { MAX_GPIO_PER_REG 402 drivers/pinctrl/spear/pinctrl-plgpio.c pin = i * MAX_GPIO_PER_REG + pin; MAX_GPIO_PER_REG 542 drivers/pinctrl/spear/pinctrl-plgpio.c DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG), MAX_GPIO_PER_REG 617 drivers/pinctrl/spear/pinctrl-plgpio.c int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); MAX_GPIO_PER_REG 656 drivers/pinctrl/spear/pinctrl-plgpio.c int i, reg_count = DIV_ROUND_UP(plgpio->chip.ngpio, MAX_GPIO_PER_REG); MAX_GPIO_PER_REG 665 drivers/pinctrl/spear/pinctrl-plgpio.c MAX_GPIO_PER_REG)) - 1;