Searched refs:sc_ngpiopins (Results 1 – 8 of 8) sorted by relevance
500 uint8_t sc_ngpiopins; member
86 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 10; in ar9280_attach()
99 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 11; in ar9287_attach()
367 KASSERT(pin < sc->sc_ngpiopins); in ar5008_gpio_read()370 return (AR_READ(sc, AR_GPIO_IN_OUT) >> (sc->sc_ngpiopins + pin)) & 1; in ar5008_gpio_read()378 KASSERT(pin < sc->sc_ngpiopins); in ar5008_gpio_write()
99 sc->sc_ngpiopins = 14; in ar5416_attach()
104 sc->sc_ngpiopins = 17; in ar9380_attach()
102 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 12; in ar9285_attach()
527 KASSERT(pin < sc->sc_ngpiopins); in ar9003_gpio_read()537 KASSERT(pin < sc->sc_ngpiopins); in ar9003_gpio_write()