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