Lines Matching defs:chip
48 static inline u8 snd_ymfpci_readb(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readb()
53 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb()
58 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw()
63 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew()
68 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl()
73 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel()
78 static int snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) in snd_ymfpci_codec_ready()
97 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_write() local
107 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_read() local
179 static void snd_ymfpci_hw_start(struct snd_ymfpci *chip) in snd_ymfpci_hw_start()
193 static void snd_ymfpci_hw_stop(struct snd_ymfpci *chip) in snd_ymfpci_hw_stop()
219 static int voice_alloc(struct snd_ymfpci *chip, in voice_alloc()
257 static int snd_ymfpci_voice_alloc(struct snd_ymfpci *chip, in snd_ymfpci_voice_alloc()
281 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free()
304 static void snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice) in snd_ymfpci_pcm_interrupt()
362 struct snd_ymfpci *chip = ypcm->chip; in snd_ymfpci_pcm_capture_interrupt() local
393 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_trigger() local
438 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_trigger() local
602 static int snd_ymfpci_ac3_init(struct snd_ymfpci *chip) in snd_ymfpci_ac3_init()
624 static int snd_ymfpci_ac3_done(struct snd_ymfpci *chip) in snd_ymfpci_ac3_done()
654 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_hw_free() local
678 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_prepare() local
708 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_hw_free() local
717 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_prepare() local
761 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_pointer() local
773 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_pointer() local
782 static void snd_ymfpci_irq_wait(struct snd_ymfpci *chip) in snd_ymfpci_irq_wait()
800 struct snd_ymfpci *chip = dev_id; in snd_ymfpci_interrupt() local
899 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_open_1() local
927 static void ymfpci_open_extension(struct snd_ymfpci *chip) in ymfpci_open_extension()
940 static void ymfpci_close_extension(struct snd_ymfpci *chip) in ymfpci_close_extension()
953 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_open() local
975 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_spdif_open() local
1003 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_4ch_open() local
1024 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_open() local
1071 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_close() local
1085 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_spdif_close() local
1102 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_playback_4ch_close() local
1115 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); in snd_ymfpci_capture_close() local
1148 int snd_ymfpci_pcm(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm()
1183 int snd_ymfpci_pcm2(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm2()
1217 int snd_ymfpci_pcm_spdif(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm_spdif()
1258 int snd_ymfpci_pcm_4ch(struct snd_ymfpci *chip, int device) in snd_ymfpci_pcm_4ch()
1291 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_get() local
1304 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_put() local
1338 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_mask_get() local
1366 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_get() local
1379 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_put() local
1413 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_get() local
1428 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_put() local
1466 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_single() local
1484 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_single() local
1532 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_double() local
1549 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_double() local
1573 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_nativedacvol() local
1597 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_dup4ch() local
1604 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_dup4ch() local
1655 static int snd_ymfpci_get_gpio_out(struct snd_ymfpci *chip, int pin) in snd_ymfpci_get_gpio_out()
1675 static int snd_ymfpci_set_gpio_out(struct snd_ymfpci *chip, int pin, int enable) in snd_ymfpci_set_gpio_out()
1696 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_get() local
1704 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_put() local
1741 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_get() local
1752 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_put() local
1796 struct snd_ymfpci *chip = bus->private_data; in snd_ymfpci_mixer_free_ac97_bus() local
1802 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_mixer_free_ac97() local
1806 int snd_ymfpci_mixer(struct snd_ymfpci *chip, int rear_switch) in snd_ymfpci_mixer()
1898 struct snd_ymfpci *chip; in snd_ymfpci_timer_start() local
1923 struct snd_ymfpci *chip; in snd_ymfpci_timer_stop() local
1950 int snd_ymfpci_timer(struct snd_ymfpci *chip, int device) in snd_ymfpci_timer()
1978 struct snd_ymfpci *chip = entry->private_data; in snd_ymfpci_proc_read() local
1986 static int snd_ymfpci_proc_init(struct snd_card *card, struct snd_ymfpci *chip) in snd_ymfpci_proc_init()
2017 static void snd_ymfpci_enable_dsp(struct snd_ymfpci *chip) in snd_ymfpci_enable_dsp()
2022 static void snd_ymfpci_disable_dsp(struct snd_ymfpci *chip) in snd_ymfpci_disable_dsp()
2037 static int snd_ymfpci_request_firmware(struct snd_ymfpci *chip) in snd_ymfpci_request_firmware()
2076 static void snd_ymfpci_download_image(struct snd_ymfpci *chip) in snd_ymfpci_download_image()
2109 static int snd_ymfpci_memalloc(struct snd_ymfpci *chip) in snd_ymfpci_memalloc()
2209 static int snd_ymfpci_free(struct snd_ymfpci *chip) in snd_ymfpci_free()
2266 struct snd_ymfpci *chip = device->device_data; in snd_ymfpci_dev_free() local
2303 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_suspend() local
2329 struct snd_ymfpci *chip = card->private_data; in snd_ymfpci_resume() local
2366 struct snd_ymfpci *chip; in snd_ymfpci_create() local