Home
last modified time | relevance | path

Searched refs:sc_ngpiopins (Results 1 – 8 of 8) sorted by relevance

/netbsd/sys/dev/ic/
H A Dathnvar.h500 uint8_t sc_ngpiopins; member
H A Darn9280.c86 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 10; in ar9280_attach()
H A Darn9287.c99 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 11; in ar9287_attach()
H A Darn5008.c367 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()
H A Darn5416.c99 sc->sc_ngpiopins = 14; in ar5416_attach()
H A Darn9380.c104 sc->sc_ngpiopins = 17; in ar9380_attach()
H A Darn9285.c102 sc->sc_ngpiopins = (sc->sc_flags & ATHN_FLAG_USB) ? 16 : 12; in ar9285_attach()
H A Darn9003.c527 KASSERT(pin < sc->sc_ngpiopins); in ar9003_gpio_read()
537 KASSERT(pin < sc->sc_ngpiopins); in ar9003_gpio_write()