Home
last modified time | relevance | path

Searched refs:GUSregb (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/audio/
H A Dgusemu_hal.c55 return GUSregb(IRQStatReg2x6); in gus_read()
58 if (GUSregb(GUS45TimerCtrl) & 1) in gus_read()
59 return GUSregb(TimerStatus2x8); in gus_read()
75 return GUSregb(DMA_2xB); in gus_read()
86 value_read = GUSregb(SB2xCd); in gus_read()
87 if (GUSregb(StatRead_2xF) & 0x20) in gus_read()
113 switch (GUSregb(FunkSelReg3x3)) in gus_read()
163 return GUSregb(NumVoices); in gus_read()
248 if (!GUSregb(IRQStatReg2x6)) in gus_write()
269 GUSregb(SB2xE) = (uint8_t) data; in gus_write()
[all …]
H A Dgusemu_mixer.c29 #define GUSregb(position) (* (gusptr+(position))) macro
50 if (!(GUSregb(GUS4cReset) & 0x01)) /* reset flag active? */ in gus_mixvoices()
53 for (Voice = 0; Voice <= (GUSregb(NumVoices) & 31); Voice++) in gus_mixvoices()
200 if (!(GUSregb(TimerDataReg2x9) & 0x40)) in gus_irqgen()
201 GUSregb(TimerStatus2x8) |= 0xc0; /* maskable bits */ in gus_irqgen()
219 if (!(GUSregb(TimerDataReg2x9) & 0x20)) in gus_irqgen()
230 if (GUSregb(GUS4cReset) & 0x4) /* synth IRQ enable */ in gus_irqgen()
233 GUSregb(IRQStatReg2x6) |= 0x20; in gus_irqgen()
235 GUSregb(IRQStatReg2x6) |= 0x40; in gus_irqgen()
237 if ((!requestedIRQs) && GUSregb(IRQStatReg2x6)) in gus_irqgen()
[all …]