Home | History | Annotate | Download | only in tsarm

Lines Matching defs:tsc

70 	struct tsrtc_softc tsrtc, *tsc;
78 tsc = &tsrtc;
79 sc = &tsc->sc_mc;
80 tsc->sc_iot = aa->ta_iot;
81 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCIDX, 1, 0,
82 &tsc->sc_idxh))
84 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCDAT, 1, 0,
85 &tsc->sc_dath))
104 bus_space_unmap(tsc->sc_iot, tsc->sc_idxh, 1);
105 bus_space_unmap(tsc->sc_iot, tsc->sc_dath, 1);
113 struct tsrtc_softc *tsc = device_private(self);
114 struct mc146818_softc *sc = &tsc->sc_mc;
118 tsc->sc_iot = aa->ta_iot;
119 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCIDX,
120 1, 0, &tsc->sc_idxh))
122 if (bus_space_map(tsc->sc_iot, TS7XXX_IO8_HWBASE + TS7XXX_RTCDAT,
123 1, 0, &tsc->sc_dath))