/Linux-v5.15/include/sound/ |
D | emu8000_reg.h | 30 #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-v5.15/sound/pci/emu10k1/ |
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() 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 …]
|
D | emupcm.c | 23 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() local 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() local 433 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_free() local 463 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_hw_free() local 492 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_prepare() local [all …]
|
D | io.c | 21 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 …]
|
D | emumixer.c | 42 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local 381 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() local 392 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() local 408 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() local 438 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() local 452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put() local 579 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get() local 587 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put() local 627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get() local 635 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put() local [all …]
|
D | p16v.c | 162 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_playback_channel() local 211 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_open_capture_channel() local 257 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_playback() local 268 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_close_capture() local 290 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_playback() local 352 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_prepare_capture() local 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() local 472 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture() local [all …]
|
D | memory.c | 21 #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 …]
|
D | emu10k1_main.c | 58 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 …]
|
D | emu10k1x.c | 184 struct emu10k1x *emu; member 192 struct emu10k1x *emu; member 199 struct emu10k1x *emu; member 279 static unsigned int snd_emu10k1x_ptr_read(struct emu10k1x * emu, in snd_emu10k1x_ptr_read() 295 static void snd_emu10k1x_ptr_write(struct emu10k1x *emu, in snd_emu10k1x_ptr_write() 311 static void snd_emu10k1x_intr_enable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_enable() 322 static void snd_emu10k1x_intr_disable(struct emu10k1x *emu, unsigned int intrenb) in snd_emu10k1x_intr_disable() 333 static void snd_emu10k1x_gpio_write(struct emu10k1x *emu, unsigned int value) in snd_emu10k1x_gpio_write() 347 static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice) in snd_emu10k1x_pcm_interrupt() 440 struct emu10k1x *emu = snd_pcm_substream_chip(substream); in snd_emu10k1x_pcm_prepare() local [all …]
|
D | emuproc.c | 23 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() local 226 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() local 266 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() local 280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() local 324 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() local 365 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read() local 386 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read() local 400 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read() local 416 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_write() local [all …]
|
D | emufx.c | 321 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_get() local 336 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() local 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 …]
|
D | timer.c | 20 struct snd_emu10k1 *emu; in snd_emu10k1_timer_start() local 37 struct snd_emu10k1 *emu; in snd_emu10k1_timer_stop() local 64 int snd_emu10k1_timer(struct snd_emu10k1 *emu, int device) in snd_emu10k1_timer()
|
D | voice.c | 34 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()
|
/Linux-v5.15/sound/isa/sb/ |
D | emu8000.c | 35 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int va… in snd_emu8000_poke() 48 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek() 63 void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int… in snd_emu8000_poke_dw() 77 unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek_dw() 97 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) in snd_emu8000_dma_chan() 122 snd_emu8000_read_wait(struct snd_emu8000 *emu) in snd_emu8000_read_wait() 134 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait() 147 snd_emu8000_detect(struct snd_emu8000 *emu) in snd_emu8000_detect() 173 init_audio(struct snd_emu8000 *emu) in init_audio() 214 init_dma(struct snd_emu8000 *emu) in init_dma() [all …]
|
D | emu8000_patch.c | 24 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-v5.15/drivers/input/gameport/ |
D | emu10k1-gp.c | 25 struct emu { struct 45 struct emu *emu; in emu_probe() argument 95 struct emu *emu = pci_get_drvdata(pdev); in emu_remove() local
|
/Linux-v5.15/sound/pci/ca0106/ |
D | ca0106_mixer.c | 63 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 …]
|
D | ca0106_proc.c | 261 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 301 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32() local 317 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16() local 333 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8() local 349 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read1() local 367 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read2() local 385 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write() local 399 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_i2c_write() local 411 int snd_ca0106_proc_init(struct snd_ca0106 *emu) in snd_ca0106_proc_init()
|
D | ca0106_main.c | 331 unsigned int snd_ca0106_ptr_read(struct snd_ca0106 * emu, in snd_ca0106_ptr_read() 347 void snd_ca0106_ptr_write(struct snd_ca0106 *emu, in snd_ca0106_ptr_write() 363 int snd_ca0106_spi_write(struct snd_ca0106 * emu, in snd_ca0106_spi_write() 396 int snd_ca0106_i2c_write(struct snd_ca0106 *emu, in snd_ca0106_i2c_write() 452 static void snd_ca0106_intr_enable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_enable() 463 static void snd_ca0106_intr_disable(struct snd_ca0106 *emu, unsigned int intrenb) in snd_ca0106_intr_disable() 717 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_playback() local 830 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_prepare_capture() local 922 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_playback() local 989 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_trigger_capture() local [all …]
|
/Linux-v5.15/sound/synth/emux/ |
D | emux_seq.c | 55 snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) in snd_emux_init_seq() 109 snd_emux_detach_seq(struct snd_emux *emu) in snd_emux_detach_seq() 126 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() 286 __snd_emux_dec_count(struct snd_emux *emu) in __snd_emux_dec_count() 295 void snd_emux_dec_count(struct snd_emux *emu) in snd_emux_dec_count() 309 struct snd_emux *emu; in snd_emux_use() local 332 struct snd_emux *emu; in snd_emux_unuse() local 352 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) in snd_emux_init_virmidi() [all …]
|
D | emux_synth.c | 48 struct snd_emux *emu; in snd_emux_note_on() local 148 struct snd_emux *emu; in snd_emux_note_off() local 193 struct snd_emux *emu = from_timer(emu, t, tlist); in snd_emux_timer_callback() local 225 struct snd_emux *emu; in snd_emux_key_press() local 257 struct snd_emux *emu; in snd_emux_update_channel() local 284 struct snd_emux *emu; in snd_emux_update_port() local 364 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1() 387 struct snd_emux *emu; in snd_emux_terminate_note() local 406 snd_emux_terminate_all(struct snd_emux *emu) in snd_emux_terminate_all() 439 struct snd_emux *emu; in snd_emux_sounds_off_all() local [all …]
|
D | emux.c | 26 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() 127 int snd_emux_free(struct snd_emux *emu) in snd_emux_free()
|
D | emux_oss.c | 52 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 238 struct snd_emux *emu; in snd_emux_ioctl_seq_oss() local 290 struct snd_emux *emu; in snd_emux_event_oss_input() local 320 emuspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in emuspec_control() 415 gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd, in gusspec_control() 481 fake_event(struct snd_emux *emu, struct snd_emux_port *port, int ch, int param, int val, int atomic… in fake_event()
|
D | emux_hwdep.c | 20 snd_emux_hwdep_load_patch(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_load_patch() 51 snd_emux_hwdep_misc_mode(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_misc_mode() 82 struct snd_emux *emu = hw->private_data; in snd_emux_hwdep_ioctl() local 114 snd_emux_init_hwdep(struct snd_emux *emu) in snd_emux_init_hwdep() 143 snd_emux_delete_hwdep(struct snd_emux *emu) in snd_emux_delete_hwdep()
|
D | emux_proc.c | 18 struct snd_emux *emu; in snd_emux_proc_info_read() local 92 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device) in snd_emux_proc_init() 107 void snd_emux_proc_free(struct snd_emux *emu) in snd_emux_proc_free()
|