Home
last modified time | relevance | path

Searched refs:snd_emu10k1 (Results 1 – 19 of 19) sorted by relevance

/linux-3.4.99/include/sound/
Demu10k1.h1501 struct snd_emu10k1;
1504 struct snd_emu10k1 *emu;
1511 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1525 struct snd_emu10k1 *emu;
1588 typedef void (snd_fx8010_irq_handler_t)(struct snd_emu10k1 *emu, void *private_data);
1636 struct snd_emu10k1 *emu;
1647 void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1695 struct snd_emu10k1 { struct
1747 int (*get_synth_voice)(struct snd_emu10k1 *emu); argument
1771 void (*hwvol_interrupt)(struct snd_emu10k1 *emu, unsigned int status); argument
[all …]
Demu10k1_synth.h31 struct snd_emu10k1 *hwptr; /* chip */
/linux-3.4.99/sound/pci/emu10k1/
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()
105 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, in snd_emu10k1_ptr20_read()
121 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write()
137 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, in snd_emu10k1_spi_write()
191 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, in snd_emu10k1_i2c_write()
253 int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value) in snd_emu1010_fpga_write()
275 int snd_emu1010_fpga_read(struct snd_emu10k1 * emu, u32 reg, u32 *value) in snd_emu1010_fpga_read()
295 int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src) in snd_emu1010_fpga_link_dst_src_write()
305 void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_emu10k1_intr_enable()
[all …]
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()
60 static void mpu401_clear_rx(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *mpu) in mpu401_clear_rx()
75 static void do_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, struct snd_emu10k1_midi *midi, unsig… in do_emu10k1_midi_interrupt()
108 static void snd_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, unsigned int status) in snd_emu10k1_midi_interrupt()
113 static void snd_emu10k1_midi_interrupt2(struct snd_emu10k1 *emu, unsigned int status) in snd_emu10k1_midi_interrupt2()
118 static int snd_emu10k1_midi_cmd(struct snd_emu10k1 * emu, struct snd_emu10k1_midi *midi, unsigned c… in snd_emu10k1_midi_cmd()
155 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_open()
182 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_open()
209 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_close()
[all …]
Dmemory.c54 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry()
63 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb()
76 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
77 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
102 static int search_empty_map_area(struct snd_emu10k1 *emu, int npages, struct list_head **nextp) in search_empty_map_area()
141 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_memblk()
168 static int unmap_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in unmap_memblk()
205 search_empty(struct snd_emu10k1 *emu, int size) in search_empty()
236 static int is_valid_page(struct snd_emu10k1 *emu, dma_addr_t addr) in is_valid_page()
255 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map()
[all …]
Dp16v.c179 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_playback_channel()
227 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_capture_channel()
272 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_playback()
283 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_capture()
343 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback()
402 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture()
442 static void snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_enable()
453 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable()
468 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback()
522 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture()
[all …]
Demupcm.c37 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt()
55 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt()
67 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt()
79 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt()
93 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_pointer()
281 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()
437 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_free()
467 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_hw_free()
496 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_prepare()
[all …]
Demu10k1_callback.c39 static void lookup_voices(struct snd_emux *emux, struct snd_emu10k1 *hw,
49 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
50 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
51 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
90 snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw) in snd_emu10k1_synth_get_voice()
134 struct snd_emu10k1 *hw; in release_voice()
150 struct snd_emu10k1 *hw; in terminate_voice()
170 struct snd_emu10k1 *hw; in free_voice()
196 struct snd_emu10k1 *hw; in update_voice()
223 lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, in lookup_voices()
[all …]
Demumixer.c56 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get()
395 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info()
418 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get()
434 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put()
464 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get()
478 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put()
605 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get()
613 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put()
653 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get()
661 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put()
[all …]
Demuproc.c38 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status()
187 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read()
241 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read()
290 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read()
305 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read()
349 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read()
390 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read()
411 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read()
428 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read()
444 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_write()
[all …]
Dtimer.c34 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start()
51 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop()
78 int __devinit 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()
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()
354 static void snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) in snd_emu10k1_audio_enable()
404 int snd_emu10k1_done(struct snd_emu10k1 *emu) in snd_emu10k1_done()
527 static void snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) in snd_emu10k1_ecard_write()
565 static void snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, in snd_emu10k1_ecard_setadcgain()
593 static int snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) in snd_emu10k1_ecard_init()
633 static int snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) in snd_emu10k1_cardbus_init()
660 static int snd_emu1010_load_firmware(struct snd_emu10k1 *emu, const char *filename) in snd_emu1010_load_firmware()
714 struct snd_emu10k1 *emu = data; in emu1010_firmware_thread()
[all …]
Demu10k1_synth.c35 struct snd_emu10k1 *hw; in snd_emu10k1_synth_new_device()
85 struct snd_emu10k1 *hw; in snd_emu10k1_synth_delete_device()
Demufx.c349 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_get()
364 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put()
419 static void snd_emu10k1_fx8010_interrupt(struct snd_emu10k1 *emu) in snd_emu10k1_fx8010_interrupt()
435 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_register_irq_handler()
466 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_unregister_irq_handler()
528 static void snd_emu10k1_efx_write(struct snd_emu10k1 *emu, unsigned int pc, unsigned int data) in snd_emu10k1_efx_write()
534 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc) in snd_emu10k1_efx_read()
540 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke()
556 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek()
571 static int snd_emu10k1_tram_poke(struct snd_emu10k1 *emu, in snd_emu10k1_tram_poke()
[all …]
Demu10k1.c107 struct snd_emu10k1 *emu; in snd_card_emu10k1_probe()
213 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_suspend()
241 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_resume()
Demu10k1_synth_local.h39 int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
Demu10k1_patch.c46 struct snd_emu10k1 *emu; in snd_emu10k1_sample_new()
217 struct snd_emu10k1 *emu; in snd_emu10k1_sample_free()
Dirq.c34 struct snd_emu10k1 *emu = dev_id; in snd_emu10k1_interrupt()