Home
last modified time | relevance | path

Searched refs:emu (Results 1 - 25 of 211) sorted by relevance

123456789

/kernel/linux/linux-5.10/include/sound/
H A Demu8000_reg.h30 #define EMU8000_CPF_READ(emu, chan) \
31 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)))
32 #define EMU8000_PTRX_READ(emu, chan) \
33 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)))
34 #define EMU8000_CVCF_READ(emu, chan) \
35 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)))
36 #define EMU8000_VTFT_READ(emu, cha
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Demu8000_reg.h30 #define EMU8000_CPF_READ(emu, chan) \
31 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)))
32 #define EMU8000_PTRX_READ(emu, chan) \
33 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)))
34 #define EMU8000_CVCF_READ(emu, chan) \
35 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)))
36 #define EMU8000_VTFT_READ(emu, cha
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Demu10k1_main.c39 #define HANA_FILENAME "emu/hana.fw"
40 #define DOCK_FILENAME "emu/audio_dock.fw"
41 #define EMU1010B_FILENAME "emu/emu1010b.fw"
42 #define MICRO_DOCK_FILENAME "emu/micro_dock.fw"
43 #define EMU0404_FILENAME "emu/emu0404.fw"
44 #define EMU1010_NOTEBOOK_FILENAME "emu/emu1010_notebook.fw"
58 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init() argument
60 snd_emu10k1_ptr_write(emu, DCYSUSV, ch, 0); in snd_emu10k1_voice_init()
61 snd_emu10k1_ptr_write(emu, IP, ch, 0); in snd_emu10k1_voice_init()
62 snd_emu10k1_ptr_write(emu, VTF in snd_emu10k1_voice_init()
143 snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) snd_emu10k1_init() argument
344 snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) snd_emu10k1_audio_enable() argument
394 snd_emu10k1_done(struct snd_emu10k1 *emu) snd_emu10k1_done() argument
517 snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) snd_emu10k1_ecard_write() argument
555 snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, unsigned short gain) snd_emu10k1_ecard_setadcgain() argument
583 snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) snd_emu10k1_ecard_init() argument
623 snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) snd_emu10k1_cardbus_init() argument
650 snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, const struct firmware *fw_entry) snd_emu1010_load_firmware_entry() argument
712 snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, const struct firmware **fw) snd_emu1010_load_firmware() argument
732 struct snd_emu10k1 *emu; emu1010_firmware_work() local
827 snd_emu10k1_emu1010_init(struct snd_emu10k1 *emu) snd_emu10k1_emu1010_init() argument
1245 snd_emu10k1_free(struct snd_emu10k1 *emu) snd_emu10k1_free() argument
1282 struct snd_emu10k1 *emu = device->device_data; snd_emu10k1_dev_free() local
1761 snd_emu10k1_detect_iommu(struct snd_emu10k1 *emu) snd_emu10k1_detect_iommu() argument
1788 struct snd_emu10k1 *emu; snd_emu10k1_create() local
2070 alloc_pm_buffer(struct snd_emu10k1 *emu) alloc_pm_buffer() argument
2088 free_pm_buffer(struct snd_emu10k1 *emu) free_pm_buffer() argument
2096 snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu) snd_emu10k1_suspend_regs() argument
2116 snd_emu10k1_resume_init(struct snd_emu10k1 *emu) snd_emu10k1_resume_init() argument
2129 snd_emu10k1_resume_regs(struct snd_emu10k1 *emu) snd_emu10k1_resume_regs() argument
[all...]
H A Dio.c21 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read() argument
27 mask = emu->audigy ? A_PTR_ADDRESS_MASK : PTR_ADDRESS_MASK; in snd_emu10k1_ptr_read()
37 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
38 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
39 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
40 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
44 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
45 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
46 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
47 spin_unlock_irqrestore(&emu in snd_emu10k1_ptr_read()
54 snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data) snd_emu10k1_ptr_write() argument
88 snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) snd_emu10k1_ptr20_read() argument
104 snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data) snd_emu10k1_ptr20_write() argument
120 snd_emu10k1_spi_write(struct snd_emu10k1 * emu, unsigned int data) snd_emu10k1_spi_write() argument
174 snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value) snd_emu10k1_i2c_write() argument
236 snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value) snd_emu1010_fpga_write() argument
258 snd_emu1010_fpga_read(struct snd_emu10k1 * emu, u32 reg, u32 *value) snd_emu1010_fpga_read() argument
278 snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src) snd_emu1010_fpga_link_dst_src_write() argument
288 snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_emu10k1_intr_enable() argument
299 snd_emu10k1_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_emu10k1_intr_disable() argument
310 snd_emu10k1_voice_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_enable() argument
330 snd_emu10k1_voice_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_disable() argument
350 snd_emu10k1_voice_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_ack() argument
367 snd_emu10k1_voice_half_loop_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_enable() argument
387 snd_emu10k1_voice_half_loop_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_disable() argument
407 snd_emu10k1_voice_half_loop_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_ack() argument
424 snd_emu10k1_voice_set_loop_stop(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_set_loop_stop() argument
444 snd_emu10k1_voice_clear_loop_stop(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_clear_loop_stop() argument
464 snd_emu10k1_wait(struct snd_emu10k1 *emu, unsigned int wait) snd_emu10k1_wait() argument
485 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_ac97_read() local
498 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_ac97_write() local
[all...]
H A Dirq.c20 struct snd_emu10k1 *emu = dev_id; in snd_emu10k1_interrupt() local
25 while (((status = inl(emu->port + IPR)) != 0) && (timeout < 1000)) { in snd_emu10k1_interrupt()
30 dev_info(emu->card->dev, in snd_emu10k1_interrupt()
35 dev_err(emu->card->dev, "interrupt: PCI error\n"); in snd_emu10k1_interrupt()
36 snd_emu10k1_intr_disable(emu, INTE_PCIERRORENABLE); in snd_emu10k1_interrupt()
40 if (emu->hwvol_interrupt) in snd_emu10k1_interrupt()
41 emu->hwvol_interrupt(emu, status); in snd_emu10k1_interrupt()
43 snd_emu10k1_intr_disable(emu, INTE_VOLINCRENABLE|INTE_VOLDECRENABLE|INTE_MUTEENABLE); in snd_emu10k1_interrupt()
50 struct snd_emu10k1_voice *pvoice = emu in snd_emu10k1_interrupt()
[all...]
H A Demupcm.c23 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt() argument
33 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt()
35 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
42 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt() argument
47 if (emu->pcm_capture_substream->runtime->mode == SNDRV_PCM_MODE_FRAME) in snd_emu10k1_pcm_ac97adc_interrupt()
51 snd_pcm_period_elapsed(emu->pcm_capture_substream); in snd_emu10k1_pcm_ac97adc_interrupt()
54 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt() argument
59 if (emu->pcm_capture_mic_substream->runtime->mode == SNDRV_PCM_MODE_FRAME) in snd_emu10k1_pcm_ac97mic_interrupt()
63 snd_pcm_period_elapsed(emu->pcm_capture_mic_substream); in snd_emu10k1_pcm_ac97mic_interrupt()
66 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt() argument
80 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_pointer() local
268 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, int master, int extra, struct snd_emu10k1_voice *evoice, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_pcm_init_voice() argument
396 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_hw_params() local
431 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_hw_free() local
461 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_hw_free() local
490 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_prepare() local
518 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_prepare() local
574 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_prepare() local
619 snd_emu10k1_playback_invalidate_cache(struct snd_emu10k1 *emu, int extra, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_invalidate_cache() argument
654 snd_emu10k1_playback_prepare_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, int master, int extra, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_prepare_voice() argument
679 snd_emu10k1_playback_trigger_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, int master, int extra) snd_emu10k1_playback_trigger_voice() argument
704 snd_emu10k1_playback_stop_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_stop_voice() argument
720 snd_emu10k1_playback_mangle_extra(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, struct snd_pcm_substream *substream, struct snd_pcm_runtime *runtime) snd_emu10k1_playback_mangle_extra() argument
740 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_trigger() local
789 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_trigger() local
857 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_pointer() local
891 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_trigger() local
940 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_pointer() local
1029 snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate) snd_emu10k1_pcm_mixer_notify1() argument
1044 snd_emu10k1_pcm_mixer_notify(struct snd_emu10k1 *emu, int idx, int activate) snd_emu10k1_pcm_mixer_notify() argument
1051 snd_emu10k1_pcm_efx_mixer_notify(struct snd_emu10k1 *emu, int idx, int activate) snd_emu10k1_pcm_efx_mixer_notify() argument
1065 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_close() local
1079 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_open() local
1112 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_open() local
1158 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_close() local
1168 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_open() local
1195 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_close() local
1204 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_mic_open() local
1233 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_mic_close() local
1242 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_efx_open() local
1341 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_efx_close() local
1377 snd_emu10k1_pcm(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm() argument
1409 snd_emu10k1_pcm_multi(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_multi() argument
1444 snd_emu10k1_pcm_mic(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_mic() argument
1468 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_info() local
1479 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_get() local
1492 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_put() local
1543 snd_emu10k1_fx8010_playback_irq(struct snd_emu10k1 *emu, void *private_data) snd_emu10k1_fx8010_playback_irq() argument
1577 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); fx8010_pb_trans_copy() local
1605 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_transfer() local
1614 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_hw_free() local
1625 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_prepare() local
1654 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_trigger() local
1701 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_pointer() local
1733 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_open() local
1752 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_close() local
1771 snd_emu10k1_pcm_efx(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_efx() argument
[all...]
H A Demumpu401.c15 static inline unsigned char mpu401_read(struct snd_emu10k1 *emu, in mpu401_read() argument
18 if (emu->audigy) in mpu401_read()
19 return (unsigned char)snd_emu10k1_ptr_read(emu, mpu->port + idx, 0); in mpu401_read()
21 return inb(emu->port + mpu->port + idx); in mpu401_read()
24 static inline void mpu401_write(struct snd_emu10k1 *emu, in mpu401_write() argument
27 if (emu->audigy) in mpu401_write()
28 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
30 outb(data, emu->port + mpu->port + idx); in mpu401_write()
33 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mp
45 mpu401_clear_rx(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *mpu) mpu401_clear_rx() argument
62 do_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, unsigned int status) do_emu10k1_midi_interrupt() argument
95 snd_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, unsigned int status) snd_emu10k1_midi_interrupt() argument
100 snd_emu10k1_midi_interrupt2(struct snd_emu10k1 *emu, unsigned int status) snd_emu10k1_midi_interrupt2() argument
105 snd_emu10k1_midi_cmd(struct snd_emu10k1 * emu, struct snd_emu10k1_midi *midi, unsigned char cmd, int ack) snd_emu10k1_midi_cmd() argument
143 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_open() local
170 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_open() local
197 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_close() local
220 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_close() local
243 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_trigger() local
257 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_trigger() local
317 emu10k1_midi_init(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, int device, char *name) emu10k1_midi_init() argument
340 snd_emu10k1_midi(struct snd_emu10k1 *emu) snd_emu10k1_midi() argument
357 snd_emu10k1_audigy_midi(struct snd_emu10k1 *emu) snd_emu10k1_audigy_midi() argument
[all...]
H A Demumixer.c42 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local
46 /* Limit: emu->spdif_bits */ in snd_emu10k1_spdif_get()
49 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu10k1_spdif_get()
50 ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; in snd_emu10k1_spdif_get()
51 ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; in snd_emu10k1_spdif_get()
52 ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; in snd_emu10k1_spdif_get()
53 ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; in snd_emu10k1_spdif_get()
54 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu10k1_spdif_get()
381 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() local
383 if (emu in snd_emu1010_input_output_source_info()
392 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_output_source_get() local
408 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_output_source_put() local
438 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_input_source_get() local
452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_input_source_put() local
579 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_adc_pads_get() local
587 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_adc_pads_put() local
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_dac_pads_get() local
635 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_dac_pads_put() local
686 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_internal_clock_get() local
695 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_internal_clock_put() local
808 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_out_get() local
817 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_out_put() local
859 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_in_get() local
868 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_in_put() local
915 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_capture_source_get() local
924 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_capture_source_put() local
989 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_volume_get() local
1006 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_volume_put() local
1143 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_spdif_put() local
1187 update_emu10k1_fxrt(struct snd_emu10k1 *emu, int voice, unsigned char *route) update_emu10k1_fxrt() argument
1200 update_emu10k1_send_volume(struct snd_emu10k1 *emu, int voice, unsigned char *volume) update_emu10k1_send_volume() argument
1219 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_info() local
1231 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_get() local
1251 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_put() local
1295 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_info() local
1307 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_get() local
1324 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_put() local
1376 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_attn_get() local
1393 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_attn_put() local
1433 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_info() local
1445 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_get() local
1464 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_put() local
1503 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_info() local
1515 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_get() local
1532 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_put() local
1580 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_attn_get() local
1595 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_attn_put() local
1631 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_shared_spdif_get() local
1648 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_shared_spdif_put() local
1705 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_capture_boost_get() local
1717 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_capture_boost_put() local
1741 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_mixer_free_ac97() local
1775 snd_emu10k1_mixer(struct snd_emu10k1 *emu, int pcm_device, int multi_device) snd_emu10k1_mixer() argument
[all...]
H A Demuproc.c23 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status() argument
35 status = snd_emu10k1_ptr_read(emu, status_reg, 0); in snd_emu10k1_proc_spdif_status()
53 rate = snd_emu10k1_ptr_read(emu, rate_reg, 0); in snd_emu10k1_proc_spdif_status()
172 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() local
174 int nefx = emu->audigy ? 64 : 32; in snd_emu10k1_proc_read()
175 const char * const *outputs = emu->audigy ? audigy_outs : creative_outs; in snd_emu10k1_proc_read()
180 emu->audigy ? "Audigy" : (emu->card_capabilities->ecard ? "EMU APS" : "Creative")); in snd_emu10k1_proc_read()
181 snd_iprintf(buffer, "Internal TRAM (words) : 0x%x\n", emu->fx8010.itram_size); in snd_emu10k1_proc_read()
182 snd_iprintf(buffer, "External TRAM (words) : 0x%x\n", (int)emu in snd_emu10k1_proc_read()
226 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_spdif_read() local
266 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_rates_read() local
280 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_acode_read() local
324 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_fx8010_read() local
365 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_voices_read() local
386 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_emu1010_reg_read() local
400 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_read() local
416 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_write() local
431 snd_ptr_read(struct snd_emu10k1 * emu, unsigned int iobase, unsigned int reg, unsigned int chn) snd_ptr_read() argument
448 snd_ptr_write(struct snd_emu10k1 *emu, unsigned int iobase, unsigned int reg, unsigned int chn, unsigned int data) snd_ptr_write() argument
469 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_read() local
493 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_write() local
552 snd_emu10k1_proc_init(struct snd_emu10k1 *emu) snd_emu10k1_proc_init() argument
[all...]
H A Demu10k1.c91 struct snd_emu10k1 *emu; in snd_card_emu10k1_probe() local
115 &emu)) < 0) in snd_card_emu10k1_probe()
117 card->private_data = emu; in snd_card_emu10k1_probe()
118 emu->delay_pcm_irq = delay_pcm_irq[dev] & 0x1f; in snd_card_emu10k1_probe()
119 if ((err = snd_emu10k1_pcm(emu, 0)) < 0) in snd_card_emu10k1_probe()
121 if ((err = snd_emu10k1_pcm_mic(emu, 1)) < 0) in snd_card_emu10k1_probe()
123 if ((err = snd_emu10k1_pcm_efx(emu, 2)) < 0) in snd_card_emu10k1_probe()
126 if (emu->card_capabilities->ca0151_chip) { /* P16V */ in snd_card_emu10k1_probe()
128 1024, &emu->p16v_buffer); in snd_card_emu10k1_probe()
133 if ((err = snd_emu10k1_mixer(emu, in snd_card_emu10k1_probe()
204 struct snd_emu10k1 *emu = card->private_data; snd_emu10k1_suspend() local
226 struct snd_emu10k1 *emu = card->private_data; snd_emu10k1_resume() local
[all...]
H A Dmemory.c21 #define __set_ptb_entry(emu,page,addr) \
22 (((__le32 *)(emu)->ptb_pages.area)[page] = \
23 cpu_to_le32(((addr) << (emu->address_mode)) | (page)))
24 #define __get_ptb_entry(emu, page) \
25 (le32_to_cpu(((__le32 *)(emu)->ptb_pages.area)[page]))
37 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr)
39 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu
42 set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) set_ptb_entry() argument
53 set_silent_ptb(struct snd_emu10k1 *emu, int page) set_silent_ptb() argument
95 search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) search_empty_map_area() argument
134 map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) map_memblk() argument
165 unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) unmap_memblk() argument
202 search_empty(struct snd_emu10k1 *emu, int size) search_empty() argument
233 is_valid_page(struct snd_emu10k1 *emu, dma_addr_t addr) is_valid_page() argument
254 snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) snd_emu10k1_memblk_map() argument
297 snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream) snd_emu10k1_alloc_pages() argument
358 snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk) snd_emu10k1_free_pages() argument
374 snd_emu10k1_alloc_pages_maybe_wider(struct snd_emu10k1 *emu, size_t size, struct snd_dma_buffer *dmab) snd_emu10k1_alloc_pages_maybe_wider() argument
429 snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk) snd_emu10k1_synth_free() argument
473 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) __synth_free_pages() argument
505 synth_alloc_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_alloc_pages() argument
537 synth_free_pages(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) synth_free_pages() argument
547 offset_ptr(struct snd_emu10k1 *emu, int page, int offset) offset_ptr() argument
565 snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int size) snd_emu10k1_synth_bzero() argument
595 snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, const char __user *data, int size) snd_emu10k1_synth_copy_from_user() argument
[all...]
/kernel/linux/linux-5.10/sound/synth/emux/
H A Demux.c26 struct snd_emux *emu; in snd_emux_new() local
29 emu = kzalloc(sizeof(*emu), GFP_KERNEL); in snd_emux_new()
30 if (emu == NULL) in snd_emux_new()
33 spin_lock_init(&emu->voice_lock); in snd_emux_new()
34 mutex_init(&emu->register_mutex); in snd_emux_new()
36 emu->client = -1; in snd_emux_new()
38 emu->oss_synth = NULL; in snd_emux_new()
40 emu->max_voices = 0; in snd_emux_new()
41 emu in snd_emux_new()
58 struct snd_emux *emu = private_data; sf_sample_new() local
66 struct snd_emux *emu = private_data; sf_sample_free() local
73 struct snd_emux *emu = private_data; sf_sample_reset() local
77 snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name) snd_emux_register() argument
126 snd_emux_free(struct snd_emux *emu) snd_emux_free() argument
[all...]
H A Demux_seq.c55 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq() argument
61 emu->client = snd_seq_create_kernel_client(card, index, in snd_emux_init_seq()
62 "%s WaveTable", emu->name); in snd_emux_init_seq()
63 if (emu->client < 0) { in snd_emux_init_seq()
68 if (emu->num_ports < 0) { in snd_emux_init_seq()
70 emu->num_ports = 1; in snd_emux_init_seq()
71 } else if (emu->num_ports >= SNDRV_EMUX_MAX_PORTS) { in snd_emux_init_seq()
74 emu->num_ports = SNDRV_EMUX_MAX_PORTS; in snd_emux_init_seq()
83 for (i = 0; i < emu->num_ports; i++) { in snd_emux_init_seq()
86 sprintf(tmpname, "%s Port %d", emu in snd_emux_init_seq()
109 snd_emux_detach_seq(struct snd_emux *emu) snd_emux_detach_seq() argument
126 snd_emux_create_port(struct snd_emux *emu, char *name, int max_channels, int oss_port, struct snd_seq_port_callback *callback) snd_emux_create_port() argument
258 __snd_emux_inc_count(struct snd_emux *emu) __snd_emux_inc_count() argument
272 snd_emux_inc_count(struct snd_emux *emu) snd_emux_inc_count() argument
286 __snd_emux_dec_count(struct snd_emux *emu) __snd_emux_dec_count() argument
295 snd_emux_dec_count(struct snd_emux *emu) snd_emux_dec_count() argument
309 struct snd_emux *emu; snd_emux_use() local
332 struct snd_emux *emu; snd_emux_unuse() local
352 snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) snd_emux_init_virmidi() argument
389 snd_emux_delete_virmidi(struct snd_emux *emu) snd_emux_delete_virmidi() argument
[all...]
/kernel/linux/linux-6.6/sound/synth/emux/
H A Demux.c26 struct snd_emux *emu; in snd_emux_new() local
29 emu = kzalloc(sizeof(*emu), GFP_KERNEL); in snd_emux_new()
30 if (emu == NULL) in snd_emux_new()
33 spin_lock_init(&emu->voice_lock); in snd_emux_new()
34 mutex_init(&emu->register_mutex); in snd_emux_new()
36 emu->client = -1; in snd_emux_new()
38 emu->oss_synth = NULL; in snd_emux_new()
40 emu->max_voices = 0; in snd_emux_new()
41 emu in snd_emux_new()
58 struct snd_emux *emu = private_data; sf_sample_new() local
66 struct snd_emux *emu = private_data; sf_sample_free() local
73 struct snd_emux *emu = private_data; sf_sample_reset() local
77 snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name) snd_emux_register() argument
127 snd_emux_free(struct snd_emux *emu) snd_emux_free() argument
[all...]
H A Demux_seq.c55 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq() argument
61 emu->client = snd_seq_create_kernel_client(card, index, in snd_emux_init_seq()
62 "%s WaveTable", emu->name); in snd_emux_init_seq()
63 if (emu->client < 0) { in snd_emux_init_seq()
68 if (emu->num_ports < 0) { in snd_emux_init_seq()
70 emu->num_ports = 1; in snd_emux_init_seq()
71 } else if (emu->num_ports >= SNDRV_EMUX_MAX_PORTS) { in snd_emux_init_seq()
74 emu->num_ports = SNDRV_EMUX_MAX_PORTS; in snd_emux_init_seq()
83 for (i = 0; i < emu->num_ports; i++) { in snd_emux_init_seq()
86 sprintf(tmpname, "%s Port %d", emu in snd_emux_init_seq()
109 snd_emux_detach_seq(struct snd_emux *emu) snd_emux_detach_seq() argument
126 snd_emux_create_port(struct snd_emux *emu, char *name, int max_channels, int oss_port, struct snd_seq_port_callback *callback) snd_emux_create_port() argument
258 __snd_emux_inc_count(struct snd_emux *emu) __snd_emux_inc_count() argument
272 snd_emux_inc_count(struct snd_emux *emu) snd_emux_inc_count() argument
286 __snd_emux_dec_count(struct snd_emux *emu) __snd_emux_dec_count() argument
295 snd_emux_dec_count(struct snd_emux *emu) snd_emux_dec_count() argument
309 struct snd_emux *emu; snd_emux_use() local
332 struct snd_emux *emu; snd_emux_unuse() local
352 snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) snd_emux_init_virmidi() argument
389 snd_emux_delete_virmidi(struct snd_emux *emu) snd_emux_delete_virmidi() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Dirq.c14 struct snd_emu10k1 *emu = dev_id; in snd_emu10k1_interrupt() local
19 while ((status = inl(emu->port + IPR)) != 0) { in snd_emu10k1_interrupt()
22 dev_info(emu->card->dev, in snd_emu10k1_interrupt()
27 dev_info(emu->card->dev, "emu10k1 irq routine failure\n"); in snd_emu10k1_interrupt()
32 dev_err(emu->card->dev, "interrupt: PCI error\n"); in snd_emu10k1_interrupt()
33 snd_emu10k1_intr_disable(emu, INTE_PCIERRORENABLE); in snd_emu10k1_interrupt()
37 if (emu->hwvol_interrupt) in snd_emu10k1_interrupt()
38 emu->hwvol_interrupt(emu, status); in snd_emu10k1_interrupt()
40 snd_emu10k1_intr_disable(emu, INTE_VOLINCRENABL in snd_emu10k1_interrupt()
[all...]
H A Dio.c19 static inline bool check_ptr_reg(struct snd_emu10k1 *emu, unsigned int reg) in check_ptr_reg() argument
21 if (snd_BUG_ON(!emu)) in check_ptr_reg()
23 if (snd_BUG_ON(reg & (emu->audigy ? (0xffff0000 & ~A_PTR_ADDRESS_MASK) in check_ptr_reg()
31 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read() argument
38 if (!check_ptr_reg(emu, regptr)) in snd_emu10k1_ptr_read()
41 spin_lock_irqsave(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
42 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
43 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
44 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_emu10k1_ptr_read()
61 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigne argument
95 snd_emu10k1_ptr_write_multiple(struct snd_emu10k1 *emu, unsigned int chn, ...) snd_emu10k1_ptr_write_multiple() argument
126 snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) snd_emu10k1_ptr20_read() argument
142 snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data) snd_emu10k1_ptr20_write() argument
158 snd_emu10k1_spi_write(struct snd_emu10k1 * emu, unsigned int data) snd_emu10k1_spi_write() argument
212 snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value) snd_emu10k1_i2c_write() argument
274 snd_emu1010_fpga_write_locked(struct snd_emu10k1 *emu, u32 reg, u32 value) snd_emu1010_fpga_write_locked() argument
290 snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) snd_emu1010_fpga_write() argument
299 snd_emu1010_fpga_read_locked(struct snd_emu10k1 *emu, u32 reg, u32 *value) snd_emu1010_fpga_read_locked() argument
316 snd_emu1010_fpga_read(struct snd_emu10k1 *emu, u32 reg, u32 *value) snd_emu1010_fpga_read() argument
328 snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 *emu, u32 dst, u32 src) snd_emu1010_fpga_link_dst_src_write() argument
344 snd_emu1010_fpga_link_dst_src_read(struct snd_emu10k1 *emu, u32 dst) snd_emu1010_fpga_link_dst_src_read() argument
360 snd_emu1010_get_raw_rate(struct snd_emu10k1 *emu, u8 src) snd_emu1010_get_raw_rate() argument
393 snd_emu1010_update_clock(struct snd_emu10k1 *emu) snd_emu1010_update_clock() argument
432 snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_emu10k1_intr_enable() argument
443 snd_emu10k1_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_emu10k1_intr_disable() argument
454 snd_emu10k1_voice_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_enable() argument
473 snd_emu10k1_voice_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_disable() argument
492 snd_emu10k1_voice_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_intr_ack() argument
508 snd_emu10k1_voice_half_loop_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_enable() argument
527 snd_emu10k1_voice_half_loop_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_disable() argument
546 snd_emu10k1_voice_half_loop_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum) snd_emu10k1_voice_half_loop_intr_ack() argument
602 snd_emu10k1_voice_set_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices) snd_emu10k1_voice_set_loop_stop_multiple() argument
614 snd_emu10k1_voice_clear_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices) snd_emu10k1_voice_clear_loop_stop_multiple() argument
626 snd_emu10k1_voice_clear_loop_stop_multiple_atomic(struct snd_emu10k1 *emu, u64 voices) snd_emu10k1_voice_clear_loop_stop_multiple_atomic() argument
684 snd_emu10k1_wait(struct snd_emu10k1 *emu, unsigned int wait) snd_emu10k1_wait() argument
705 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_ac97_read() local
718 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_ac97_write() local
[all...]
H A Demu10k1_main.c31 #define HANA_FILENAME "emu/hana.fw"
32 #define DOCK_FILENAME "emu/audio_dock.fw"
33 #define EMU1010B_FILENAME "emu/emu1010b.fw"
34 #define MICRO_DOCK_FILENAME "emu/micro_dock.fw"
35 #define EMU0404_FILENAME "emu/emu0404.fw"
36 #define EMU1010_NOTEBOOK_FILENAME "emu/emu1010_notebook.fw"
50 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init() argument
52 snd_emu10k1_ptr_write_multiple(emu, ch, in snd_emu10k1_voice_init()
85 if (emu->audigy) { in snd_emu10k1_voice_init()
86 snd_emu10k1_ptr_write_multiple(emu, c in snd_emu10k1_voice_init()
138 snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir) snd_emu10k1_init() argument
339 snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) snd_emu10k1_audio_enable() argument
392 snd_emu10k1_done(struct snd_emu10k1 *emu) snd_emu10k1_done() argument
522 snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) snd_emu10k1_ecard_write() argument
560 snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, unsigned short gain) snd_emu10k1_ecard_setadcgain() argument
588 snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) snd_emu10k1_ecard_init() argument
628 snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) snd_emu10k1_cardbus_init() argument
655 snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, const struct firmware *fw_entry) snd_emu1010_load_firmware_entry() argument
717 snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, const struct firmware **fw) snd_emu1010_load_firmware() argument
737 struct snd_emu10k1 *emu; emu1010_firmware_work() local
786 struct snd_emu10k1 *emu; emu1010_clock_work() local
808 emu1010_interrupt(struct snd_emu10k1 *emu) emu1010_interrupt() argument
833 snd_emu10k1_emu1010_init(struct snd_emu10k1 *emu) snd_emu10k1_emu1010_init() argument
952 struct snd_emu10k1 *emu = card->private_data; snd_emu10k1_free() local
1491 snd_emu10k1_detect_iommu(struct snd_emu10k1 *emu) snd_emu10k1_detect_iommu() argument
1514 struct snd_emu10k1 *emu = card->private_data; snd_emu10k1_create() local
1758 alloc_pm_buffer(struct snd_emu10k1 *emu) alloc_pm_buffer() argument
1776 free_pm_buffer(struct snd_emu10k1 *emu) free_pm_buffer() argument
1784 snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu) snd_emu10k1_suspend_regs() argument
1804 snd_emu10k1_resume_init(struct snd_emu10k1 *emu) snd_emu10k1_resume_init() argument
1817 snd_emu10k1_resume_regs(struct snd_emu10k1 *emu) snd_emu10k1_resume_regs() argument
[all...]
H A Demumpu401.c15 static inline unsigned char mpu401_read(struct snd_emu10k1 *emu, in mpu401_read() argument
18 if (emu->audigy) in mpu401_read()
19 return (unsigned char)snd_emu10k1_ptr_read(emu, mpu->port + idx, 0); in mpu401_read()
21 return inb(emu->port + mpu->port + idx); in mpu401_read()
24 static inline void mpu401_write(struct snd_emu10k1 *emu, in mpu401_write() argument
27 if (emu->audigy) in mpu401_write()
28 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
30 outb(data, emu->port + mpu->port + idx); in mpu401_write()
33 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mp
45 mpu401_clear_rx(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *mpu) mpu401_clear_rx() argument
62 do_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, unsigned int status) do_emu10k1_midi_interrupt() argument
95 snd_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, unsigned int status) snd_emu10k1_midi_interrupt() argument
100 snd_emu10k1_midi_interrupt2(struct snd_emu10k1 *emu, unsigned int status) snd_emu10k1_midi_interrupt2() argument
105 snd_emu10k1_midi_cmd(struct snd_emu10k1 * emu, struct snd_emu10k1_midi *midi, unsigned char cmd, int ack) snd_emu10k1_midi_cmd() argument
142 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_open() local
168 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_open() local
194 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_close() local
216 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_close() local
238 struct snd_emu10k1 *emu; snd_emu10k1_midi_input_trigger() local
252 struct snd_emu10k1 *emu; snd_emu10k1_midi_output_trigger() local
311 emu10k1_midi_init(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, int device, char *name) emu10k1_midi_init() argument
335 snd_emu10k1_midi(struct snd_emu10k1 *emu) snd_emu10k1_midi() argument
353 snd_emu10k1_audigy_midi(struct snd_emu10k1 *emu) snd_emu10k1_audigy_midi() argument
[all...]
H A Demumixer.c27 static int add_ctls(struct snd_emu10k1 *emu, const struct snd_kcontrol_new *tpl, in add_ctls() argument
36 err = snd_ctl_add(emu->card, snd_ctl_new1(&kctl, emu)); in add_ctls()
54 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local
57 /* Limit: emu->spdif_bits */ in snd_emu10k1_spdif_get()
60 ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; in snd_emu10k1_spdif_get()
61 ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; in snd_emu10k1_spdif_get()
62 ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; in snd_emu10k1_spdif_get()
63 ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; in snd_emu10k1_spdif_get()
576 static unsigned emu1010_idx(struct snd_emu10k1 *emu) in emu1010_idx() argument
581 snd_emu1010_output_source_apply(struct snd_emu10k1 *emu, int channel, int src) snd_emu1010_output_source_apply() argument
591 snd_emu1010_input_source_apply(struct snd_emu10k1 *emu, int channel, int src) snd_emu1010_input_source_apply() argument
601 snd_emu1010_apply_sources(struct snd_emu10k1 *emu) snd_emu1010_apply_sources() argument
626 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_input_output_source_info() local
636 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_output_source_get() local
650 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_output_source_put() local
680 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_input_source_get() local
694 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_input_source_put() local
721 add_emu1010_source_mixers(struct snd_emu10k1 *emu) add_emu1010_source_mixers() argument
755 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_adc_pads_get() local
764 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_adc_pads_put() local
813 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_dac_pads_get() local
822 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_dac_pads_put() local
955 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_clock_source_info() local
965 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_clock_source_get() local
974 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_clock_source_put() local
1026 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_clock_fallback_get() local
1035 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_clock_fallback_put() local
1073 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_out_get() local
1082 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_out_put() local
1124 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_in_get() local
1133 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu1010_optical_in_put() local
1180 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_capture_source_get() local
1189 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_capture_source_put() local
1253 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_volume_get() local
1270 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_i2c_volume_put() local
1400 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_spdif_put() local
1441 update_emu10k1_fxrt(struct snd_emu10k1 *emu, int voice, unsigned char *route) update_emu10k1_fxrt() argument
1454 update_emu10k1_send_volume(struct snd_emu10k1 *emu, int voice, unsigned char *volume) update_emu10k1_send_volume() argument
1470 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_info() local
1481 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_get() local
1498 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_routing_put() local
1542 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_info() local
1553 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_get() local
1567 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_send_volume_put() local
1619 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_attn_get() local
1632 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_attn_put() local
1673 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_info() local
1684 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_get() local
1700 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_routing_put() local
1739 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_info() local
1750 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_get() local
1764 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_send_volume_put() local
1812 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_attn_get() local
1823 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_efx_attn_put() local
1861 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_shared_spdif_get() local
1877 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_shared_spdif_put() local
1934 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_capture_boost_get() local
1946 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_audigy_capture_boost_put() local
1970 struct snd_emu10k1 *emu = ac97->private_data; snd_emu10k1_mixer_free_ac97() local
1995 snd_emu10k1_mixer(struct snd_emu10k1 *emu, int pcm_device, int multi_device) snd_emu10k1_mixer() argument
[all...]
H A Demupcm.c20 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt() argument
31 dev_dbg(emu->card->dev, in snd_emu10k1_pcm_interrupt()
33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt()
40 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt() argument
45 if (emu->pcm_capture_substream->runtime->mode == SNDRV_PCM_MODE_FRAME) in snd_emu10k1_pcm_ac97adc_interrupt()
49 snd_pcm_period_elapsed(emu->pcm_capture_substream); in snd_emu10k1_pcm_ac97adc_interrupt()
52 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt() argument
57 if (emu->pcm_capture_mic_substream->runtime->mode == SNDRV_PCM_MODE_FRAME) in snd_emu10k1_pcm_ac97mic_interrupt()
61 snd_pcm_period_elapsed(emu->pcm_capture_mic_substream); in snd_emu10k1_pcm_ac97mic_interrupt()
64 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt() argument
205 snd_emu10k1_constrain_capture_rates(struct snd_emu10k1 *emu, struct snd_pcm_runtime *runtime) snd_emu10k1_constrain_capture_rates() argument
223 snd_emu1010_constrain_efx_rate(struct snd_emu10k1 *emu, struct snd_pcm_runtime *runtime) snd_emu1010_constrain_efx_rate() argument
281 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, const unsigned char *send_routing, const unsigned char *send_amount) snd_emu10k1_pcm_init_voice() argument
336 snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_pcm_init_voices() argument
356 snd_emu10k1_pcm_init_extra_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, unsigned int start_addr, unsigned int end_addr) snd_emu10k1_pcm_init_extra_voice() argument
373 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_hw_params() local
419 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_hw_free() local
442 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_prepare() local
472 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_prepare() local
521 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_prepare() local
578 snd_emu10k1_playback_fill_cache(struct snd_emu10k1 *emu, unsigned voice, u32 sample, bool stereo) snd_emu10k1_playback_fill_cache() argument
602 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, bool w_16, bool stereo, int channels) snd_emu10k1_playback_prepare_voices() argument
650 snd_emu10k1_playback_commit_volume(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, unsigned int vattn) snd_emu10k1_playback_commit_volume() argument
660 snd_emu10k1_playback_unmute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, bool master, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voice() argument
673 snd_emu10k1_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voices() argument
683 snd_emu10k1_playback_mute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_mute_voice() argument
689 snd_emu10k1_playback_mute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo) snd_emu10k1_playback_mute_voices() argument
698 snd_emu10k1_playback_commit_pitch(struct snd_emu10k1 *emu, u32 voice, u32 pitch_target) snd_emu10k1_playback_commit_pitch() argument
709 snd_emu10k1_playback_trigger_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_trigger_voice() argument
718 snd_emu10k1_playback_stop_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_stop_voice() argument
727 snd_emu10k1_playback_set_running(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm) snd_emu10k1_playback_set_running() argument
734 snd_emu10k1_playback_set_stopped(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm) snd_emu10k1_playback_set_stopped() argument
744 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_trigger() local
789 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_trigger() local
861 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_pointer() local
906 snd_emu10k1_efx_playback_freeze_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_freeze_voices() argument
917 snd_emu10k1_efx_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_unmute_voices() argument
926 snd_emu10k1_efx_playback_stop_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_stop_voices() argument
941 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_trigger() local
1007 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_pointer() local
1093 snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate) snd_emu10k1_pcm_mixer_notify1() argument
1108 snd_emu10k1_pcm_mixer_notify(struct snd_emu10k1 *emu, int idx, int activate) snd_emu10k1_pcm_mixer_notify() argument
1115 snd_emu10k1_pcm_efx_mixer_notify(struct snd_emu10k1 *emu, int idx, int activate) snd_emu10k1_pcm_efx_mixer_notify() argument
1129 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_close() local
1159 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_efx_playback_open() local
1198 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_open() local
1241 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_playback_close() local
1251 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_open() local
1279 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_close() local
1288 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_mic_open() local
1317 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_mic_close() local
1326 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_efx_open() local
1396 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_capture_efx_close() local
1432 snd_emu10k1_pcm(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm() argument
1465 snd_emu10k1_pcm_multi(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_multi() argument
1501 snd_emu10k1_pcm_mic(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_mic() argument
1526 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_info() local
1537 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_get() local
1548 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_emu10k1_pcm_efx_voices_mask_put() local
1594 snd_emu10k1_fx8010_playback_irq(struct snd_emu10k1 *emu, void *private_data) snd_emu10k1_fx8010_playback_irq() argument
1628 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); fx8010_pb_trans_copy() local
1656 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_transfer() local
1665 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_hw_free() local
1676 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_prepare() local
1707 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_trigger() local
1754 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_pointer() local
1786 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_open() local
1805 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_emu10k1_fx8010_playback_close() local
1824 snd_emu10k1_pcm_efx(struct snd_emu10k1 *emu, int device) snd_emu10k1_pcm_efx() argument
[all...]
H A Dp16v.c159 dev_dbg(emu->card->dev, "epcm device=%d, channel_id=%d\n", in snd_p16v_pcm_open_playback_channel()
166 dev_dbg(emu->card->dev, in snd_p16v_pcm_open_playback_channel()
169 dev_dbg(emu->card->dev, "open:channel_id=%d, chip=%p, channel=%p\n", in snd_p16v_pcm_open_playback_channel()
192 dev_dbg(emu->card->dev, "epcm device=%d, channel_id=%d\n", in snd_p16v_pcm_open_capture_channel()
232 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback() local
234 int channel = substream->pcm->device - emu->p16v_device_offset; in snd_p16v_pcm_prepare_playback()
235 u32 *table_base = (u32 *)(emu->p16v_buffer->area+(8*16*channel)); in snd_p16v_pcm_prepare_playback()
241 dev_dbg(emu->card->dev, in snd_p16v_pcm_prepare_playback()
248 dev_dbg(emu->card->dev, in snd_p16v_pcm_prepare_playback()
251 dev_dbg(emu in snd_p16v_pcm_prepare_playback()
299 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_p16v_pcm_prepare_capture() local
337 snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_p16v_intr_enable() argument
348 snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) snd_p16v_intr_disable() argument
359 snd_p16v_interrupt(struct snd_emu10k1 *emu) snd_p16v_interrupt() argument
399 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_p16v_pcm_trigger_playback() local
451 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_p16v_pcm_trigger_capture() local
480 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_p16v_pcm_pointer_playback() local
505 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); snd_p16v_pcm_pointer_capture() local
547 snd_p16v_pcm(struct snd_emu10k1 *emu, int device) snd_p16v_pcm() argument
614 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_volume_get() local
633 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_volume_put() local
669 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_capture_source_get() local
678 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_capture_source_put() local
708 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_capture_channel_get() local
717 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); snd_p16v_capture_channel_put() local
772 snd_p16v_mixer(struct snd_emu10k1 *emu) snd_p16v_mixer() argument
789 snd_p16v_alloc_pm_buffer(struct snd_emu10k1 *emu) snd_p16v_alloc_pm_buffer() argument
797 snd_p16v_free_pm_buffer(struct snd_emu10k1 *emu) snd_p16v_free_pm_buffer() argument
802 snd_p16v_suspend(struct snd_emu10k1 *emu) snd_p16v_suspend() argument
813 snd_p16v_resume(struct snd_emu10k1 *emu) snd_p16v_resume() argument
[all...]
H A Demuproc.c18 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status() argument
30 status = snd_emu10k1_ptr_read(emu, status_reg, 0); in snd_emu10k1_proc_spdif_status()
48 rate = snd_emu10k1_ptr_read(emu, rate_reg, 0); in snd_emu10k1_proc_spdif_status()
64 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() local
65 const char * const *inputs = emu->audigy ? in snd_emu10k1_proc_read()
67 const char * const *outputs = emu->audigy ? in snd_emu10k1_proc_read()
69 unsigned short extin_mask = emu->audigy ? ~0 : emu->fx8010.extin_mask; in snd_emu10k1_proc_read()
70 unsigned short extout_mask = emu->audigy ? ~0 : emu in snd_emu10k1_proc_read()
163 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_spdif_read() local
216 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_rates_read() local
333 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_acode_read() local
385 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_fx8010_read() local
426 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_voices_read() local
447 snd_emu_proc_emu1010_link_read(struct snd_emu10k1 *emu, struct snd_info_buffer *buffer, u32 dst) snd_emu_proc_emu1010_link_read() argument
458 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_emu1010_reg_read() local
504 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_read() local
517 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_write() local
529 snd_ptr_read(struct snd_emu10k1 * emu, unsigned int iobase, unsigned int reg, unsigned int chn) snd_ptr_read() argument
545 snd_ptr_write(struct snd_emu10k1 *emu, unsigned int iobase, unsigned int reg, unsigned int chn, unsigned int data) snd_ptr_write() argument
565 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_read() local
587 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_write() local
607 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_write20() local
648 snd_emu10k1_proc_init(struct snd_emu10k1 *emu) snd_emu10k1_proc_init() argument
[all...]
/kernel/linux/linux-5.10/sound/isa/sb/
H A Demu8000.c35 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int val) in snd_emu8000_poke() argument
38 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_poke()
39 if (reg != emu->last_reg) { in snd_emu8000_poke()
40 outw((unsigned short)reg, EMU8000_PTR(emu)); /* Set register */ in snd_emu8000_poke()
41 emu->last_reg = reg; in snd_emu8000_poke()
44 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_poke()
48 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek() argument
52 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_peek()
53 if (reg != emu->last_reg) { in snd_emu8000_peek()
54 outw((unsigned short)reg, EMU8000_PTR(emu)); /* Se in snd_emu8000_peek()
63 snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int val) snd_emu8000_poke_dw() argument
77 snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) snd_emu8000_peek_dw() argument
97 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) snd_emu8000_dma_chan() argument
122 snd_emu8000_read_wait(struct snd_emu8000 *emu) snd_emu8000_read_wait() argument
134 snd_emu8000_write_wait(struct snd_emu8000 *emu) snd_emu8000_write_wait() argument
147 snd_emu8000_detect(struct snd_emu8000 *emu) snd_emu8000_detect() argument
173 init_audio(struct snd_emu8000 *emu) init_audio() argument
214 init_dma(struct snd_emu8000 *emu) init_dma() argument
318 send_array(struct snd_emu8000 *emu, const unsigned short *data, int size) send_array() argument
340 init_arrays(struct snd_emu8000 *emu) init_arrays() argument
366 size_dram(struct snd_emu8000 *emu) size_dram() argument
456 snd_emu8000_init_fm(struct snd_emu8000 *emu) snd_emu8000_init_fm() argument
502 snd_emu8000_init_hw(struct snd_emu8000 *emu) snd_emu8000_init_hw() argument
586 snd_emu8000_update_equalizer(struct snd_emu8000 *emu) snd_emu8000_update_equalizer() argument
651 snd_emu8000_load_chorus_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len) snd_emu8000_load_chorus_fx() argument
666 snd_emu8000_update_chorus_mode(struct snd_emu8000 *emu) snd_emu8000_update_chorus_mode() argument
778 snd_emu8000_load_reverb_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len) snd_emu8000_load_reverb_fx() argument
794 snd_emu8000_update_reverb_mode(struct snd_emu8000 *emu) snd_emu8000_update_reverb_mode() argument
831 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_bass_treble_get() local
839 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_bass_treble_put() local
892 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_chorus_reverb_get() local
900 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_chorus_reverb_put() local
959 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_fm_depth_get() local
967 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_fm_depth_put() local
1021 snd_emu8000_create_mixer(struct snd_card *card, struct snd_emu8000 *emu) snd_emu8000_create_mixer() argument
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H A Demu8000.c35 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int val) in snd_emu8000_poke() argument
38 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_poke()
39 if (reg != emu->last_reg) { in snd_emu8000_poke()
40 outw((unsigned short)reg, EMU8000_PTR(emu)); /* Set register */ in snd_emu8000_poke()
41 emu->last_reg = reg; in snd_emu8000_poke()
44 spin_unlock_irqrestore(&emu->reg_lock, flags); in snd_emu8000_poke()
48 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek() argument
52 spin_lock_irqsave(&emu->reg_lock, flags); in snd_emu8000_peek()
53 if (reg != emu->last_reg) { in snd_emu8000_peek()
54 outw((unsigned short)reg, EMU8000_PTR(emu)); /* Se in snd_emu8000_peek()
63 snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int val) snd_emu8000_poke_dw() argument
77 snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) snd_emu8000_peek_dw() argument
97 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) snd_emu8000_dma_chan() argument
122 snd_emu8000_read_wait(struct snd_emu8000 *emu) snd_emu8000_read_wait() argument
134 snd_emu8000_write_wait(struct snd_emu8000 *emu) snd_emu8000_write_wait() argument
147 snd_emu8000_detect(struct snd_emu8000 *emu) snd_emu8000_detect() argument
173 init_audio(struct snd_emu8000 *emu) init_audio() argument
214 init_dma(struct snd_emu8000 *emu) init_dma() argument
318 send_array(struct snd_emu8000 *emu, const unsigned short *data, int size) send_array() argument
340 init_arrays(struct snd_emu8000 *emu) init_arrays() argument
366 size_dram(struct snd_emu8000 *emu) size_dram() argument
456 snd_emu8000_init_fm(struct snd_emu8000 *emu) snd_emu8000_init_fm() argument
502 snd_emu8000_init_hw(struct snd_emu8000 *emu) snd_emu8000_init_hw() argument
586 snd_emu8000_update_equalizer(struct snd_emu8000 *emu) snd_emu8000_update_equalizer() argument
651 snd_emu8000_load_chorus_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len) snd_emu8000_load_chorus_fx() argument
666 snd_emu8000_update_chorus_mode(struct snd_emu8000 *emu) snd_emu8000_update_chorus_mode() argument
778 snd_emu8000_load_reverb_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len) snd_emu8000_load_reverb_fx() argument
794 snd_emu8000_update_reverb_mode(struct snd_emu8000 *emu) snd_emu8000_update_reverb_mode() argument
831 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_bass_treble_get() local
839 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_bass_treble_put() local
892 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_chorus_reverb_get() local
900 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_chorus_reverb_put() local
959 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_fm_depth_get() local
967 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); mixer_fm_depth_put() local
1021 snd_emu8000_create_mixer(struct snd_card *card, struct snd_emu8000 *emu) snd_emu8000_create_mixer() argument
[all...]

Completed in 20 milliseconds

123456789