/Linux-v6.6/include/sound/ |
D | emu10k1.h | 1474 struct snd_emu10k1; 1481 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice); 1495 struct snd_emu10k1 *emu; 1565 typedef void (snd_fx8010_irq_handler_t)(struct snd_emu10k1 *emu, void *private_data); 1611 struct snd_emu10k1 *emu; 1622 void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status); 1691 struct snd_emu10k1 { struct 1742 int (*get_synth_voice)(struct snd_emu10k1 *emu); argument 1765 void (*hwvol_interrupt)(struct snd_emu10k1 *emu, unsigned int status); argument 1766 void (*capture_interrupt)(struct snd_emu10k1 *emu, unsigned int status); argument [all …]
|
D | emu10k1_synth.h | 18 struct snd_emu10k1 *hwptr; /* chip */
|
/Linux-v6.6/sound/pci/emu10k1/ |
D | io.c | 19 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() 61 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write() 95 void snd_emu10k1_ptr_write_multiple(struct snd_emu10k1 *emu, unsigned int chn, ...) in snd_emu10k1_ptr_write_multiple() 126 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, in snd_emu10k1_ptr20_read() 142 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, in snd_emu10k1_ptr20_write() 158 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, in snd_emu10k1_spi_write() 212 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, in snd_emu10k1_i2c_write() 274 static void snd_emu1010_fpga_write_locked(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write_locked() 290 void snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write() [all …]
|
D | emupcm.c | 20 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() 205 static void snd_emu10k1_constrain_capture_rates(struct snd_emu10k1 *emu, in snd_emu10k1_constrain_capture_rates() 223 static void snd_emu1010_constrain_efx_rate(struct snd_emu10k1 *emu, in snd_emu1010_constrain_efx_rate() 281 static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voice() 336 static void snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_voices() 356 static void snd_emu10k1_pcm_init_extra_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_extra_voice() 373 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params() [all …]
|
D | emumpu401.c | 15 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() 142 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_open() 168 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_open() 194 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_close() [all …]
|
D | memory.c | 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() 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 …]
|
D | p16v.c | 232 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback() 299 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture() 337 static void snd_p16v_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_enable() 348 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable() 359 static void snd_p16v_interrupt(struct snd_emu10k1 *emu) in snd_p16v_interrupt() 399 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback() 451 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture() 480 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_playback() 505 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_capture() 547 int snd_p16v_pcm(struct snd_emu10k1 *emu, int device) in snd_p16v_pcm() [all …]
|
D | timer.c | 16 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start() 30 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop() 39 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_c_resolution() 51 struct snd_emu10k1 *emu = snd_timer_chip(timer); in snd_emu10k1_timer_precise_resolution() 70 int snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) in snd_emu10k1_timer()
|
D | emumixer.c | 27 static int add_ctls(struct snd_emu10k1 *emu, const struct snd_kcontrol_new *tpl, in add_ctls() 54 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() 576 static unsigned emu1010_idx(struct snd_emu10k1 *emu) in emu1010_idx() 581 static void snd_emu1010_output_source_apply(struct snd_emu10k1 *emu, in snd_emu1010_output_source_apply() 591 static void snd_emu1010_input_source_apply(struct snd_emu10k1 *emu, in snd_emu1010_input_source_apply() 601 static void snd_emu1010_apply_sources(struct snd_emu10k1 *emu) in snd_emu1010_apply_sources() 626 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() 636 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() 650 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() 680 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() [all …]
|
D | emuproc.c | 18 static void snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, in snd_emu10k1_proc_spdif_status() 64 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() 163 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() 216 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() 333 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() 385 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() 426 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read() 447 static void snd_emu_proc_emu1010_link_read(struct snd_emu10k1 *emu, in snd_emu_proc_emu1010_link_read() 458 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read() 504 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read() [all …]
|
D | emu10k1_callback.c | 26 static void lookup_voices(struct snd_emux *emux, struct snd_emu10k1 *hw, 80 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() 162 struct snd_emu10k1 *hw; in free_voice() 183 struct snd_emu10k1 *hw; in update_voice() 210 lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, in lookup_voices() 278 struct snd_emu10k1 *hw; in get_voice() 316 struct snd_emu10k1 *hw; in start_voice() 453 struct snd_emu10k1 *hw; in trigger_voice() [all …]
|
D | voice.c | 24 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() 123 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, in snd_emu10k1_voice_free()
|
D | emu10k1_main.c | 50 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() 655 static int snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, in snd_emu1010_load_firmware_entry() 717 static int snd_emu1010_load_firmware(struct snd_emu10k1 *emu, int dock, in snd_emu1010_load_firmware() [all …]
|
D | emu10k1_synth.c | 23 struct snd_emu10k1 *hw; in snd_emu10k1_synth_probe() 72 struct snd_emu10k1 *hw; in snd_emu10k1_synth_remove()
|
D | emufx.c | 361 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() 420 static void snd_emu10k1_fx8010_interrupt(struct snd_emu10k1 *emu) in snd_emu10k1_fx8010_interrupt() 436 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_register_irq_handler() 461 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu, in snd_emu10k1_fx8010_unregister_irq_handler() 523 static void snd_emu10k1_efx_write(struct snd_emu10k1 *emu, unsigned int pc, unsigned int data) in snd_emu10k1_efx_write() 529 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc) in snd_emu10k1_efx_read() 535 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke() 554 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek() 569 static int snd_emu10k1_tram_poke(struct snd_emu10k1 *emu, in snd_emu10k1_tram_poke() 598 static int snd_emu10k1_tram_peek(struct snd_emu10k1 *emu, in snd_emu10k1_tram_peek() [all …]
|
D | emu10k1.c | 73 struct snd_emu10k1 *emu; in snd_card_emu10k1_probe() 186 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_suspend() 209 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_resume()
|
D | emu10k1_synth_local.h | 26 int snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw);
|
D | emu10k1_patch.c | 34 struct snd_emu10k1 *emu; in snd_emu10k1_sample_new() 204 struct snd_emu10k1 *emu; in snd_emu10k1_sample_free()
|
D | irq.c | 14 struct snd_emu10k1 *emu = dev_id; in snd_emu10k1_interrupt()
|