Lines Matching defs:mdsc
344 struct audioamd_softc *mdsc;
346 mdsc = (struct audioamd_softc *)sc;
349 mutex_spin_enter(&mdsc->sc_lock);
350 mdsc->sc_rintr = 0;
351 mdsc->sc_rarg = 0;
352 mdsc->sc_pintr = 0;
353 mdsc->sc_parg = 0;
354 mdsc->sc_au.au_rdata = 0;
355 mdsc->sc_au.au_pdata = 0;
356 mutex_spin_exit(&mdsc->sc_lock);
496 struct audioamd_softc *mdsc;
498 mdsc = (struct audioamd_softc *)sc;
499 audioamd_codec_dwrite(mdsc, AM7930_DREG_CR, reg);
500 audioamd_codec_dwrite(mdsc, AM7930_DREG_DR, val);
506 struct audioamd_softc *mdsc;
508 mdsc = (struct audioamd_softc *)sc;
509 audioamd_codec_dwrite(mdsc, AM7930_DREG_CR, reg);
510 audioamd_codec_dwrite(mdsc, AM7930_DREG_DR, val);
511 audioamd_codec_dwrite(mdsc, AM7930_DREG_DR, val>>8);
519 struct audioamd_softc *mdsc;
521 mdsc = (struct audioamd_softc *)sc;
522 audioamd_codec_dwrite(mdsc, AM7930_DREG_CR, reg);
523 return (audioamd_codec_dread(mdsc, AM7930_DREG_DR));
529 struct audioamd_softc *mdsc;
532 mdsc = (struct audioamd_softc *)sc;
533 audioamd_codec_dwrite(mdsc, AM7930_DREG_CR, reg);
534 lo = audioamd_codec_dread(mdsc, AM7930_DREG_DR);
535 hi = audioamd_codec_dread(mdsc, AM7930_DREG_DR);