Home
last modified time | relevance | path

Searched refs:BANK_OFF (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c32 #define BANK_OFF(n) (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2)) macro
33 #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)
/linux/drivers/gpio/
H A Dgpio-pxa.c59 #define BANK_OFF(n) (((n) / 3) << 8) + (((n) % 3) << 2) macro
369 bank->regbase = regbase + BANK_OFF(i); in pxa_init_gpio_chip()