Home
last modified time | relevance | path

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

12

/linux/include/sound/
H A Demu8000_reg.h30 #define EMU8000_CPF_READ(emu, chan) \ argument
32 #define EMU8000_PTRX_READ(emu, chan) \ argument
34 #define EMU8000_CVCF_READ(emu, chan) \ argument
36 #define EMU8000_VTFT_READ(emu, chan) \ argument
38 #define EMU8000_PSST_READ(emu, chan) \ argument
40 #define EMU8000_CSL_READ(emu, chan) \ argument
42 #define EMU8000_CCCA_READ(emu, chan) \ argument
44 #define EMU8000_HWCF4_READ(emu) \ argument
46 #define EMU8000_HWCF5_READ(emu) \ argument
48 #define EMU8000_HWCF6_READ(emu) \ argument
[all …]
/linux/sound/pci/emu10k1/
H A Dio.c19 static inline bool check_ptr_reg(struct snd_emu10k1 *emu, unsigned int reg) 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()
60 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write()
91 void snd_emu10k1_ptr_write_multiple(struct snd_emu10k1 *emu, unsigned int chn, ...) in snd_emu10k1_ptr_write_multiple()
120 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, in snd_emu10k1_ptr20_read()
133 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write()
147 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, in snd_emu10k1_spi_write()
194 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, in snd_emu10k1_i2c_write()
254 static void snd_emu1010_fpga_write_locked(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write_locked()
271 void snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write()
[all …]
H A Demumpu401.c15 static inline unsigned char mpu401_read(struct snd_emu10k1 *emu, in mpu401_read()
24 static inline void mpu401_write(struct snd_emu10k1 *emu, in mpu401_write()
33 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument
34 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument
35 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument
36 #define mpu401_read_stat(emu, mpu) mpu401_read(emu, mpu, 1) argument
38 #define mpu401_input_avail(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x80)) argument
39 #define mpu401_output_ready(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x40)) argument
45 static void mpu401_clear_rx(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *mpu) in mpu401_clear_rx()
62 static void do_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, unsig… in do_emu10k1_midi_interrupt()
[all …]
H A Demupcm.c20 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt()
40 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt()
52 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt()
64 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt()
185 static void snd_emu10k1_constrain_capture_rates(struct snd_emu10k1 *emu, in snd_emu10k1_constrain_capture_rates()
202 static void snd_emu1010_constrain_efx_rate(struct snd_emu10k1 *emu, in snd_emu1010_constrain_efx_rate()
260 static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voice()
315 static void snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voices()
334 static void snd_emu10k1_pcm_init_extra_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_extra_voice()
351 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params() local
[all …]
H A Demu10k1_main.c50 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init()
138 static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir) in snd_emu10k1_init()
339 static void snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) in snd_emu10k1_audio_enable()
392 int snd_emu10k1_done(struct snd_emu10k1 *emu) in snd_emu10k1_done()
522 static void snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) in snd_emu10k1_ecard_write()
560 static void snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, in snd_emu10k1_ecard_setadcgain()
588 static int snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) in snd_emu10k1_ecard_init()
628 static int snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) in snd_emu10k1_cardbus_init()
671 static int snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, in snd_emu1010_load_firmware()
690 static void snd_emu1010_load_dock_firmware(struct snd_emu10k1 *emu) in snd_emu1010_load_dock_firmware()
[all …]
H A Dmemory.c21 #define __set_ptb_entry(emu,page,addr) \ argument
24 #define __get_ptb_entry(emu, page) \ argument
37 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument
39 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument
42 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry()
53 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb()
95 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) in search_empty_map_area()
134 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk()
165 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk()
206 search_empty(struct snd_emu10k1 *emu, int size) in search_empty()
[all …]
H A Demumixer.c28 static int add_ctls(struct snd_emu10k1 *emu, const struct snd_kcontrol_new *tpl, in add_ctls()
55 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local
577 static unsigned emu1010_idx(struct snd_emu10k1 *emu) in emu1010_idx()
582 static void snd_emu1010_output_source_apply(struct snd_emu10k1 *emu, in snd_emu1010_output_source_apply()
592 static void snd_emu1010_input_source_apply(struct snd_emu10k1 *emu, in snd_emu1010_input_source_apply()
602 static void snd_emu1010_apply_sources(struct snd_emu10k1 *emu) in snd_emu1010_apply_sources()
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() local
637 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() local
651 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() local
682 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() local
[all …]
H A Demu10k1x.c185 struct emu10k1x *emu; member
193 struct emu10k1x *emu; member
200 struct emu10k1x *emu; member
280 static unsigned int snd_emu10k1x_ptr_read(struct emu10k1x * emu, in snd_emu10k1x_ptr_read()
293 static void snd_emu10k1x_ptr_write(struct emu10k1x *emu, in snd_emu10k1x_ptr_write()
307 static void snd_emu10k1x_intr_enable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_enable()
316 static void snd_emu10k1x_intr_disable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_disable()
325 static void snd_emu10k1x_gpio_write(struct emu10k1x *emu, unsigned int value) in snd_emu10k1x_gpio_write()
336 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt()
429 struct emu10k1x *emu = snd_pcm_substream_chip(substream); in snd_emu10k1x_pcm_prepare() local
[all …]
H A Dp16v.c238 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback() local
305 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture() local
343 static void snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_enable()
352 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable()
361 static void snd_p16v_interrupt(struct snd_emu10k1 *emu) in snd_p16v_interrupt()
401 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback() local
453 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture() local
482 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_playback() local
507 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_capture() local
550 int snd_p16v_pcm(struct snd_emu10k1 *emu, int device) in snd_p16v_pcm()
[all …]
H A Demufx.c362 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() local
421 static void snd_emu10k1_fx8010_interrupt(struct snd_emu10k1 *emu) in snd_emu10k1_fx8010_interrupt()
437 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_register_irq_handler()
459 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_unregister_irq_handler()
519 static void snd_emu10k1_efx_write(struct snd_emu10k1 *emu, unsigned int pc, unsigned int data) in snd_emu10k1_efx_write()
525 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc) in snd_emu10k1_efx_read()
531 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke()
550 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek()
565 static int snd_emu10k1_tram_poke(struct snd_emu10k1 *emu, in snd_emu10k1_tram_poke()
594 static int snd_emu10k1_tram_peek(struct snd_emu10k1 *emu, in snd_emu10k1_tram_peek()
[all …]
H A Demuproc.c19 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status()
65 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() local
164 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() local
219 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() local
336 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() local
388 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() local
429 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read() local
450 static void snd_emu_proc_emu1010_link_read(struct snd_emu10k1 *emu, in snd_emu_proc_emu1010_link_read()
461 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read() local
510 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read() local
[all …]
H A Dtimer.c16 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start() local
30 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop() local
39 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_c_resolution() local
51 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_precise_resolution() local
70 int snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) in snd_emu10k1_timer()
H A Dvoice.c24 static int voice_alloc(struct snd_emu10k1 *emu, int type, int number, in voice_alloc()
67 static void voice_free(struct snd_emu10k1 *emu, in voice_free()
77 int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int count, int channels, in snd_emu10k1_voice_alloc()
121 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, in snd_emu10k1_voice_free()
/linux/sound/isa/sb/
H A Demu8000.c36 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int va… in snd_emu8000_poke()
47 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek()
58 void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int… in snd_emu8000_poke_dw()
70 unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek_dw()
87 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) in snd_emu8000_dma_chan()
112 snd_emu8000_read_wait(struct snd_emu8000 *emu) in snd_emu8000_read_wait()
124 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait()
137 snd_emu8000_detect(struct snd_emu8000 *emu) in snd_emu8000_detect()
163 init_audio(struct snd_emu8000 *emu) in init_audio()
204 init_dma(struct snd_emu8000 *emu) in init_dma()
[all …]
H A Demu8000_patch.c24 snd_emu8000_open_dma(struct snd_emu8000 *emu, int write) in snd_emu8000_open_dma()
51 snd_emu8000_close_dma(struct snd_emu8000 *emu) in snd_emu8000_close_dma()
98 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait()
120 write_word(struct snd_emu8000 *emu, int *offset, unsigned short data) in write_word()
145 struct snd_emu8000 *emu; in snd_emu8000_sample_new() local
/linux/sound/pci/ca0106/
H A Dca0106_mixer.c63 static void ca0106_spdif_enable(struct snd_ca0106 *emu) in ca0106_spdif_enable()
87 static void ca0106_set_capture_source(struct snd_ca0106 *emu) in ca0106_set_capture_source()
96 static void ca0106_set_i2c_capture_source(struct snd_ca0106 *emu, in ca0106_set_i2c_capture_source()
116 static void ca0106_set_capture_mic_line_in(struct snd_ca0106 *emu) in ca0106_set_capture_mic_line_in()
134 static void ca0106_set_spdif_bits(struct snd_ca0106 *emu, int idx) in ca0106_set_spdif_bits()
149 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_get() local
158 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_shared_spdif_put() local
184 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_get() local
193 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_source_put() local
221 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_get() local
[all …]
H A Dca0106_proc.c261 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958() local
283 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32() local
299 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32() local
315 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16() local
331 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8() local
347 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read1() local
365 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read2() local
383 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write() local
397 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_i2c_write() local
409 int snd_ca0106_proc_init(struct snd_ca0106 *emu) in snd_ca0106_proc_init()
H A Dca0106_main.c331 unsigned int snd_ca0106_ptr_read(struct snd_ca0106 * emu, in snd_ca0106_ptr_read()
344 void snd_ca0106_ptr_write(struct snd_ca0106 *emu, in snd_ca0106_ptr_write()
358 int snd_ca0106_spi_write(struct snd_ca0106 * emu, in snd_ca0106_spi_write()
391 int snd_ca0106_i2c_write(struct snd_ca0106 *emu, in snd_ca0106_i2c_write()
447 static void snd_ca0106_intr_enable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_enable()
456 static void snd_ca0106_intr_disable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_disable()
708 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_playback() local
821 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_capture() local
913 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_playback() local
980 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_capture() local
[all …]
/linux/sound/synth/emux/
H A Demux_seq.c55 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq()
110 snd_emux_detach_seq(struct snd_emux *emu) in snd_emux_detach_seq()
127 snd_emux_create_port(struct snd_emux *emu, char *name, in snd_emux_create_port()
258 __snd_emux_inc_count(struct snd_emux *emu) in __snd_emux_inc_count()
272 int snd_emux_inc_count(struct snd_emux *emu) in snd_emux_inc_count()
282 __snd_emux_dec_count(struct snd_emux *emu) in __snd_emux_dec_count()
291 void snd_emux_dec_count(struct snd_emux *emu) in snd_emux_dec_count()
304 struct snd_emux *emu; in snd_emux_use() local
326 struct snd_emux *emu; in snd_emux_unuse() local
345 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) in snd_emux_init_virmidi()
[all …]
H A Demux_synth.c48 struct snd_emux *emu; in snd_emux_note_on() local
146 struct snd_emux *emu; in snd_emux_note_off() local
189 struct snd_emux *emu = timer_container_of(emu, t, tlist); in snd_emux_timer_callback() local
219 struct snd_emux *emu; in snd_emux_key_press() local
249 struct snd_emux *emu; in snd_emux_update_channel() local
274 struct snd_emux *emu; in snd_emux_update_port() local
352 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1()
373 struct snd_emux *emu; in snd_emux_terminate_note() local
392 snd_emux_terminate_all(struct snd_emux *emu) in snd_emux_terminate_all()
423 struct snd_emux *emu; in snd_emux_sounds_off_all() local
[all …]
H A Demux_oss.c52 snd_emux_init_seq_oss(struct snd_emux *emu) in snd_emux_init_seq_oss()
80 snd_emux_detach_seq_oss(struct snd_emux *emu) in snd_emux_detach_seq_oss()
98 struct snd_emux *emu; in snd_emux_open_seq_oss() local
164 struct snd_emux *emu; in snd_emux_close_seq_oss() local
193 struct snd_emux *emu; in snd_emux_load_patch_seq_oss() local
240 struct snd_emux *emu; in snd_emux_ioctl_seq_oss() local
292 struct snd_emux *emu; in snd_emux_event_oss_input() local
322 emuspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in emuspec_control()
417 gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in gusspec_control()
483 fake_event(struct snd_emux *emu, struct snd_emux_port *port, int ch, int param, int val, int atomic… in fake_event()
H A Demux.c26 struct snd_emux *emu; in snd_emux_new() local
58 struct snd_emux *emu = private_data; in sf_sample_new() local
66 struct snd_emux *emu = private_data; in sf_sample_free() local
73 struct snd_emux *emu = private_data; in sf_sample_reset() local
77 int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name) in snd_emux_register()
124 int snd_emux_free(struct snd_emux *emu) in snd_emux_free()
H A Demux_hwdep.c20 snd_emux_hwdep_load_patch(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_load_patch()
52 snd_emux_hwdep_misc_mode(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_misc_mode()
83 struct snd_emux *emu = hw->private_data; in snd_emux_hwdep_ioctl() local
115 snd_emux_init_hwdep(struct snd_emux *emu) in snd_emux_init_hwdep()
144 snd_emux_delete_hwdep(struct snd_emux *emu) in snd_emux_delete_hwdep()
H A Demux_proc.c18 struct snd_emux *emu; in snd_emux_proc_info_read() local
90 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device) in snd_emux_proc_init()
106 void snd_emux_proc_free(struct snd_emux *emu) in snd_emux_proc_free()
/linux/drivers/input/gameport/
H A Demu10k1-gp.c22 struct emu { struct
42 struct emu *emu; in emu_probe() local
92 struct emu *emu = pci_get_drvdata(pdev); in emu_remove() local

12