Lines Matching refs:snd_ymfpci_writew
44 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew() function
92 snd_ymfpci_writew(chip, YDSXGR_AC97CMDADR, YDSXG_AC97READCMD | reg); in snd_ymfpci_codec_read()
815 snd_ymfpci_writew(chip, YDSXGR_INTFLAG, status); in snd_ymfpci_interrupt()
908 snd_ymfpci_writew(chip, YDSXGR_SECCONFIG, in ymfpci_open_extension()
920 snd_ymfpci_writew(chip, YDSXGR_SECCONFIG, in ymfpci_close_extension()
963 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTCTRL, in snd_ymfpci_playback_spdif_open()
967 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTSTATUS, chip->spdif_pcm_bits); in snd_ymfpci_playback_spdif_open()
1067 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTCTRL, in snd_ymfpci_playback_spdif_close()
1069 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTSTATUS, chip->spdif_bits); in snd_ymfpci_playback_spdif_close()
1288 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTSTATUS, chip->spdif_bits); in snd_ymfpci_spdif_default_put()
1363 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTSTATUS, chip->spdif_pcm_bits); in snd_ymfpci_spdif_stream_put()
1411 snd_ymfpci_writew(chip, YDSXGR_GLOBALCTRL, reg); in snd_ymfpci_drec_source_put()
1638 snd_ymfpci_writew(chip, YDSXGR_GPIOFUNCENABLE, reg); in snd_ymfpci_get_gpio_out()
1642 snd_ymfpci_writew(chip, YDSXGR_GPIOTYPECONFIG, mode); in snd_ymfpci_get_gpio_out()
1643 snd_ymfpci_writew(chip, YDSXGR_GPIOFUNCENABLE, reg | (1 << (pin + 8))); in snd_ymfpci_get_gpio_out()
1658 snd_ymfpci_writew(chip, YDSXGR_GPIOFUNCENABLE, reg); in snd_ymfpci_set_gpio_out()
1659 snd_ymfpci_writew(chip, YDSXGR_GPIOOUTCTRL, enable << pin); in snd_ymfpci_set_gpio_out()
1660 snd_ymfpci_writew(chip, YDSXGR_GPIOFUNCENABLE, reg | (1 << (pin + 8))); in snd_ymfpci_set_gpio_out()
1903 snd_ymfpci_writew(chip, YDSXGR_TIMERCOUNT, count); in snd_ymfpci_timer_start()
2077 snd_ymfpci_writew(chip, YDSXGR_GLOBALCTRL, ctrl & ~0x0007); in snd_ymfpci_download_image()
2174 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTCTRL, 0); in snd_ymfpci_memalloc()
2175 snd_ymfpci_writew(chip, YDSXGR_SPDIFOUTSTATUS, chip->spdif_bits); in snd_ymfpci_memalloc()
2178 snd_ymfpci_writew(chip, YDSXGR_SPDIFINCTRL, 0); in snd_ymfpci_memalloc()
2211 snd_ymfpci_writew(chip, YDSXGR_GLOBALCTRL, ctrl & ~0x0007); in snd_ymfpci_free()