Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm283x.c42 BCM2835_GPIO_FSEL_MASK << field_offset, in bcm2835_gpio_set_func_id()
43 (func & BCM2835_GPIO_FSEL_MASK) << field_offset); in bcm2835_gpio_set_func_id()
53 return (val >> BCM2835_GPIO_FSEL_SHIFT(gpio) & BCM2835_GPIO_FSEL_MASK); in bcm2835_gpio_get_func_id()
/openbmc/u-boot/drivers/gpio/
H A Dbcm2835_gpio.c26 val &= ~(BCM2835_GPIO_FSEL_MASK << BCM2835_GPIO_FSEL_SHIFT(gpio)); in bcm2835_gpio_direction_input()
42 val &= ~(BCM2835_GPIO_FSEL_MASK << BCM2835_GPIO_FSEL_SHIFT(gpio)); in bcm2835_gpio_direction_output()
/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dgpio.h13 #define BCM2835_GPIO_FSEL_MASK 0x7 macro