Home
last modified time | relevance | path

Searched defs:GPIO_BIT (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dgpio.h19 #define GPIO_BIT(x) ((x) & 0x7) macro
/openbmc/u-boot/drivers/gpio/
H A Dda8xx_gpio.h29 #define GPIO_BIT(gp) ((gp) & 0x1F) macro
H A Daspeed_gpio.c183 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x)) macro
/openbmc/linux/drivers/gpio/
H A Dgpio-npcm-sgpio.c45 #define GPIO_BIT(x) ((x) % 8) macro
H A Dgpio-aspeed-sgpio.c133 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x) >> 1) macro
H A Dgpio-brcmstb.c61 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1)) macro
H A Dgpio-bcm-kona.c25 #define GPIO_BIT(gpio) ((gpio) & (GPIO_PER_BANK - 1)) macro
H A Dgpio-tegra.c29 #define GPIO_BIT(x) ((x) & 0x7) macro
H A Dgpio-aspeed.c247 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x)) macro