Home
last modified time | relevance | path

Searched refs:GPIO_OFFSET (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Daspeed_gpio.c182 #define GPIO_OFFSET(x) ((x) & 0x1f) macro
183 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x))
/openbmc/u-boot/arch/arm/include/asm/arch-ep93xx/
H A Dep93xx.h464 #define GPIO_OFFSET 0x040000 macro
465 #define GPIO_BASE (EP93XX_APB_BASE | GPIO_OFFSET)
/openbmc/qemu/include/hw/arm/
H A Draspi_platform.h87 #define GPIO_OFFSET 0x200000 macro
/openbmc/linux/drivers/gpio/
H A Dgpio-aspeed.c246 #define GPIO_OFFSET(x) ((x) & 0x1f) macro
247 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x))
249 #define _GPIO_SET_DEBOUNCE(t, o, i) ((!!((t) & BIT(i))) << GPIO_OFFSET(o))
284 unsigned int group = GPIO_OFFSET(offset) / 8; in have_gpio()
1049 *bit = GPIO_OFFSET(offset); in aspeed_gpio_copro_grab_gpio()
H A Dgpio-aspeed-sgpio.c132 #define GPIO_OFFSET(x) ((x) & GENMASK(5, 0)) macro
133 #define GPIO_BIT(x) BIT(GPIO_OFFSET(x) >> 1)
/openbmc/qemu/hw/arm/
H A Dbcm2838_peripherals.c190 &s_base->peri_mr, GPIO_OFFSET, in bcm2838_peripherals_realize()
H A Dbcm2835_peripherals.c243 &s_base->peri_mr, GPIO_OFFSET, in bcm2835_peripherals_realize()