Lines Matching refs:mixer_regs

238     uint8_t mixer_regs[256];
494 pThis->fmt_stereo = (pThis->mixer_regs[0x0e] & 2) != 0;
874 pThis->mixer_regs[0x82] |= (cmd == 0xf2) ? 1 : 2;
1178 pThis->mixer_regs[0x82] = 0;
1341 if (pThis->mixer_regs[0x82] & 1)
1344 pThis->mixer_regs[0x82] &= ~1;
1355 if (pThis->mixer_regs[0x82] & 2)
1358 pThis->mixer_regs[0x82] &= ~2;
1407 memset (pThis->mixer_regs, 0xff, 0x7f);
1408 memset (pThis->mixer_regs + 0x83, 0xff, sizeof (pThis->mixer_regs) - 0x83);
1410 pThis->mixer_regs[0x02] = 4; /* master volume 3bits */
1411 pThis->mixer_regs[0x06] = 4; /* MIDI volume 3bits */
1412 pThis->mixer_regs[0x08] = 0; /* CD volume 3bits */
1413 pThis->mixer_regs[0x0a] = 0; /* voice volume 2bits */
1416 pThis->mixer_regs[0x0c] = 0;
1419 pThis->mixer_regs[0x0e] = 0;
1422 pThis->mixer_regs[0x04] = (4 << 5) | (4 << 1);
1424 pThis->mixer_regs[0x22] = (4 << 5) | (4 << 1);
1426 pThis->mixer_regs[0x26] = (4 << 5) | (4 << 1);
1429 pThis->mixer_regs[i] = 0x20;
1501 pThis->mixer_regs[0x32] = val & 0xff;
1502 pThis->mixer_regs[0x33] = val << 4;
1508 pThis->mixer_regs[0x30] = val & 0xff;
1509 pThis->mixer_regs[0x31] = val << 4;
1515 pThis->mixer_regs[0x22] = (pThis->mixer_regs[0x22] & 0x0f) | val;
1521 pThis->mixer_regs[0x22] = (pThis->mixer_regs[0x22] & 0xf0) | (val >> 4);
1527 pThis->mixer_regs[0x04] = (pThis->mixer_regs[0x04] & 0x0f) | val;
1533 pThis->mixer_regs[0x04] = (pThis->mixer_regs[0x04] & 0xf0) | (val >> 4);
1574 pThis->mixer_regs[pThis->mixer_nreg] = val;
1581 uint8_t lvol = pThis->mixer_regs[0x30];
1582 uint8_t rvol = pThis->mixer_regs[0x31];
1596 uint8_t lvol = pThis->mixer_regs[0x32];
1597 uint8_t rvol = pThis->mixer_regs[0x33];
1654 pThis->mixer_nreg, pThis->mixer_regs[pThis->mixer_nreg]));
1658 pThis->mixer_nreg, pThis->mixer_regs[pThis->mixer_nreg]));
1661 return pThis->mixer_regs[pThis->mixer_nreg];
1663 *pu32 = pThis->mixer_regs[pThis->mixer_nreg];
1809 pThis->mixer_regs[0x82] |= (nchan & 4) ? 2 : 1;
1968 qemu_put_buffer (f, pThis->mixer_regs, 256);
2029 qemu_get_buffer (f, pThis->mixer_regs, 256);
2115 pThis->mixer_regs[0x80] = magic_of_irq (pThis->irq);
2116 pThis->mixer_regs[0x81] = (1 << pThis->dma) | (1 << pThis->hdma);
2117 pThis->mixer_regs[0x82] = 2 << 5;
2364 pThis->mixer_regs[0x80] = magic_of_irq (pThis->irq);
2365 pThis->mixer_regs[0x81] = (1 << pThis->dma) | (1 << pThis->hdma);
2366 pThis->mixer_regs[0x82] = 2 << 5;