Lines Matching refs:caps
56 uint32_t caps;
60 { .pin = (1 << 11), .name = "reset switch", .caps = GPIO_PIN_INPUT },
61 { .pin = (1 << 15), .name = "red LED", .caps = GPIO_PIN_OUTPUT },
62 { .pin = (1 << 17), .name = "green LED", .caps = GPIO_PIN_OUTPUT },
64 { .pin = (1 << 16), .name = "HD1 LED", .caps = GPIO_PIN_OUTPUT },
65 { .pin = (1 << 18), .name = "HD2 LED", .caps = GPIO_PIN_OUTPUT },
124 rcc_gpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps)
132 *caps = rcc_pins[pin].caps;
147 *flags = rcc_pins[pin].caps;
189 if ((rcc_pins[pin].caps & GPIO_PIN_OUTPUT) == 0)
214 if (rcc_pins[pin].caps & GPIO_PIN_INPUT)
233 if ((rcc_pins[pin].caps & GPIO_PIN_OUTPUT) == 0)
303 if (rcc_pins[i].caps & GPIO_PIN_OUTPUT)