Home | History | Annotate | Download | only in isa

Lines Matching refs:chip

65 	/* shadow registers for each chip */
221 int chip = CHAN_TO_CHIP(vidx);
248 DPRINTF(("chip=%d voice=%d octave=%d count=%d offset=%d shift=%d\n",
249 chip, voice, octave, count, OCTAVE_OFFSET(voice),
253 CMS_WRITE(sc, chip, CMS_IREG_FREQ0 + voice, count);
256 reg = CMS_READ(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice));
259 CMS_WRITE(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice), reg);
264 CMS_WRITE(sc, chip, CMS_IREG_VOL0 + voice, ((vol<<4)|vol));
267 reg = CMS_READ(sc, chip, CMS_IREG_FREQ_CTL);
269 CMS_WRITE(sc, chip, CMS_IREG_FREQ_CTL, reg);
276 int chip = CHAN_TO_CHIP(vidx);
281 reg = CMS_READ(sc, chip, CMS_IREG_FREQ_CTL);
283 CMS_WRITE(sc, chip, CMS_IREG_FREQ_CTL, reg);