Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c65 #define GPIO_REG_OFFSET(p) ((p) / 32) macro
266 reg += GPIO_REG_OFFSET(bit) * 4; in bcm2835_gpio_get_bit()
274 reg += GPIO_REG_OFFSET(bit) * 4; in bcm2835_gpio_set_bit()
484 reg += GPIO_REG_OFFSET(offset) * 4; in __bcm2835_gpio_irq_config()
527 unsigned bank = GPIO_REG_OFFSET(gpio); in bcm2835_gpio_irq_unmask()
544 unsigned bank = GPIO_REG_OFFSET(gpio); in bcm2835_gpio_irq_mask()
653 unsigned bank = GPIO_REG_OFFSET(gpio); in bcm2835_gpio_irq_set_type()
1043 off = GPIO_REG_OFFSET(pin); in bcm2835_pull_config_set()