APLDCHIDEV_NUM_GPIOS
struct apldchidev_gpio sc_gpio[APLDCHIDEV_NUM_GPIOS];
if (sc->sc_ngpios >= APLDCHIDEV_NUM_GPIOS)