Lines Matching refs:snd_ymfpci_readw
39 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw() function
66 if ((snd_ymfpci_readw(chip, reg) & 0x8000) == 0) in snd_ymfpci_codec_ready()
72 secondary, snd_ymfpci_readw(chip, reg)); in snd_ymfpci_codec_ready()
98 snd_ymfpci_readw(chip, YDSXGR_PRISTATUSDATA); in snd_ymfpci_codec_read()
100 return snd_ymfpci_readw(chip, YDSXGR_PRISTATUSDATA); in snd_ymfpci_codec_read()
810 status = snd_ymfpci_readw(chip, YDSXGR_INTFLAG); in snd_ymfpci_interrupt()
909 (snd_ymfpci_readw(chip, YDSXGR_SECCONFIG) & ~0x0330) | 0x0010); in ymfpci_open_extension()
921 (snd_ymfpci_readw(chip, YDSXGR_SECCONFIG) & ~0x0330) & ~0x0010); in ymfpci_close_extension()
964 snd_ymfpci_readw(chip, YDSXGR_SPDIFOUTCTRL) | 2); in snd_ymfpci_playback_spdif_open()
1068 snd_ymfpci_readw(chip, YDSXGR_SPDIFOUTCTRL) & ~2); in snd_ymfpci_playback_spdif_close()
1287 if ((snd_ymfpci_readw(chip, YDSXGR_SPDIFOUTCTRL) & 1) && chip->pcm_spdif == NULL) in snd_ymfpci_spdif_default_put()
1362 if ((snd_ymfpci_readw(chip, YDSXGR_SPDIFOUTCTRL) & 2)) in snd_ymfpci_spdif_stream_put()
1391 reg = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_drec_source_get()
1406 old_reg = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_drec_source_put()
1635 reg = snd_ymfpci_readw(chip, YDSXGR_GPIOFUNCENABLE); in snd_ymfpci_get_gpio_out()
1640 mode = snd_ymfpci_readw(chip, YDSXGR_GPIOTYPECONFIG); in snd_ymfpci_get_gpio_out()
1644 mode = snd_ymfpci_readw(chip, YDSXGR_GPIOINSTATUS); in snd_ymfpci_get_gpio_out()
1655 reg = snd_ymfpci_readw(chip, YDSXGR_GPIOFUNCENABLE); in snd_ymfpci_set_gpio_out()
2076 ctrl = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_download_image()
2210 ctrl = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_free()