Lines Matching refs:twl_softc
83 struct twl_softc {
95 struct twl_softc *pin_sc;
119 twl_read(struct twl_softc *sc, uint8_t mod, uint8_t reg, int flags)
133 twl_write(struct twl_softc *sc, uint8_t mod, uint8_t reg, uint8_t val, int flags)
157 twl_rtc_enable(struct twl_softc *sc, bool onoff)
172 struct twl_softc *sc = tch->cookie;
200 struct twl_softc *sc = tch->cookie;
219 twl_gpio_config(struct twl_softc *sc, int pin, int flags)
246 struct twl_softc * const sc = device_private(dev);
281 struct twl_softc * const sc = device_private(dev);
294 struct twl_softc * const sc = device_private(dev);
313 struct twl_softc * const sc = device_private(dev);
336 twl_rtc_attach(struct twl_softc *sc, const int phandle)
353 twl_gpio_attach(struct twl_softc *sc, const int phandle)
378 struct twl_softc * const sc = device_private(self);
417 CFATTACH_DECL_NEW(twl, sizeof(struct twl_softc),