/linux/include/sound/ |
H A 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/sound/pci/emu10k1/ |
H A 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 …]
|
H A 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() 291 void snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value) in snd_emu1010_fpga_write() [all …]
|
H A 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() 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() 335 static void snd_emu10k1_pcm_init_extra_voice(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_init_extra_voice() 352 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params() local [all …]
|
H A 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() 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 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() local 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() local 636 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() local 650 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 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 …]
|
H A D | p16v.c | 238 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() 354 static void snd_p16v_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb) in snd_p16v_intr_disable() 365 static void snd_p16v_interrupt(struct snd_emu10k1 *emu) in snd_p16v_interrupt() 405 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_playback() local 457 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_trigger_capture() local 486 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_playback() local 511 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_p16v_pcm_pointer_capture() local 554 int snd_p16v_pcm(struct snd_emu10k1 *emu, int device) in snd_p16v_pcm() [all …]
|
H A D | emufx.c | 361 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() local 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 …]
|
H A D | timer.c | 16 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 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()
|
/linux/sound/isa/sb/ |
H A D | emu8000.c | 36 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int va… in snd_emu8000_poke() 49 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek() 64 void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, unsigned int… in snd_emu8000_poke_dw() 78 unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg) in snd_emu8000_peek_dw() 98 snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode) in snd_emu8000_dma_chan() 123 snd_emu8000_read_wait(struct snd_emu8000 *emu) in snd_emu8000_read_wait() 135 snd_emu8000_write_wait(struct snd_emu8000 *emu) in snd_emu8000_write_wait() 148 snd_emu8000_detect(struct snd_emu8000 *emu) in snd_emu8000_detect() 174 init_audio(struct snd_emu8000 *emu) in init_audio() 215 init_dma(struct snd_emu8000 *emu) in init_dma() [all …]
|
H A 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
|
H A D | emu8000_callback.c | 144 get_voice(struct snd_emux *emu, struct snd_emux_port *port) in get_voice() 323 reset_voice(struct snd_emux *emu, int ch) in reset_voice() 425 snd_emu8000_tweak_voice(struct snd_emu8000 *emu, int i) in snd_emu8000_tweak_voice() 447 sysex(struct snd_emux *emu, char *buf, int len, int parsed, struct snd_midi_channel_set *chset) in sysex() 472 oss_ioctl(struct snd_emux *emu, int cmd, int p1, int p2) in oss_ioctl() 517 load_fx(struct snd_emux *emu, int type, int mode, const void __user *buf, long len) in load_fx()
|
H A D | emu8000_pcm.c | 40 struct snd_emu8000 *emu; member 68 emu8k_open_dram_for_pcm(struct snd_emu8000 *emu, int channels) in emu8k_open_dram_for_pcm() 104 snd_emu8000_write_wait(struct snd_emu8000 *emu, int can_schedule) in snd_emu8000_write_wait() 119 emu8k_close_dram(struct snd_emu8000 *emu) in emu8k_close_dram() 218 struct snd_emu8000 *emu = snd_pcm_substream_chip(subs); in emu8k_pcm_open() local 635 struct snd_emu8000 *emu = pcm->private_data; in snd_emu8000_pcm_free() local 639 int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index) in snd_emu8000_pcm_new()
|
/linux/sound/pci/ca0106/ |
H A 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 …]
|
H A 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()
|
H A 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/drivers/input/gameport/ |
H A D | emu10k1-gp.c | 22 struct emu { struct 42 struct emu *emu; in emu_probe() argument 92 struct emu *emu = pci_get_drvdata(pdev); in emu_remove() local
|
/linux/sound/synth/emux/ |
H A D | emux_seq.c | 55 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() 259 __snd_emux_inc_count(struct snd_emux *emu) in __snd_emux_inc_count() 273 int snd_emux_inc_count(struct snd_emux *emu) in snd_emux_inc_count() 287 __snd_emux_dec_count(struct snd_emux *emu) in __snd_emux_dec_count() 296 void snd_emux_dec_count(struct snd_emux *emu) in snd_emux_dec_count() 310 struct snd_emux *emu; in snd_emux_use() local 333 struct snd_emux *emu; in snd_emux_unuse() local 353 int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card) in snd_emux_init_virmidi() [all …]
|
H A 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 = timer_container_of(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 …]
|
H A 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 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 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() 125 int snd_emux_free(struct snd_emux *emu) in snd_emux_free()
|
H A D | emux_hwdep.c | 20 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 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() 108 void snd_emux_proc_free(struct snd_emux *emu) in snd_emux_proc_free()
|