Home
last modified time | relevance | path

Searched defs:emu (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v4.19/include/sound/
Demu8000_reg.h44 #define EMU8000_CPF_READ(emu, chan) \ argument
46 #define EMU8000_PTRX_READ(emu, chan) \ argument
48 #define EMU8000_CVCF_READ(emu, chan) \ argument
50 #define EMU8000_VTFT_READ(emu, chan) \ argument
52 #define EMU8000_PSST_READ(emu, chan) \ argument
54 #define EMU8000_CSL_READ(emu, chan) \ argument
56 #define EMU8000_CCCA_READ(emu, chan) \ argument
58 #define EMU8000_HWCF4_READ(emu) \ argument
60 #define EMU8000_HWCF5_READ(emu) \ argument
62 #define EMU8000_HWCF6_READ(emu) \ argument
[all …]
/Linux-v4.19/sound/pci/emu10k1/
Demumpu401.c30 static inline unsigned char mpu401_read(struct snd_emu10k1 *emu, in mpu401_read()
39 static inline void mpu401_write(struct snd_emu10k1 *emu, in mpu401_write()
48 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument
49 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument
50 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument
51 #define mpu401_read_stat(emu, mpu) mpu401_read(emu, mpu, 1) argument
53 #define mpu401_input_avail(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x80)) argument
54 #define mpu401_output_ready(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x40)) argument
60 static void mpu401_clear_rx(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *mpu) in mpu401_clear_rx()
77 static void do_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, unsig… in do_emu10k1_midi_interrupt()
[all …]
Dio.c35 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read()
68 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write()
102 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, in snd_emu10k1_ptr20_read()
118 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write()
134 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, in snd_emu10k1_spi_write()
188 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, in snd_emu10k1_i2c_write()
250 int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value) in snd_emu1010_fpga_write()
272 int snd_emu1010_fpga_read(struct snd_emu10k1 * emu, u32 reg, u32 *value) in snd_emu1010_fpga_read()
292 int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src) in snd_emu1010_fpga_link_dst_src_write()
302 void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_emu10k1_intr_enable()
[all …]
Demupcm.c37 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt()
56 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt()
68 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt()
80 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt()
94 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_pointer() local
282 static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voice()
410 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params() local
445 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_free() local
475 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_hw_free() local
504 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_prepare() local
[all …]
Demumixer.c56 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local
395 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() local
406 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() local
422 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() local
452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() local
466 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put() local
593 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get() local
601 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put() local
641 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get() local
649 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put() local
[all …]
Demu10k1_main.c73 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init()
158 static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) in snd_emu10k1_init()
359 static void snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) in snd_emu10k1_audio_enable()
409 int snd_emu10k1_done(struct snd_emu10k1 *emu) in snd_emu10k1_done()
532 static void snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) in snd_emu10k1_ecard_write()
570 static void snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, in snd_emu10k1_ecard_setadcgain()
598 static int snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) in snd_emu10k1_ecard_init()
638 static int snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) in snd_emu10k1_cardbus_init()
665 static int snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, in snd_emu1010_load_firmware_entry()
727 static int snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, in snd_emu1010_load_firmware()
[all …]
Dmemory.c36 #define __set_ptb_entry(emu,page,addr) \ argument
39 #define __get_ptb_entry(emu, page) \ argument
52 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument
54 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument
57 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry()
68 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb()
110 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) in search_empty_map_area()
149 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk()
180 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk()
217 search_empty(struct snd_emu10k1 *emu, int size) in search_empty()
[all …]
Dp16v.c176 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_playback_channel() local
224 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_capture_channel() local
269 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_playback() local
280 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_capture() local
332 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback() local
394 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture() local
434 static void snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_enable()
445 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable()
460 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback() local
514 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture() local
[all …]
Demu10k1x.c199 struct emu10k1x *emu; member
207 struct emu10k1x *emu; member
214 struct emu10k1x *emu; member
295 static unsigned int snd_emu10k1x_ptr_read(struct emu10k1x * emu, in snd_emu10k1x_ptr_read()
311 static void snd_emu10k1x_ptr_write(struct emu10k1x *emu, in snd_emu10k1x_ptr_write()
327 static void snd_emu10k1x_intr_enable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_enable()
338 static void snd_emu10k1x_intr_disable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_disable()
349 static void snd_emu10k1x_gpio_write(struct emu10k1x *emu, unsigned int value) in snd_emu10k1x_gpio_write()
363 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt()
455 struct emu10k1x *emu = snd_pcm_substream_chip(substream); in snd_emu10k1x_pcm_prepare() local
[all …]
Demuproc.c37 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status()
186 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() local
240 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() local
280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() local
294 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() local
338 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() local
379 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read() local
400 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read() local
414 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read() local
430 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_write() local
[all …]
Demufx.c334 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_get() local
349 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() local
404 static void snd_emu10k1_fx8010_interrupt(struct snd_emu10k1 *emu) in snd_emu10k1_fx8010_interrupt()
420 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_register_irq_handler()
445 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_unregister_irq_handler()
506 static void snd_emu10k1_efx_write(struct snd_emu10k1 *emu, unsigned int pc, unsigned int data) in snd_emu10k1_efx_write()
512 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc) in snd_emu10k1_efx_read()
518 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke()
537 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek()
552 static int snd_emu10k1_tram_poke(struct snd_emu10k1 *emu, in snd_emu10k1_tram_poke()
[all …]
Dtimer.c34 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start() local
51 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop() local
78 int snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) in snd_emu10k1_timer()
Dvoice.c48 static int voice_alloc(struct snd_emu10k1 *emu, int type, int number, in voice_alloc()
115 int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int number, in snd_emu10k1_voice_alloc()
152 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, in snd_emu10k1_voice_free()
/Linux-v4.19/drivers/input/gameport/
Demu10k1-gp.c37 struct emu { struct
57 struct emu *emu; in emu_probe() argument
107 struct emu *emu = pci_get_drvdata(pdev); in emu_remove() local
/Linux-v4.19/sound/isa/sb/
Demu8000.c48 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int va… in snd_emu8000_poke()
61 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek()
76 void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int… in snd_emu8000_poke_dw()
90 unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek_dw()
110 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) in snd_emu8000_dma_chan()
135 snd_emu8000_read_wait(struct snd_emu8000 *emu) in snd_emu8000_read_wait()
147 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait()
160 snd_emu8000_detect(struct snd_emu8000 *emu) in snd_emu8000_detect()
186 init_audio(struct snd_emu8000 *emu) in init_audio()
227 init_dma(struct snd_emu8000 *emu) in init_dma()
[all …]
Demu8000_patch.c37 snd_emu8000_open_dma(struct snd_emu8000 *emu, int write) in snd_emu8000_open_dma()
64 snd_emu8000_close_dma(struct snd_emu8000 *emu) in snd_emu8000_close_dma()
111 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait()
133 write_word(struct snd_emu8000 *emu, int *offset, unsigned short data) in write_word()
158 struct snd_emu8000 *emu; in snd_emu8000_sample_new() local
/Linux-v4.19/sound/synth/emux/
Demux_seq.c68 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq()
122 snd_emux_detach_seq(struct snd_emux *emu) in snd_emux_detach_seq()
139 snd_emux_create_port(struct snd_emux *emu, char *name, in snd_emux_create_port()
271 __snd_emux_inc_count(struct snd_emux *emu) in __snd_emux_inc_count()
285 int snd_emux_inc_count(struct snd_emux *emu) in snd_emux_inc_count()
299 __snd_emux_dec_count(struct snd_emux *emu) in __snd_emux_dec_count()
308 void snd_emux_dec_count(struct snd_emux *emu) in snd_emux_dec_count()
322 struct snd_emux *emu; in snd_emux_use() local
345 struct snd_emux *emu; in snd_emux_unuse() local
365 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) in snd_emux_init_virmidi()
[all …]
Demux.c39 struct snd_emux *emu; in snd_emux_new() local
71 struct snd_emux *emu = private_data; in sf_sample_new() local
79 struct snd_emux *emu = private_data; in sf_sample_free() local
86 struct snd_emux *emu = private_data; in sf_sample_reset() local
90 int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name) in snd_emux_register()
139 int snd_emux_free(struct snd_emux *emu) in snd_emux_free()
Demux_synth.c62 struct snd_emux *emu; in snd_emux_note_on() local
162 struct snd_emux *emu; in snd_emux_note_off() local
207 struct snd_emux *emu = from_timer(emu, t, tlist); in snd_emux_timer_callback() local
239 struct snd_emux *emu; in snd_emux_key_press() local
271 struct snd_emux *emu; in snd_emux_update_channel() local
298 struct snd_emux *emu; in snd_emux_update_port() local
378 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1()
401 struct snd_emux *emu; in snd_emux_terminate_note() local
420 snd_emux_terminate_all(struct snd_emux *emu) in snd_emux_terminate_all()
453 struct snd_emux *emu; in snd_emux_sounds_off_all() local
[all …]
Demux_oss.c65 snd_emux_init_seq_oss(struct snd_emux *emu) in snd_emux_init_seq_oss()
93 snd_emux_detach_seq_oss(struct snd_emux *emu) in snd_emux_detach_seq_oss()
111 struct snd_emux *emu; in snd_emux_open_seq_oss() local
177 struct snd_emux *emu; in snd_emux_close_seq_oss() local
206 struct snd_emux *emu; in snd_emux_load_patch_seq_oss() local
251 struct snd_emux *emu; in snd_emux_ioctl_seq_oss() local
303 struct snd_emux *emu; in snd_emux_event_oss_input() local
333 emuspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in emuspec_control()
428 gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in gusspec_control()
494 fake_event(struct snd_emux *emu, struct snd_emux_port *port, int ch, int param, int val, int atomic… in fake_event()
Demux_hwdep.c34 snd_emux_hwdep_load_patch(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_load_patch()
60 snd_emux_hwdep_misc_mode(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_misc_mode()
88 struct snd_emux *emu = hw->private_data; in snd_emux_hwdep_ioctl() local
120 snd_emux_init_hwdep(struct snd_emux *emu) in snd_emux_init_hwdep()
147 snd_emux_delete_hwdep(struct snd_emux *emu) in snd_emux_delete_hwdep()
Demux_proc.c31 struct snd_emux *emu; in snd_emux_proc_info_read() local
105 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device) in snd_emux_proc_init()
124 void snd_emux_proc_free(struct snd_emux *emu) in snd_emux_proc_free()
/Linux-v4.19/sound/pci/ca0106/
Dca0106_mixer.c77 static void ca0106_spdif_enable(struct snd_ca0106 *emu) in ca0106_spdif_enable()
101 static void ca0106_set_capture_source(struct snd_ca0106 *emu) in ca0106_set_capture_source()
110 static void ca0106_set_i2c_capture_source(struct snd_ca0106 *emu, in ca0106_set_i2c_capture_source()
130 static void ca0106_set_capture_mic_line_in(struct snd_ca0106 *emu) in ca0106_set_capture_mic_line_in()
148 static void ca0106_set_spdif_bits(struct snd_ca0106 *emu, int idx) in ca0106_set_spdif_bits()
163 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_get() local
172 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_put() local
198 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_get() local
207 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_put() local
235 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_get() local
[all …]
Dca0106_proc.c275 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958() local
297 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32() local
315 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32() local
331 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16() local
347 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8() local
363 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read1() local
381 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read2() local
399 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write() local
413 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_i2c_write() local
425 int snd_ca0106_proc_init(struct snd_ca0106 *emu) in snd_ca0106_proc_init()
Dca0106_main.c346 unsigned int snd_ca0106_ptr_read(struct snd_ca0106 * emu, in snd_ca0106_ptr_read()
362 void snd_ca0106_ptr_write(struct snd_ca0106 *emu, in snd_ca0106_ptr_write()
378 int snd_ca0106_spi_write(struct snd_ca0106 * emu, in snd_ca0106_spi_write()
411 int snd_ca0106_i2c_write(struct snd_ca0106 *emu, in snd_ca0106_i2c_write()
467 static void snd_ca0106_intr_enable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_enable()
478 static void snd_ca0106_intr_disable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_disable()
755 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_playback() local
868 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_capture() local
960 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_playback() local
1027 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_capture() local
[all …]

12