Searched refs:BANK_OFF (Results 1 – 2 of 2) sorted by relevance
32 #define BANK_OFF(n) (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2)) macro33 #define GPLR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5))34 #define GPDR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x0c)35 #define GPSR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x18)36 #define GPCR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x24)
59 #define BANK_OFF(n) (((n) / 3) << 8) + (((n) % 3) << 2) macro369 bank->regbase = regbase + BANK_OFF(i); in pxa_init_gpio_chip()