Home
last modified time | relevance | path

Searched refs:BCM_GPIO_WRITE (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.c138 #define BCM_GPIO_WRITE(_sc, _off, _val) \ 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)
297 BCM_GPIO_WRITE(sc, BCM_GPIO_GPFSEL(bank), data); in bcm_gpio_set_function()
326 BCM_GPIO_WRITE(sc, BCM2711_GPIO_GPPUD(regid), reg); in bcm_gpio_set_pud()
331 BCM_GPIO_WRITE(sc, BCM2835_GPIO_GPPUD(0), state); in bcm_gpio_set_pud()
332 BCM_GPIO_WRITE(sc, BCM2835_GPIO_GPPUDCLK(bank), BCM_GPIO_MASK(pin)); in bcm_gpio_set_pud()
333 BCM_GPIO_WRITE(sc, BCM2835_GPIO_GPPUD(0), 0); in bcm_gpio_set_pud()
334 BCM_GPIO_WRITE(sc, BCM2835_GPIO_GPPUDCLK(bank), 0); in bcm_gpio_set_pud()
528 BCM_GPIO_WRITE(sc, reg, BCM_GPIO_MASK(pin)); in bcm_gpio_pin_set()
[all …]