Lines Matching refs:status

15 	unsigned int status, orig_status;
19 while ((status = inl(emu->port + IPR)) != 0) {
21 if ((status & 0xffffffff) == 0xffffffff) {
30 orig_status = status;
31 if (status & IPR_PCIERROR) {
34 status &= ~IPR_PCIERROR;
36 if (status & (IPR_VOLINCR|IPR_VOLDECR|IPR_MUTE)) {
38 emu->hwvol_interrupt(emu, status);
41 status &= ~(IPR_VOLINCR|IPR_VOLDECR|IPR_MUTE);
43 if (status & IPR_CHANNELLOOP) {
46 int voice_max = status & IPR_CHANNELNUMBERMASK;
81 status &= ~(IPR_CHANNELLOOP | IPR_CHANNELNUMBERMASK);
83 if (status & (IPR_ADCBUFFULL|IPR_ADCBUFHALFFULL)) {
85 emu->capture_interrupt(emu, status);
88 status &= ~(IPR_ADCBUFFULL|IPR_ADCBUFHALFFULL);
90 if (status & (IPR_MICBUFFULL|IPR_MICBUFHALFFULL)) {
92 emu->capture_mic_interrupt(emu, status);
95 status &= ~(IPR_MICBUFFULL|IPR_MICBUFHALFFULL);
97 if (status & (IPR_EFXBUFFULL|IPR_EFXBUFHALFFULL)) {
99 emu->capture_efx_interrupt(emu, status);
102 status &= ~(IPR_EFXBUFFULL|IPR_EFXBUFHALFFULL);
104 if (status & (IPR_MIDITRANSBUFEMPTY|IPR_MIDIRECVBUFEMPTY)) {
106 emu->midi.interrupt(emu, status);
109 status &= ~(IPR_MIDITRANSBUFEMPTY|IPR_MIDIRECVBUFEMPTY);
111 if (status & (IPR_A_MIDITRANSBUFEMPTY2|IPR_A_MIDIRECVBUFEMPTY2)) {
113 emu->midi2.interrupt(emu, status);
116 status &= ~(IPR_A_MIDITRANSBUFEMPTY2|IPR_A_MIDIRECVBUFEMPTY2);
118 if (status & IPR_INTERVALTIMER) {
123 status &= ~IPR_INTERVALTIMER;
125 if (status & (IPR_GPSPDIFSTATUSCHANGE|IPR_CDROMSTATUSCHANGE)) {
127 emu->spdif_interrupt(emu, status);
130 status &= ~(IPR_GPSPDIFSTATUSCHANGE|IPR_CDROMSTATUSCHANGE);
132 if (status & IPR_FXDSP) {
137 status &= ~IPR_FXDSP;
139 if (status & IPR_P16V) {
144 status &= ~IPR_P16V;
146 if (status & IPR_A_GPIO) {
151 status &= ~IPR_A_GPIO;
154 if (status) {
156 "unhandled interrupt: 0x%08x\n", status);