ioexp_softc
struct ioexp_softc *sc = device_private(self);
ioexp_gpio_pin_ctl(struct ioexp_softc *sc, uint8_t bit, int flags,
ioexp_gpio_pin_write(struct ioexp_softc *sc, uint8_t bit, int level,
ioexp_gpio_pin_get(struct ioexp_softc *sc, uint8_t bit)
struct ioexp_softc *sc = device_lookup_private(&ioexp_cd, 0);
struct ioexp_softc *sc = device_lookup_private(&ioexp_cd, 0);
struct ioexp_softc *sc = device_lookup_private(&ioexp_cd, 0);
struct ioexp_softc *sc = device_lookup_private(&ioexp_cd, 0);
CFATTACH_DECL_NEW(ioexp, sizeof(struct ioexp_softc),
ioexp_write(struct ioexp_softc *sc, uint8_t reg, uint8_t val)