Searched refs:GPIO_DIR (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/arm/imx/
H A Dimxgpioreg.h35 #define GPIO_DIR 0x0004 /* GPIO Direction (RW), 1=Output */ macro
H A Dimxgpio.c224 v = GPIO_READ(gpio, GPIO_DIR);
226 GPIO_WRITE(gpio, GPIO_DIR, v);
274 old = GPIO_READ(gpio, GPIO_DIR);
282 GPIO_WRITE(gpio, GPIO_DIR, new);
304 dir = GPIO_READ(gpio, GPIO_DIR);
379 reg = GPIO_GROUP_READ(index, GPIO_DIR);
384 GPIO_GROUP_WRITE(index, GPIO_DIR, reg);
H A Dimx31_gpio.c204 v = GPIO_READ(gpio, GPIO_DIR);
206 GPIO_WRITE(gpio, GPIO_DIR, v);
262 old = GPIO_READ(gpio, GPIO_DIR);
270 GPIO_WRITE(gpio, GPIO_DIR, new);
292 dir = GPIO_READ(gpio, GPIO_DIR);
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/netwalker/
H A Dnetwalker_machdep.c1005 ioreg_write(NETWALKER_GPIO_VBASE(2) + GPIO_DIR,
1007 ioreg_read(NETWALKER_GPIO_VBASE(2) + GPIO_DIR));
1012 ioreg_write(NETWALKER_GPIO_VBASE(4) + GPIO_DIR,
1014 ioreg_read(NETWALKER_GPIO_VBASE(4) + GPIO_DIR));

Completed in 111 milliseconds