Lines Matching refs:snd_ymfpci_writel
54 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel() function
83 snd_ymfpci_writel(chip, YDSXGR_AC97CMDDATA, cmd); in snd_ymfpci_codec_write()
167 snd_ymfpci_writel(chip, YDSXGR_MODE, in snd_ymfpci_hw_start()
182 snd_ymfpci_writel(chip, YDSXGR_MODE, in snd_ymfpci_hw_stop()
431 snd_ymfpci_writel(chip, YDSXGR_MAPOFREC, tmp); in snd_ymfpci_capture_trigger()
438 snd_ymfpci_writel(chip, YDSXGR_MAPOFREC, tmp); in snd_ymfpci_capture_trigger()
600 snd_ymfpci_writel(chip, YDSXGR_MAPOFEFFECT, in snd_ymfpci_ac3_init()
609 snd_ymfpci_writel(chip, YDSXGR_MAPOFEFFECT, in snd_ymfpci_ac3_done()
715 snd_ymfpci_writel(chip, YDSXGR_RECFORMAT, format); in snd_ymfpci_capture_prepare()
716 snd_ymfpci_writel(chip, YDSXGR_RECSLOTSR, rate); in snd_ymfpci_capture_prepare()
719 snd_ymfpci_writel(chip, YDSXGR_ADCFORMAT, format); in snd_ymfpci_capture_prepare()
720 snd_ymfpci_writel(chip, YDSXGR_ADCSLOTSR, rate); in snd_ymfpci_capture_prepare()
799 snd_ymfpci_writel(chip, YDSXGR_STATUS, 0x80000000); in snd_ymfpci_interrupt()
801 snd_ymfpci_writel(chip, YDSXGR_MODE, mode); in snd_ymfpci_interrupt()
905 snd_ymfpci_writel(chip, YDSXGR_MODE, in ymfpci_open_extension()
918 snd_ymfpci_writel(chip, YDSXGR_MODE, in ymfpci_close_extension()
1476 snd_ymfpci_writel(chip, reg, val); in snd_ymfpci_put_single()
1539 snd_ymfpci_writel(chip, reg, val1); in snd_ymfpci_put_double()
1558 snd_ymfpci_writel(chip, reg, value); in snd_ymfpci_put_nativedacvol()
1559 snd_ymfpci_writel(chip, reg2, value); in snd_ymfpci_put_nativedacvol()
2004 snd_ymfpci_writel(chip, YDSXGR_CONFIG, 0x00000001); in snd_ymfpci_enable_dsp()
2014 snd_ymfpci_writel(chip, YDSXGR_CONFIG, 0x00000000); in snd_ymfpci_disable_dsp()
2067 snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0x00000000); in snd_ymfpci_download_image()
2069 snd_ymfpci_writel(chip, YDSXGR_MODE, 0x00010000); in snd_ymfpci_download_image()
2070 snd_ymfpci_writel(chip, YDSXGR_MODE, 0x00000000); in snd_ymfpci_download_image()
2071 snd_ymfpci_writel(chip, YDSXGR_MAPOFREC, 0x00000000); in snd_ymfpci_download_image()
2072 snd_ymfpci_writel(chip, YDSXGR_MAPOFEFFECT, 0x00000000); in snd_ymfpci_download_image()
2073 snd_ymfpci_writel(chip, YDSXGR_PLAYCTRLBASE, 0x00000000); in snd_ymfpci_download_image()
2074 snd_ymfpci_writel(chip, YDSXGR_RECCTRLBASE, 0x00000000); in snd_ymfpci_download_image()
2075 snd_ymfpci_writel(chip, YDSXGR_EFFCTRLBASE, 0x00000000); in snd_ymfpci_download_image()
2082 snd_ymfpci_writel(chip, YDSXGR_DSPINSTRAM + (i << 2), in snd_ymfpci_download_image()
2088 snd_ymfpci_writel(chip, YDSXGR_CTRLINSTRAM + (i << 2), in snd_ymfpci_download_image()
2166 snd_ymfpci_writel(chip, YDSXGR_PLAYCTRLBASE, chip->bank_base_playback_addr); in snd_ymfpci_memalloc()
2167 snd_ymfpci_writel(chip, YDSXGR_RECCTRLBASE, chip->bank_base_capture_addr); in snd_ymfpci_memalloc()
2168 snd_ymfpci_writel(chip, YDSXGR_EFFCTRLBASE, chip->bank_base_effect_addr); in snd_ymfpci_memalloc()
2169 snd_ymfpci_writel(chip, YDSXGR_WORKBASE, chip->work_base_addr); in snd_ymfpci_memalloc()
2170 snd_ymfpci_writel(chip, YDSXGR_WORKSIZE, chip->work_size >> 2); in snd_ymfpci_memalloc()
2182 snd_ymfpci_writel(chip, reg, 0); in snd_ymfpci_memalloc()
2183 snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2184 snd_ymfpci_writel(chip, YDSXGR_BUF441OUTVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2185 snd_ymfpci_writel(chip, YDSXGR_ZVOUTVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2186 snd_ymfpci_writel(chip, YDSXGR_SPDIFOUTVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2187 snd_ymfpci_writel(chip, YDSXGR_NATIVEADCINVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2188 snd_ymfpci_writel(chip, YDSXGR_NATIVEDACINVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2189 snd_ymfpci_writel(chip, YDSXGR_PRIADCLOOPVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2190 snd_ymfpci_writel(chip, YDSXGR_LEGACYOUTVOL, 0x3fff3fff); in snd_ymfpci_memalloc()
2200 snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0); in snd_ymfpci_free()
2201 snd_ymfpci_writel(chip, YDSXGR_BUF441OUTVOL, 0); in snd_ymfpci_free()
2202 snd_ymfpci_writel(chip, YDSXGR_LEGACYOUTVOL, 0); in snd_ymfpci_free()
2203 snd_ymfpci_writel(chip, YDSXGR_STATUS, ~0); in snd_ymfpci_free()
2205 snd_ymfpci_writel(chip, YDSXGR_PLAYCTRLBASE, 0); in snd_ymfpci_free()
2206 snd_ymfpci_writel(chip, YDSXGR_RECCTRLBASE, 0); in snd_ymfpci_free()
2207 snd_ymfpci_writel(chip, YDSXGR_EFFCTRLBASE, 0); in snd_ymfpci_free()
2208 snd_ymfpci_writel(chip, YDSXGR_WORKBASE, 0); in snd_ymfpci_free()
2209 snd_ymfpci_writel(chip, YDSXGR_WORKSIZE, 0); in snd_ymfpci_free()
2244 snd_ymfpci_writel(chip, YDSXGR_NATIVEDACOUTVOL, 0); in snd_ymfpci_suspend()
2245 snd_ymfpci_writel(chip, YDSXGR_BUF441OUTVOL, 0); in snd_ymfpci_suspend()
2266 snd_ymfpci_writel(chip, saved_regs_index[i], chip->saved_regs[i]); in snd_ymfpci_resume()
2277 snd_ymfpci_writel(chip, YDSXGR_MODE, chip->saved_ydsxgr_mode); in snd_ymfpci_resume()