PINS_PER_BANK      30 drivers/pinctrl/pinctrl-oxnas.c #define GPIO_BANK_START(bank)		((bank) * PINS_PER_BANK)
PINS_PER_BANK     275 drivers/pinctrl/pinctrl-oxnas.c 		.bank = _pin / PINS_PER_BANK,				\
PINS_PER_BANK     520 drivers/pinctrl/pinctrl-oxnas.c 	return &pctl->gpio_banks[pin / PINS_PER_BANK];
PINS_PER_BANK    1071 drivers/pinctrl/pinctrl-oxnas.c 			.ngpio = PINS_PER_BANK,				\
PINS_PER_BANK    1207 drivers/pinctrl/pinctrl-oxnas.c 	id = pinspec.args[1] / PINS_PER_BANK;
PINS_PER_BANK    1215 drivers/pinctrl/pinctrl-oxnas.c 	if (ngpios > PINS_PER_BANK) {
PINS_PER_BANK      41 drivers/pinctrl/pinctrl-pic32.c #define GPIO_BANK_START(bank)		((bank) * PINS_PER_BANK)
PINS_PER_BANK    1702 drivers/pinctrl/pinctrl-pic32.c 	return &pctl->gpio_banks[pin / PINS_PER_BANK];
PINS_PER_BANK    2133 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(0, PINS_PER_BANK),
PINS_PER_BANK    2134 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(1, PINS_PER_BANK),
PINS_PER_BANK    2135 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(2, PINS_PER_BANK),
PINS_PER_BANK    2136 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(3, PINS_PER_BANK),
PINS_PER_BANK    2137 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(4, PINS_PER_BANK),
PINS_PER_BANK    2138 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(5, PINS_PER_BANK),
PINS_PER_BANK    2139 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(6, PINS_PER_BANK),
PINS_PER_BANK    2140 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(7, PINS_PER_BANK),
PINS_PER_BANK    2141 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(8, PINS_PER_BANK),
PINS_PER_BANK    2142 drivers/pinctrl/pinctrl-pic32.c 	GPIO_BANK(9, PINS_PER_BANK),
PINS_PER_BANK     617 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned short bank = pin / PINS_PER_BANK;
PINS_PER_BANK     764 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned short bank = offset / PINS_PER_BANK;
PINS_PER_BANK     766 drivers/pinctrl/sunxi/pinctrl-sunxi.c 					    PINS_PER_BANK;
PINS_PER_BANK     808 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned short bank = offset / PINS_PER_BANK;
PINS_PER_BANK     810 drivers/pinctrl/sunxi/pinctrl-sunxi.c 					    PINS_PER_BANK;
PINS_PER_BANK     897 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	base = PINS_PER_BANK * gpiospec->args[0];
PINS_PER_BANK    1102 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	base = PINS_PER_BANK * intspec[0];
PINS_PER_BANK    1109 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	*out_hwirq = desc->irqbank * PINS_PER_BANK + desc->irqnum;
PINS_PER_BANK    1482 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) -
PINS_PER_BANK     237 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	u8 bank = pin / PINS_PER_BANK;
PINS_PER_BANK     240 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	offset += pin % PINS_PER_BANK / MUX_PINS_PER_REG * 0x04;
PINS_PER_BANK     252 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	u8 bank = pin / PINS_PER_BANK;
PINS_PER_BANK     255 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	offset += pin % PINS_PER_BANK / DATA_PINS_PER_REG * 0x04;
PINS_PER_BANK     267 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	u8 bank = pin / PINS_PER_BANK;
PINS_PER_BANK     270 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	offset += pin % PINS_PER_BANK / DLEVEL_PINS_PER_REG * 0x04;
PINS_PER_BANK     282 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	u8 bank = pin / PINS_PER_BANK;
PINS_PER_BANK     285 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	offset += pin % PINS_PER_BANK / PULL_PINS_PER_REG * 0x04;
PINS_PER_BANK     366 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	u8 bank = pin / PINS_PER_BANK;