Home
last modified time | relevance | path

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

/external/u-boot/drivers/gpio/
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()
/external/u-boot/drivers/pinctrl/broadcom/
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()
/external/u-boot/arch/arm/mach-bcm283x/include/mach/
Dgpio.h26 #define BCM2835_GPIO_FSEL_BANK(gpio) (gpio / 10) macro