Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c62 #define FSEL_REG(p) (GPFSEL0 + (((p) / 10) * 4)) macro
276 u32 val = bcm2835_gpio_rd(pc, FSEL_REG(pin)); in bcm2835_pinctrl_fsel_get()
294 val = bcm2835_gpio_rd(pc, FSEL_REG(pin)); in bcm2835_pinctrl_fsel_set()
310 bcm2835_gpio_wr(pc, FSEL_REG(pin), val); in bcm2835_pinctrl_fsel_set()
318 bcm2835_gpio_wr(pc, FSEL_REG(pin), val); in bcm2835_pinctrl_fsel_set()