Home
last modified time | relevance | path

Searched refs:BCM2835_GPIO_FSEL_BANK (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dbcm2835_gpio.c25 val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_input()
28 writel(val, &gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_input()
41 val = readl(&gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_output()
44 writel(val, &gpios->reg->gpfsel[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_direction_output()
/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm283x.c38 reg_offset = BCM2835_GPIO_FSEL_BANK(gpio); in bcm2835_gpio_set_func_id()
51 val = readl(&priv->base_reg[BCM2835_GPIO_FSEL_BANK(gpio)]); in bcm2835_gpio_get_func_id()
/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dgpio.h26 #define BCM2835_GPIO_FSEL_BANK(gpio) (gpio / 10) macro