Lines Matching refs:state

37 unsigned int gus_read(GUSEmuState * state, int port, int size)  in gus_read()  argument
42 gusptr = state->gusdatapos; in gus_read()
94 GUS_irqrequest(state, state->gusirq, 1); in gus_read()
118 if (state->gusdma >= 4) in gus_read()
125 GUS_irqclear(state, state->gusirq); in gus_read()
181 adr = state->himemaddr + (GUSregd(GUSDRAMPOS24bit) & 0xfffff); in gus_read()
189 void gus_write(GUSEmuState * state, int port, int size, unsigned int data) in gus_write() argument
192 gusptr = state->gusdatapos; in gus_write()
205 GUS_irqrequest(state, state->gusirq, 1); in gus_write()
228 GUS_irqrequest(state, state->gusirq, 1); in gus_write()
248 GUS_irqclear(state, state->gusirq); in gus_write()
261 GUS_irqrequest(state, state->gusirq, 1); in gus_write()
291 GUS_irqclear(state, state->gusirq); in gus_write()
308 GUS_irqclear(state, state->gusirq); in gus_write()
367 GUS_dmarequest(state); in gus_write()
417 GUS_irqrequest(state, state->gusirq, GUSregw(TimerIRQs)); in gus_write()
433 GUS_irqclear(state, state->gusirq); in gus_write()
463 GUS_irqclear(state, state->gusirq); in gus_write()
474 adr = state->himemaddr + (GUSregd(GUSDRAMPOS24bit) & 0xfffff); in gus_write()
500 void gus_dma_transferdata(GUSEmuState * state, char *dma_addr, unsigned int count, int TC) in gus_dma_transferdata() argument
513 gusptr = state->gusdatapos; in gus_dma_transferdata()
518 if (state->gusdma >= 4) in gus_dma_transferdata()
520 destaddr = (char *) state->himemaddr + offset; /* wavetable RAM adress */ in gus_dma_transferdata()
541 if (state->gusdma >= 4) in gus_dma_transferdata()
551 GUS_irqrequest(state, state->gusirq, 1); in gus_dma_transferdata()