Home
last modified time | relevance | path

Searched refs:wave_dev (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/sound/emu10k1/
Daudio.c59 struct emu10k1_wavedevice *wave_dev = (struct emu10k1_wavedevice *) file->private_data; in emu10k1_audio_read() local
60 struct wiinst *wiinst = wave_dev->wiinst; in emu10k1_audio_read()
82 while (emu10k1_wavein_open(wave_dev) < 0) { in emu10k1_audio_read()
88 interruptible_sleep_on(&wave_dev->card->open_wait); in emu10k1_audio_read()
105 && (wave_dev->enablebits & PCM_ENABLE_INPUT)) in emu10k1_audio_read()
106 emu10k1_wavein_start(wave_dev); in emu10k1_audio_read()
108 emu10k1_wavein_update(wave_dev->card, wiinst); in emu10k1_audio_read()
128 || (!(wave_dev->enablebits & PCM_ENABLE_INPUT))) in emu10k1_audio_read()
146 struct emu10k1_wavedevice *wave_dev = (struct emu10k1_wavedevice *) file->private_data; in emu10k1_audio_write() local
147 struct woinst *woinst = wave_dev->woinst; in emu10k1_audio_write()
[all …]
Dcardwi.c119 int emu10k1_wavein_open(struct emu10k1_wavedevice *wave_dev) in emu10k1_wavein_open() argument
121 struct emu10k1_card *card = wave_dev->card; in emu10k1_wavein_open()
122 struct wiinst *wiinst = wave_dev->wiinst; in emu10k1_wavein_open()
167 emu10k1_wavein_close(wave_dev); in emu10k1_wavein_open()
188 void emu10k1_wavein_close(struct emu10k1_wavedevice *wave_dev) in emu10k1_wavein_close() argument
190 struct emu10k1_card *card = wave_dev->card; in emu10k1_wavein_close()
191 struct wiinst *wiinst = wave_dev->wiinst; in emu10k1_wavein_close()
196 emu10k1_wavein_stop(wave_dev); in emu10k1_wavein_close()
203 switch (wave_dev->wiinst->recsrc) { in emu10k1_wavein_close()
222 void emu10k1_wavein_start(struct emu10k1_wavedevice *wave_dev) in emu10k1_wavein_start() argument
[all …]
Dpassthrough.c84 static int pt_putblock(struct emu10k1_wavedevice *wave_dev, u16 *block, int nonblock) in pt_putblock() argument
86 struct woinst *woinst = wave_dev->woinst; in pt_putblock()
87 struct emu10k1_card *card = wave_dev->card; in pt_putblock()
93 r = pt_wait_for_write(wave_dev, nonblock); in pt_putblock()
115 static int pt_setup(struct emu10k1_wavedevice *wave_dev) in pt_setup() argument
118 struct emu10k1_card *card = wave_dev->card; in pt_setup()
139 struct emu10k1_wavedevice *wave_dev = (struct emu10k1_wavedevice *) file->private_data; in emu10k1_pt_write() local
140 struct emu10k1_card *card = wave_dev->card; in emu10k1_pt_write()
161 pt_setup(wave_dev); in emu10k1_pt_write()
174 r = pt_putblock(wave_dev, (u16 *) pt->buf, nonblock); in emu10k1_pt_write()
[all …]
Dcardwo.c45 static void query_format(struct emu10k1_wavedevice *wave_dev, struct wave_format *wave_fmt) in query_format() argument
48 struct emu10k1_card *card = wave_dev->card; in query_format()
49 struct woinst *woinst = wave_dev->woinst; in query_format()
219 int emu10k1_waveout_open(struct emu10k1_wavedevice *wave_dev) in emu10k1_waveout_open() argument
221 struct emu10k1_card *card = wave_dev->card; in emu10k1_waveout_open()
222 struct woinst *woinst = wave_dev->woinst; in emu10k1_waveout_open()
232 emu10k1_waveout_close(wave_dev); in emu10k1_waveout_open()
238 emu10k1_waveout_close(wave_dev); in emu10k1_waveout_open()
259 void emu10k1_waveout_close(struct emu10k1_wavedevice *wave_dev) in emu10k1_waveout_close() argument
261 struct emu10k1_card *card = wave_dev->card; in emu10k1_waveout_close()
[all …]
Dpassthrough.h68 void emu10k1_pt_waveout_update(struct emu10k1_wavedevice *wave_dev);