| /sound/pci/emu10k1/ |
| A D | emumpu401.c | 24 static inline void mpu401_write(struct snd_emu10k1 *emu, in mpu401_write() 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 142 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_open() local 168 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_open() local 194 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_close() local 216 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_close() local 238 struct snd_emu10k1 *emu; in snd_emu10k1_midi_input_trigger() local 252 struct snd_emu10k1 *emu; in snd_emu10k1_midi_output_trigger() local 335 int snd_emu10k1_midi(struct snd_emu10k1 *emu) in snd_emu10k1_midi() [all …]
|
| A D | io.c | 19 static inline bool check_ptr_reg(struct snd_emu10k1 *emu, unsigned int reg) in check_ptr_reg() 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() 353 int snd_emu1010_get_raw_rate(struct snd_emu10k1 *emu, u8 src) in snd_emu1010_get_raw_rate() 386 void snd_emu1010_update_clock(struct snd_emu10k1 *emu) in snd_emu1010_update_clock() 425 void snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, int dock, in snd_emu1010_load_firmware_entry() 730 void snd_emu10k1_wait(struct snd_emu10k1 *emu, unsigned int wait) in snd_emu10k1_wait() 751 struct snd_emu10k1 *emu = ac97->private_data; in snd_emu10k1_ac97_read() local [all …]
|
| A D | emupcm.c | 20 static void snd_emu10k1_pcm_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_interrupt() 64 static void snd_emu10k1_pcm_efx_interrupt(struct snd_emu10k1 *emu, in snd_emu10k1_pcm_efx_interrupt() 352 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_params() local 398 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_hw_free() local 421 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_playback_prepare() local 451 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_efx_playback_prepare() local 500 struct snd_emu10k1 *emu = snd_pcm_substream_chip(substream); in snd_emu10k1_capture_prepare() local 1411 int snd_emu10k1_pcm(struct snd_emu10k1 *emu, int device) in snd_emu10k1_pcm() 1505 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_pcm_efx_voices_mask_info() local 1516 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_pcm_efx_voices_mask_get() local [all …]
|
| A D | emu10k1_main.c | 50 void snd_emu10k1_voice_init(struct snd_emu10k1 *emu, int ch) in snd_emu10k1_voice_init() 392 int snd_emu10k1_done(struct snd_emu10k1 *emu) in snd_emu10k1_done() 726 static void emu1010_dock_event(struct snd_emu10k1 *emu) in emu1010_dock_event() 760 struct snd_emu10k1 *emu; in emu1010_work() local 786 static void emu1010_interrupt(struct snd_emu10k1 *emu) in emu1010_interrupt() 909 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_free() local 1471 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_create() local 1715 static int alloc_pm_buffer(struct snd_emu10k1 *emu) in alloc_pm_buffer() 1733 static void free_pm_buffer(struct snd_emu10k1 *emu) in free_pm_buffer() 1761 void snd_emu10k1_resume_init(struct snd_emu10k1 *emu) in snd_emu10k1_resume_init() [all …]
|
| A 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 53 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb() 134 static int map_memblk(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk) in map_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() 377 int snd_emu10k1_alloc_pages_maybe_wider(struct snd_emu10k1 *emu, size_t size, in snd_emu10k1_alloc_pages_maybe_wider() 478 static void __synth_free_pages(struct snd_emu10k1 *emu, int first_page, in __synth_free_pages() [all …]
|
| A D | emumixer.c | 55 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get() local 577 static unsigned emu1010_idx(struct snd_emu10k1 *emu) in emu1010_idx() 627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info() local 637 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get() local 651 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put() local 683 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get() local 697 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put() local 760 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get() local 769 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put() local 1977 struct snd_emu10k1 *emu = ac97->private_data; in snd_emu10k1_mixer_free_ac97() local [all …]
|
| A D | p16v.c | 365 static void snd_p16v_interrupt(struct snd_emu10k1 *emu) in snd_p16v_interrupt() 554 int snd_p16v_pcm(struct snd_emu10k1 *emu, int device) in snd_p16v_pcm() 676 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_p16v_capture_source_get() local 685 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_p16v_capture_source_put() local 715 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_p16v_capture_channel_get() local 724 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_p16v_capture_channel_put() local 779 int snd_p16v_mixer(struct snd_emu10k1 *emu) in snd_p16v_mixer() 796 int snd_p16v_alloc_pm_buffer(struct snd_emu10k1 *emu) in snd_p16v_alloc_pm_buffer() 804 void snd_p16v_free_pm_buffer(struct snd_emu10k1 *emu) in snd_p16v_free_pm_buffer() 809 void snd_p16v_suspend(struct snd_emu10k1 *emu) in snd_p16v_suspend() [all …]
|
| A D | emu10k1x.c | 185 struct emu10k1x *emu; member 193 struct emu10k1x *emu; member 200 struct emu10k1x *emu; member 696 struct emu10k1x *emu = ac97->private_data; in snd_emu10k1x_ac97_read() local 710 struct emu10k1x *emu = ac97->private_data; in snd_emu10k1x_ac97_write() local 1277 struct emu10k1x *emu; in snd_emu10k1x_midi_input_open() local 1304 struct emu10k1x *emu; in snd_emu10k1x_midi_output_open() local 1331 struct emu10k1x *emu; in snd_emu10k1x_midi_input_close() local 1354 struct emu10k1x *emu; in snd_emu10k1x_midi_output_close() local 1377 struct emu10k1x *emu; in snd_emu10k1x_midi_input_trigger() local [all …]
|
| A D | emuproc.c | 65 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() local 164 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() local 221 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() local 338 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() local 390 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() local 431 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_voices_read() local 463 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_emu1010_reg_read() local 514 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_read() local 527 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_io_reg_write() local 575 struct snd_emu10k1 *emu = entry->private_data; in snd_emu_proc_ptr_reg_read() local [all …]
|
| 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()
|
| A D | emufx.c | 362 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_gpr_ctl_put() local 536 static int snd_emu10k1_gpr_poke(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_poke() 555 static int snd_emu10k1_gpr_peek(struct snd_emu10k1 *emu, in snd_emu10k1_gpr_peek() 664 snd_emu10k1_look_for_ctl(struct snd_emu10k1 *emu, in snd_emu10k1_look_for_ctl() 709 static int copy_gctl(struct snd_emu10k1 *emu, in copy_gctl() 737 static int copy_gctl_to_user(struct snd_emu10k1 *emu, in copy_gctl_to_user() 2365 int snd_emu10k1_init_efx(struct snd_emu10k1 *emu) in snd_emu10k1_init_efx() 2375 void snd_emu10k1_free_efx(struct snd_emu10k1 *emu) in snd_emu10k1_free_efx() 2483 struct snd_emu10k1 *emu = hw->private_data; in snd_emu10k1_fx8010_ioctl() local 2668 void snd_emu10k1_efx_suspend(struct snd_emu10k1 *emu) in snd_emu10k1_efx_suspend() [all …]
|
| 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()
|
| A D | emu10k1.c | 74 struct snd_emu10k1 *emu; in snd_card_emu10k1_probe() local 187 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_suspend() local 209 struct snd_emu10k1 *emu = card->private_data; in snd_emu10k1_resume() local
|
| /sound/isa/sb/ |
| A D | emu8000.c | 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() 341 init_arrays(struct snd_emu8000 *emu) in init_arrays() 367 size_dram(struct snd_emu8000 *emu) in size_dram() 457 snd_emu8000_init_fm(struct snd_emu8000 *emu) in snd_emu8000_init_fm() 503 snd_emu8000_init_hw(struct snd_emu8000 *emu) in snd_emu8000_init_hw() 587 snd_emu8000_update_equalizer(struct snd_emu8000 *emu) in snd_emu8000_update_equalizer() [all …]
|
| 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
|
| 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()
|
| /sound/pci/ca0106/ |
| A D | ca0106_mixer.c | 63 static void ca0106_spdif_enable(struct snd_ca0106 *emu) in ca0106_spdif_enable() 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 230 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_i2c_capture_source_put() local 266 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_get() local 275 struct snd_ca0106 *emu = snd_kcontrol_chip(kcontrol); in snd_ca0106_capture_mic_line_in_put() local 719 #define ADD_CTLS(emu, ctls) \ argument [all …]
|
| 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()
|
| 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() 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 1017 struct snd_ca0106 *emu = snd_pcm_substream_chip(substream); in snd_ca0106_pcm_pointer_playback() local 1140 struct snd_ca0106 *emu = ac97->private_data; in snd_ca0106_ac97_read() local [all …]
|
| /sound/synth/emux/ |
| 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 …]
|
| 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()
|
| 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 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 915 snd_emux_init_voices(struct snd_emux *emu) in snd_emux_init_voices() [all …]
|
| 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()
|
| 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()
|
| 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()
|