Home
last modified time | relevance | path

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

/linux-6.1.9/include/sound/
Demu10k1.h1485 struct snd_emu10k1;
1488 struct snd_emu10k1 *emu;
1495 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1509 struct snd_emu10k1 *emu;
1572 typedef void (snd_fx8010_irq_handler_t)(struct snd_emu10k1 *emu, void *private_data);
1620 struct snd_emu10k1 *emu;
1631 void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1680 struct snd_emu10k1 { struct
1733 int (*get_synth_voice)(struct snd_emu10k1 *emu); argument
1757 void (*hwvol_interrupt)(struct snd_emu10k1 *emu, unsigned int status); argument
[all …]
Demu10k1_synth.h18 struct snd_emu10k1 *hwptr; /* chip */
/linux-6.1.9/sound/pci/emu10k1/
Dio.c21 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read()
54 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write()
88 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, in snd_emu10k1_ptr20_read()
104 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write()
120 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, in snd_emu10k1_spi_write()
174 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, in snd_emu10k1_i2c_write()
236 int snd_emu1010_fpga_write(struct snd_emu10k1 * emu, u32 reg, u32 value) in snd_emu1010_fpga_write()
258 int snd_emu1010_fpga_read(struct snd_emu10k1 * emu, u32 reg, u32 *value) in snd_emu1010_fpga_read()
278 int snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 * emu, u32 dst, u32 src) in snd_emu1010_fpga_link_dst_src_write()
288 void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_emu10k1_intr_enable()
[all …]
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()
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()
95 static void snd_emu10k1_midi_interrupt(struct snd_emu10k1 *emu, unsigned int status) in snd_emu10k1_midi_interrupt()
100 static void snd_emu10k1_midi_interrupt2(struct snd_emu10k1 *emu, unsigned int status) in snd_emu10k1_midi_interrupt2()
105 static int snd_emu10k1_midi_cmd(struct snd_emu10k1 * emu, struct snd_emu10k1_midi *midi, unsigned c… in snd_emu10k1_midi_cmd()
143 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_open()
170 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_open()
197 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_close()
[all …]
Dp16v.c162 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_playback_channel()
211 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_capture_channel()
257 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_playback()
268 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_capture()
290 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback()
352 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture()
392 static void snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_enable()
403 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable()
418 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback()
472 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture()
[all …]
Dmemory.c42 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()
69 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
70 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk);
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()
237 static int is_valid_page(struct snd_emu10k1 *emu, dma_addr_t addr) in is_valid_page()
258 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in snd_emu10k1_memblk_map()
[all …]
Demupcm.c23 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt()
43 static void snd_emu10k1_pcm_ac97adc_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97adc_interrupt()
55 static void snd_emu10k1_pcm_ac97mic_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_ac97mic_interrupt()
67 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt()
81 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_pointer()
269 static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voice()
397 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params()
433 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_free()
463 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_hw_free()
492 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_prepare()
[all …]
Demu10k1_callback.c26 static void lookup_voices(struct snd_emux *emux, struct snd_emu10k1 *hw,
36 static void set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
37 static void set_fm2frq2(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
38 static void set_filterQ(struct snd_emu10k1 *hw, struct snd_emux_voice *vp);
79 snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw) in snd_emu10k1_synth_get_voice()
120 struct snd_emu10k1 *hw; in release_voice()
136 struct snd_emu10k1 *hw; in terminate_voice()
156 struct snd_emu10k1 *hw; in free_voice()
182 struct snd_emu10k1 *hw; in update_voice()
209 lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, in lookup_voices()
[all …]
Demumixer.c42 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get()
381 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info()
392 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get()
408 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put()
438 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get()
452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put()
579 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get()
587 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put()
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get()
635 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put()
[all …]
Demuproc.c23 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status()
172 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read()
226 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read()
266 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read()
280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read()
324 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read()
365 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read()
386 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read()
400 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read()
416 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_write()
[all …]
Dtimer.c20 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start()
37 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop()
64 int snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) in snd_emu10k1_timer()
Dvoice.c34 static int voice_alloc(struct snd_emu10k1 *emu, int type, int number, in voice_alloc()
101 int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int number, in snd_emu10k1_voice_alloc()
138 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, in snd_emu10k1_voice_free()
Demu10k1_main.c58 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init()
143 static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) in snd_emu10k1_init()
344 static void snd_emu10k1_audio_enable(struct snd_emu10k1 *emu) in snd_emu10k1_audio_enable()
394 int snd_emu10k1_done(struct snd_emu10k1 *emu) in snd_emu10k1_done()
517 static void snd_emu10k1_ecard_write(struct snd_emu10k1 *emu, unsigned int value) in snd_emu10k1_ecard_write()
555 static void snd_emu10k1_ecard_setadcgain(struct snd_emu10k1 *emu, in snd_emu10k1_ecard_setadcgain()
583 static int snd_emu10k1_ecard_init(struct snd_emu10k1 *emu) in snd_emu10k1_ecard_init()
623 static int snd_emu10k1_cardbus_init(struct snd_emu10k1 *emu) in snd_emu10k1_cardbus_init()
650 static int snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, in snd_emu1010_load_firmware_entry()
712 static int snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, in snd_emu1010_load_firmware()
[all …]
Demu10k1_synth.c23 struct snd_emu10k1 *hw; in snd_emu10k1_synth_probe()
74 struct snd_emu10k1 *hw; in snd_emu10k1_synth_remove()
Demufx.c321 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_get()
336 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put()
391 static void snd_emu10k1_fx8010_interrupt(struct snd_emu10k1 *emu) in snd_emu10k1_fx8010_interrupt()
407 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_register_irq_handler()
432 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_unregister_irq_handler()
494 static void snd_emu10k1_efx_write(struct snd_emu10k1 *emu, unsigned int pc, unsigned int data) in snd_emu10k1_efx_write()
500 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc) in snd_emu10k1_efx_read()
506 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke()
525 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek()
540 static int snd_emu10k1_tram_poke(struct snd_emu10k1 *emu, in snd_emu10k1_tram_poke()
[all …]
Demu10k1.c89 struct snd_emu10k1 *emu; in snd_card_emu10k1_probe()
204 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_suspend()
226 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_resume()
Demu10k1_synth_local.h26 int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
Demu10k1_patch.c34 struct snd_emu10k1 *emu; in snd_emu10k1_sample_new()
204 struct snd_emu10k1 *emu; in snd_emu10k1_sample_free()
Dirq.c20 struct snd_emu10k1 *emu = dev_id; in snd_emu10k1_interrupt()