Home
last modified time | relevance | path

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

/u-boot/drivers/gpio/
A Dbcm2835_gpio.c26 val &= ~(BCM2835_GPIO_FSEL_MASK << BCM2835_GPIO_FSEL_SHIFT(gpio)); in bcm2835_gpio_direction_input()
27 val |= (BCM2835_GPIO_INPUT << 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()
43 val |= (BCM2835_GPIO_OUTPUT << BCM2835_GPIO_FSEL_SHIFT(gpio)); in bcm2835_gpio_direction_output()
/u-boot/drivers/pinctrl/broadcom/
A Dpinctrl-bcm283x.c40 field_offset = BCM2835_GPIO_FSEL_SHIFT(gpio); in bcm2835_gpio_set_func_id()
54 return (val >> BCM2835_GPIO_FSEL_SHIFT(gpio) & BCM2835_GPIO_FSEL_MASK); in bcm2835_gpio_get_func_id()
/u-boot/arch/arm/mach-bcm283x/include/mach/
A Dgpio.h27 #define BCM2835_GPIO_FSEL_SHIFT(gpio) ((gpio % 10) * 3) macro

Completed in 4 milliseconds