Searched refs:BCM_GPIO_MASK (Results 1 – 1 of 1) sorted by relevance
141 #define BCM_GPIO_MASK(a) (1U << (a % BCM_GPIO_PINS_PER_BANK)) macro299 BCM_GPIO_WRITE(sc, BCM_GPIO_GPPUDCLK(bank), BCM_GPIO_MASK(pin)); in bcm_gpio_set_pud()492 BCM_GPIO_WRITE(sc, reg, BCM_GPIO_MASK(pin)); in bcm_gpio_pin_set()515 *val = (reg_data & BCM_GPIO_MASK(pin)) ? 1 : 0; in bcm_gpio_pin_get()539 if (data & BCM_GPIO_MASK(pin)) in bcm_gpio_pin_toggle()543 BCM_GPIO_WRITE(sc, reg, BCM_GPIO_MASK(pin)); in bcm_gpio_pin_toggle()961 sc->sc_isrcs[irq].bgi_mask = BCM_GPIO_MASK(irq); in bcm_gpio_pic_attach()