Searched refs:GPIO_REG_OFFSET (Results 1 – 1 of 1) sorted by relevance
65 #define GPIO_REG_OFFSET(p) ((p) / 32) macro266 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()