at91pio_softc
CFATTACH_DECL_NEW(at91pio, sizeof(struct at91pio_softc),
static struct at91pio_softc *at91pio_softc[AT91_PIO_COUNT];
struct at91pio_softc *at91pio_sc(at91pio_port port)
return at91pio_softc[port];
struct at91pio_softc *sc = device_private(self);
if (p < AT91_PIO_COUNT && !at91pio_softc[p])
at91pio_softc[p] = sc;
struct at91pio_softc *sc = (struct at91pio_softc *)gba->gba_gc->gp_cookie;
struct at91pio_softc *sc = device_private(parent);
at91pio_read(struct at91pio_softc *sc, int bit)
at91pio_set(struct at91pio_softc *sc, int bit)
at91pio_clear(struct at91pio_softc *sc, int bit)
at91pio_in(struct at91pio_softc *sc, int bit)
at91pio_out(struct at91pio_softc *sc, int bit)
void at91pio_per(struct at91pio_softc *sc, int bit, int perab)
at91pio_intr_establish(struct at91pio_softc *sc, int bit,
at91pio_intr_disestablish(struct at91pio_softc *sc, int bit, void *cookie)
struct at91pio_softc *sc = arg;
struct at91pio_softc *sc = arg;
struct at91pio_softc *sc = arg;
struct at91pio_softc *sc = arg;
struct at91pio_softc;
struct at91pio_softc *at91pio_sc(at91pio_port);
int at91pio_read(struct at91pio_softc *, int bit);
void at91pio_set(struct at91pio_softc *, int bit);
void at91pio_clear(struct at91pio_softc *, int bit);
void at91pio_in(struct at91pio_softc *, int bit);
void at91pio_out(struct at91pio_softc *, int bit);
void at91pio_per(struct at91pio_softc *, int bit, int perab);
void *at91pio_intr_establish(struct at91pio_softc *,int bit,
void at91pio_intr_disestablish(struct at91pio_softc *,int bit,
struct at91pio_softc *paa_sc;
struct at91pio_softc *sc_pioc;
struct at91pio_softc *pioc;
struct at91pio_softc;
struct at91pio_softc *sc_pioa, *sc_piod;
struct at91pio_softc;
struct at91pio_softc *sc_pioa, *sc_piob, *sc_piod;