Searched refs:BCM_GPIO_WRITE (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_gpio.c | 132 #define BCM_GPIO_WRITE(_sc, _off, _val) \ 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) 286 BCM_GPIO_WRITE(sc, BCM_GPIO_GPFSEL(bank), data); in bcm_gpio_set_function() 298 BCM_GPIO_WRITE(sc, BCM_GPIO_GPPUD(0), state); in bcm_gpio_set_pud() 299 BCM_GPIO_WRITE(sc, BCM_GPIO_GPPUDCLK(bank), BCM_GPIO_MASK(pin)); in bcm_gpio_set_pud() 300 BCM_GPIO_WRITE(sc, BCM_GPIO_GPPUD(0), 0); in bcm_gpio_set_pud() 301 BCM_GPIO_WRITE(sc, BCM_GPIO_GPPUDCLK(bank), 0); in bcm_gpio_set_pud() 492 BCM_GPIO_WRITE(sc, reg, BCM_GPIO_MASK(pin)); in bcm_gpio_pin_set() 543 BCM_GPIO_WRITE(sc, reg, BCM_GPIO_MASK(pin)); in bcm_gpio_pin_toggle() [all …]
|