Home
last modified time | relevance | path

Searched refs:wiinst (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/sound/emu10k1/
Dcardwi.c122 struct wiinst *wiinst = wave_dev->wiinst; in emu10k1_wavein_open() local
123 struct wiinst **wiinst_tmp = NULL; in emu10k1_wavein_open()
129 switch (wiinst->recsrc) { in emu10k1_wavein_open()
150 *wiinst_tmp = wiinst; in emu10k1_wavein_open()
154 if (wiinst->format.bytesperchannel == 1) { in emu10k1_wavein_open()
155 if (wiinst->buffer.size > 0x8000) { in emu10k1_wavein_open()
156 wiinst->buffer.size = 0x8000; in emu10k1_wavein_open()
157 wiinst->buffer.sizeregval = 0x1f; in emu10k1_wavein_open()
159 wiinst->buffer.sizeregval += 4; in emu10k1_wavein_open()
161 wiinst->buffer.cov = 2; in emu10k1_wavein_open()
[all …]
Daudio.c54 static void calculate_ifrag(struct wiinst *);
60 struct wiinst *wiinst = wave_dev->wiinst; in emu10k1_audio_read() local
72 spin_lock_irqsave(&wiinst->lock, flags); in emu10k1_audio_read()
74 if (wiinst->mmapped) { in emu10k1_audio_read()
75 spin_unlock_irqrestore(&wiinst->lock, flags); in emu10k1_audio_read()
79 if (wiinst->state == WAVE_STATE_CLOSED) { in emu10k1_audio_read()
80 calculate_ifrag(wiinst); in emu10k1_audio_read()
83 spin_unlock_irqrestore(&wiinst->lock, flags); in emu10k1_audio_read()
93 spin_lock_irqsave(&wiinst->lock, flags); in emu10k1_audio_read()
97 spin_unlock_irqrestore(&wiinst->lock, flags); in emu10k1_audio_read()
[all …]
Drecmgr.c65 void emu10k1_set_record_src(struct emu10k1_card *card, struct wiinst *wiinst) in emu10k1_set_record_src() argument
67 struct wavein_buffer *buffer = &wiinst->buffer; in emu10k1_set_record_src()
71 switch (wiinst->recsrc) { in emu10k1_set_record_src()
79 switch (wiinst->format.samplingrate) { in emu10k1_set_record_src()
111 if (wiinst->format.channels == 2) in emu10k1_set_record_src()
131 sblive_writeptr(card, FXWC, 0, wiinst->fxwc); in emu10k1_set_record_src()
Dcardwi.h57 struct wiinst struct
85 void emu10k1_wavein_getxfersize(struct wiinst *, u32 *); argument
86 void emu10k1_wavein_xferdata(struct wiinst *, u8 *, u32 *);
88 void emu10k1_wavein_update(struct emu10k1_card *, struct wiinst *);
Daudio.h39 struct wiinst *wiinst; member
Drecmgr.h46 void emu10k1_set_record_src(struct emu10k1_card *, struct wiinst *wiinst);
Dhwaccess.h92 struct wiinst *ac97;
93 struct wiinst *mic;
94 struct wiinst *fx;