Searched refs:ZY7_GPIO_OEN (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/arm/xilinx/ |
H A D | zy7_gpio.c | 192 #define ZY7_GPIO_OEN(b) (0x0208+0x40*(b)) /* output enable */ macro 300 if ((RD4(sc, ZY7_GPIO_OEN(pin >> 5)) & (1 << (pin & 31))) == 0) in zy7_gpio_pin_getflags() 330 WR4(sc, ZY7_GPIO_OEN(pin >> 5), in zy7_gpio_pin_setflags() 331 RD4(sc, ZY7_GPIO_OEN(pin >> 5)) & in zy7_gpio_pin_setflags() 334 WR4(sc, ZY7_GPIO_OEN(pin >> 5), in zy7_gpio_pin_setflags() 335 RD4(sc, ZY7_GPIO_OEN(pin >> 5)) | in zy7_gpio_pin_setflags() 341 WR4(sc, ZY7_GPIO_OEN(pin >> 5), in zy7_gpio_pin_setflags() 342 RD4(sc, ZY7_GPIO_OEN(pin >> 5)) & ~(1 << (pin & 31))); in zy7_gpio_pin_setflags()
|