opl.c | 106 static void opl_command(struct opl_softc *, int, int, int); 205 opl_command(struct opl_softc *sc, int offs, int addr, int data) function in typeref:typename:void 207 DPRINTFN(4, ("opl_command: sc=%p, offs=%d addr=0x%02x data=0x%02x\n", 249 opl_command(sc, OPL_L, OPL_TIMER_CONTROL, 252 opl_command(sc, OPL_L, OPL_TIMER_CONTROL, OPL_IRQ_RESET); 257 opl_command(sc, OPL_L, OPL_TIMER1, -2); /* wait 2 ticks */ 258 opl_command(sc, OPL_L, OPL_TIMER_CONTROL, /* start timer1 */ 265 opl_command(sc, OPL_L, OPL_TIMER_CONTROL, 267 opl_command(sc, OPL_L, OPL_TIMER_CONTROL, OPL_IRQ_RESET); 293 * idea: opl_command does a lot of busywaiting, and the driver typically set [all...] |