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

/src/sys/arch/evbppc/nintendo/dev/
H A Dhwgpio.c51 static gpio_pin_t hwgpio_pins[] = { variable in typeref:typename:gpio_pin_t[]
155 for (n = 0; n < __arraycount(hwgpio_pins); n++) {
156 const uint32_t mask = __BIT(hwgpio_pins[n].pin_num);
158 hwgpio_pins[n].pin_state = (out & mask) != 0;
160 hwgpio_pins[n].pin_state = (in & mask) != 0;
165 gba.gba_pins = hwgpio_pins;
166 gba.gba_npins = __arraycount(hwgpio_pins);

Completed in 2 milliseconds