Searched refs:BCM_GPIO_READ (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_gpio.c | 134 #define BCM_GPIO_READ(_sc, _off) \ macro 137 BCM_GPIO_WRITE(_sc, _off, BCM_GPIO_READ(_sc, _off) & ~(_bits)) 139 BCM_GPIO_WRITE(_sc, _off, BCM_GPIO_READ(_sc, _off) | _bits) 192 func = (BCM_GPIO_READ(sc, BCM_GPIO_GPFSEL(bank)) >> offset) & 7; in bcm_gpio_get_function() 283 data = BCM_GPIO_READ(sc, BCM_GPIO_GPFSEL(bank)); in bcm_gpio_set_function() 513 reg_data = BCM_GPIO_READ(sc, BCM_GPIO_GPLEV(bank)); in bcm_gpio_pin_get() 538 data = BCM_GPIO_READ(sc, BCM_GPIO_GPLEV(bank)); in bcm_gpio_pin_toggle() 918 reg = BCM_GPIO_READ(sc, BCM_GPIO_GPEDS(bank)); in bcm_gpio_intr_internal()
|