Searched refs:BCM_GPIO_READ (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_gpio.c | 140 #define BCM_GPIO_READ(_sc, _off) \ macro 143 BCM_GPIO_WRITE(_sc, _off, BCM_GPIO_READ(_sc, _off) & ~(_bits)) 145 BCM_GPIO_WRITE(_sc, _off, BCM_GPIO_READ(_sc, _off) | _bits) 203 func = (BCM_GPIO_READ(sc, BCM_GPIO_GPFSEL(bank)) >> offset) & 7; in bcm_gpio_get_function() 294 data = BCM_GPIO_READ(sc, BCM_GPIO_GPFSEL(bank)); in bcm_gpio_set_function() 323 reg = BCM_GPIO_READ(sc, BCM2711_GPIO_GPPUD(regid)); in bcm_gpio_set_pud() 549 reg_data = BCM_GPIO_READ(sc, BCM_GPIO_GPLEV(bank)); in bcm_gpio_pin_get() 574 data = BCM_GPIO_READ(sc, BCM_GPIO_GPLEV(bank)); in bcm_gpio_pin_toggle() 957 reg = BCM_GPIO_READ(sc, BCM_GPIO_GPEDS(bank)); in bcm_gpio_intr_internal()
|