Lines Matching refs:wp_wrreg
125 static inline void wp_wrreg(struct esm_softc *, uint16_t, uint16_t);
394 wp_wrreg(struct esm_softc *ess, uint16_t reg, uint16_t data) in wp_wrreg() function
406 wp_wrreg(ess, WPREG_CRAM_PTR, reg); in apu_setindex()
437 wp_wrreg(ess, WPREG_DATA_PORT, data); in wp_wrapu()
469 wp_wrreg(ess, WPREG_TIMER_ENABLE, 0); in wp_settimer()
470 wp_wrreg(ess, WPREG_TIMER_FREQ, in wp_settimer()
472 wp_wrreg(ess, WPREG_TIMER_ENABLE, 1); in wp_settimer()
479 wp_wrreg(ess, WPREG_TIMER_START, 1); in wp_starttimer()
486 wp_wrreg(ess, WPREG_TIMER_START, 0); in wp_stoptimer()
608 wp_wrreg(ess, WPREG_WAVE_ROMRAM, in esm_init()
619 wp_wrreg(ess, 0x8, 0xB004); in esm_init()
620 wp_wrreg(ess, 0x9, 0x001B); in esm_init()
621 wp_wrreg(ess, 0xA, 0x8000); in esm_init()
622 wp_wrreg(ess, 0xB, 0x3F37); in esm_init()
623 wp_wrreg(ess, 0xD, 0x7632); in esm_init()
625 wp_wrreg(ess, WPREG_BASE, 0x8598); /* Parallel I/O */ in esm_init()