Lines Matching defs:clkoff
64 bus_size_t clkoff;
102 sc->sc_clkoffset = mk48txx_models[i].clkoff;
160 bus_size_t clkoff;
166 clkoff = sc->sc_clkoffset;
170 csr = (*sc->sc_nvrd)(dev, clkoff + MK48TXX_ICSR);
172 (*sc->sc_nvwr)(dev, clkoff + MK48TXX_ICSR, csr);
174 #define FROMREG(reg, mask) ((*sc->sc_nvrd)(dev, clkoff + (reg)) & (mask))
205 csr = (*sc->sc_nvrd)(dev, clkoff + MK48TXX_ICSR);
207 (*sc->sc_nvwr)(dev, clkoff + MK48TXX_ICSR, csr);
221 bus_size_t clkoff;
227 clkoff = sc->sc_clkoffset;
237 csr = (*sc->sc_nvrd)(dev, clkoff + MK48TXX_ICSR);
239 (*sc->sc_nvwr)(dev, clkoff + MK48TXX_ICSR, csr);
242 ((*sc->sc_nvwr)(dev, clkoff + (reg), \
243 ((*sc->sc_nvrd)(dev, clkoff + (reg)) & ~(mask)) | \
267 csr = (*sc->sc_nvrd)(dev, clkoff + MK48TXX_ICSR);
269 (*sc->sc_nvwr)(dev, clkoff + MK48TXX_ICSR, csr);