Searched refs:GPIO_GET (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/arch/evbarm/tsarm/ |
H A D | tslcd.c | 123 #define GPIO_GET(x) bus_space_read_1(sc->sc_iot, sc->sc_gpioh, \ macro 130 (EP93XX_GPIO_ ## x), GPIO_GET(x) | (y)) 133 (EP93XX_GPIO_ ## x), GPIO_GET(x) & (~(y))) 181 ctrl = GPIO_GET(PHDR); in tslcd_writereg() 227 ctrl = GPIO_GET(PHDR); in tslcd_readreg() 248 ret = GPIO_GET(PADR) & 0xff; in tslcd_readreg()
|
H A D | tskp.c | 113 #define GPIO_GET(x) bus_space_read_1(sc->sc_iot, sc->sc_gpioh, \ macro 120 (EP93XX_GPIO_ ## x), GPIO_GET(x) | (y)) 123 (EP93XX_GPIO_ ## x), GPIO_GET(x) & (~(y))) 167 keys[0] |= (~(GPIO_GET(PBDR) >> 4) & 0xf) << (4 * pos); in tskp_scankeys()
|
H A D | tspld.c | 93 #define GPIO_GET(x) bus_space_read_4(sc->sc_iot, sc->sc_gpioh, \ macro 100 (EP93XX_GPIO_ ## x), GPIO_GET(x) | (y)) 103 (EP93XX_GPIO_ ## x), GPIO_GET(x) & (~(y)))
|