Lines Matching defs:chip
34 static inline u8 snd_ymfpci_readb(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readb()
39 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb()
44 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw()
49 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew()
54 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl()
59 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel()
64 static int snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) in snd_ymfpci_codec_ready()
83 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_write() local
93 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_read() local
165 static void snd_ymfpci_hw_start(struct snd_ymfpci *chip) in snd_ymfpci_hw_start()
179 static void snd_ymfpci_hw_stop(struct snd_ymfpci *chip) in snd_ymfpci_hw_stop()
205 static int voice_alloc(struct snd_ymfpci *chip, in voice_alloc()
243 static int snd_ymfpci_voice_alloc(struct snd_ymfpci *chip, in snd_ymfpci_voice_alloc()
267 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free()
290 static void snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice) in snd_ymfpci_pcm_interrupt()
349 struct snd_ymfpci *chip = ypcm->chip; in snd_ymfpci_pcm_capture_interrupt() local
380 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_trigger() local
425 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_trigger() local
589 static int snd_ymfpci_ac3_init(struct snd_ymfpci *chip) in snd_ymfpci_ac3_init()
611 static int snd_ymfpci_ac3_done(struct snd_ymfpci *chip) in snd_ymfpci_ac3_done()
640 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_hw_free() local
663 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_prepare() local
687 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_hw_free() local
696 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_prepare() local
740 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_pointer() local
752 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_pointer() local
761 static void snd_ymfpci_irq_wait(struct snd_ymfpci *chip) in snd_ymfpci_irq_wait()
779 struct snd_ymfpci *chip = dev_id; in snd_ymfpci_interrupt() local
878 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_open_1() local
906 static void ymfpci_open_extension(struct snd_ymfpci *chip) in ymfpci_open_extension()
919 static void ymfpci_close_extension(struct snd_ymfpci *chip) in ymfpci_close_extension()
932 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_open() local
955 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_spdif_open() local
984 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_4ch_open() local
1006 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_open() local
1053 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_close() local
1067 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_spdif_close() local
1084 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_4ch_close() local
1097 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_close() local
1127 int snd_ymfpci_pcm(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm()
1161 int snd_ymfpci_pcm2(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm2()
1195 int snd_ymfpci_pcm_spdif(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm_spdif()
1236 int snd_ymfpci_pcm_4ch(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm_4ch()
1270 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_get() local
1283 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_put() local
1317 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_mask_get() local
1345 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_get() local
1358 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_put() local
1392 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_get() local
1407 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_put() local
1445 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_single() local
1463 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_single() local
1511 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_double() local
1528 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_double() local
1552 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_nativedacvol() local
1576 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_dup4ch() local
1583 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_dup4ch() local
1634 static int snd_ymfpci_get_gpio_out(struct snd_ymfpci *chip, int pin) in snd_ymfpci_get_gpio_out()
1654 static int snd_ymfpci_set_gpio_out(struct snd_ymfpci *chip, int pin, int enable) in snd_ymfpci_set_gpio_out()
1675 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_get() local
1683 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_put() local
1720 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_get() local
1731 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_put() local
1775 struct snd_ymfpci *chip = bus->private_data; in snd_ymfpci_mixer_free_ac97_bus() local
1781 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_mixer_free_ac97() local
1785 int snd_ymfpci_mixer(struct snd_ymfpci *chip, int rear_switch) in snd_ymfpci_mixer()
1891 struct snd_ymfpci *chip; in snd_ymfpci_timer_start() local
1916 struct snd_ymfpci *chip; in snd_ymfpci_timer_stop() local
1943 int snd_ymfpci_timer(struct snd_ymfpci *chip, int device) in snd_ymfpci_timer()
1972 struct snd_ymfpci *chip = entry->private_data; in snd_ymfpci_proc_read() local
1980 static int snd_ymfpci_proc_init(struct snd_card *card, struct snd_ymfpci *chip) in snd_ymfpci_proc_init()
2007 static void snd_ymfpci_enable_dsp(struct snd_ymfpci *chip) in snd_ymfpci_enable_dsp()
2012 static void snd_ymfpci_disable_dsp(struct snd_ymfpci *chip) in snd_ymfpci_disable_dsp()
2027 static int snd_ymfpci_request_firmware(struct snd_ymfpci *chip) in snd_ymfpci_request_firmware()
2066 static void snd_ymfpci_download_image(struct snd_ymfpci *chip) in snd_ymfpci_download_image()
2099 static int snd_ymfpci_memalloc(struct snd_ymfpci *chip) in snd_ymfpci_memalloc()
2202 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_free() local
2261 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_suspend() local
2283 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_resume() local
2319 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_create() local