Lines Matching refs:snd_gus_card

181 struct snd_gus_card;
216 void (*ack)(struct snd_gus_card * gus, void *private_data);
223 struct snd_gus_card * gus;
265 void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
266 void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
267 void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
268 void (*volume_change) (struct snd_gus_card * gus);
345 void (*interrupt_handler_midi_out) (struct snd_gus_card * gus);
346 void (*interrupt_handler_midi_in) (struct snd_gus_card * gus);
347 void (*interrupt_handler_timer1) (struct snd_gus_card * gus);
348 void (*interrupt_handler_timer2) (struct snd_gus_card * gus);
349 void (*interrupt_handler_dma_write) (struct snd_gus_card * gus);
350 void (*interrupt_handler_dma_read) (struct snd_gus_card * gus);
387 void (*dma_ack)(struct snd_gus_card * gus, void *private_data);
404 struct snd_gus_card { struct
451 static inline void snd_gf1_select_voice(struct snd_gus_card * gus, int voice) in snd_gf1_select_voice() argument
463 static inline void snd_gf1_uart_cmd(struct snd_gus_card * gus, unsigned char b) in snd_gf1_uart_cmd()
468 static inline unsigned char snd_gf1_uart_stat(struct snd_gus_card * gus) in snd_gf1_uart_stat()
473 static inline void snd_gf1_uart_put(struct snd_gus_card * gus, unsigned char b) in snd_gf1_uart_put()
478 static inline unsigned char snd_gf1_uart_get(struct snd_gus_card * gus) in snd_gf1_uart_get()
483 extern void snd_gf1_delay(struct snd_gus_card * gus);
485 extern void snd_gf1_ctrl_stop(struct snd_gus_card * gus, unsigned char reg);
487 extern void snd_gf1_write8(struct snd_gus_card * gus, unsigned char reg, unsigned char data);
488 extern unsigned char snd_gf1_look8(struct snd_gus_card * gus, unsigned char reg);
489 static inline unsigned char snd_gf1_read8(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_read8()
493 extern void snd_gf1_write16(struct snd_gus_card * gus, unsigned char reg, unsigned int data);
494 extern unsigned short snd_gf1_look16(struct snd_gus_card * gus, unsigned char reg);
495 static inline unsigned short snd_gf1_read16(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_read16()
499 extern void snd_gf1_adlib_write(struct snd_gus_card * gus, unsigned char reg, unsigned char data);
500 extern void snd_gf1_dram_addr(struct snd_gus_card * gus, unsigned int addr);
501 extern void snd_gf1_poke(struct snd_gus_card * gus, unsigned int addr, unsigned char data);
502 extern unsigned char snd_gf1_peek(struct snd_gus_card * gus, unsigned int addr);
503 extern void snd_gf1_write_addr(struct snd_gus_card * gus, unsigned char reg, unsigned int addr, sho…
504 extern unsigned int snd_gf1_read_addr(struct snd_gus_card * gus, unsigned char reg, short w_16bit);
505 extern void snd_gf1_i_ctrl_stop(struct snd_gus_card * gus, unsigned char reg);
506 extern void snd_gf1_i_write8(struct snd_gus_card * gus, unsigned char reg, unsigned char data);
507 extern unsigned char snd_gf1_i_look8(struct snd_gus_card * gus, unsigned char reg);
508 extern void snd_gf1_i_write16(struct snd_gus_card * gus, unsigned char reg, unsigned int data);
509 static inline unsigned char snd_gf1_i_read8(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_i_read8()
513 extern unsigned short snd_gf1_i_look16(struct snd_gus_card * gus, unsigned char reg);
514 static inline unsigned short snd_gf1_i_read16(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_i_read16()
519 extern void snd_gf1_select_active_voices(struct snd_gus_card * gus);
532 extern irqreturn_t snd_gf1_lfo_effect_interrupt(struct snd_gus_card * gus, snd_gf1_voice_t * voice);
534 extern void snd_gf1_lfo_init(struct snd_gus_card * gus);
535 extern void snd_gf1_lfo_done(struct snd_gus_card * gus);
536 extern void snd_gf1_lfo_program(struct snd_gus_card * gus, int voice, int lfo_type, struct _SND_IW_…
537 extern void snd_gf1_lfo_enable(struct snd_gus_card * gus, int voice, int lfo_type);
538 extern void snd_gf1_lfo_disable(struct snd_gus_card * gus, int voice, int lfo_type);
539 extern void snd_gf1_lfo_change_freq(struct snd_gus_card * gus, int voice, int lfo_type, int freq);
540 extern void snd_gf1_lfo_change_depth(struct snd_gus_card * gus, int voice, int lfo_type, int depth);
541 extern void snd_gf1_lfo_setup(struct snd_gus_card * gus, int voice, int lfo_type, int freq, int cur…
542 extern void snd_gf1_lfo_shutdown(struct snd_gus_card * gus, int voice, int lfo_type);
544 extern void snd_gf1_lfo_command(struct snd_gus_card * gus, int voice, unsigned char *command);
556 int snd_gf1_mem_init(struct snd_gus_card * gus);
557 int snd_gf1_mem_done(struct snd_gus_card * gus);
561 int snd_gf1_mem_proc_init(struct snd_gus_card * gus);
565 int snd_gf1_dma_init(struct snd_gus_card * gus);
566 int snd_gf1_dma_done(struct snd_gus_card * gus);
567 int snd_gf1_dma_transfer_block(struct snd_gus_card * gus,
575 unsigned short snd_gf1_translate_freq(struct snd_gus_card * gus, unsigned int freq2);
579 void snd_gf1_set_default_handlers(struct snd_gus_card * gus, unsigned int what);
580 void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice);
581 void snd_gf1_stop_voice(struct snd_gus_card * gus, unsigned short voice);
582 void snd_gf1_stop_voices(struct snd_gus_card * gus, unsigned short v_min, unsigned short v_max);
583 struct snd_gus_voice *snd_gf1_alloc_voice(struct snd_gus_card * gus, int type, int client, int port…
584 void snd_gf1_free_voice(struct snd_gus_card * gus, struct snd_gus_voice *voice);
585 int snd_gf1_start(struct snd_gus_card * gus);
586 int snd_gf1_stop(struct snd_gus_card * gus);
590 int snd_gf1_new_mixer(struct snd_gus_card * gus);
594 int snd_gf1_pcm_new(struct snd_gus_card * gus, int pcm_dev, int control_index, struct snd_pcm ** rp…
597 extern void snd_gf1_print_voice_registers(struct snd_gus_card * gus);
602 int snd_gus_use_inc(struct snd_gus_card * gus);
603 void snd_gus_use_dec(struct snd_gus_card * gus);
611 struct snd_gus_card ** rgus);
612 int snd_gus_initialize(struct snd_gus_card * gus);
618 void snd_gus_irq_profile_init(struct snd_gus_card *gus);
623 int snd_gf1_rawmidi_new(struct snd_gus_card * gus, int device, struct snd_rawmidi **rrawmidi);
626 int snd_gus_dram_write(struct snd_gus_card *gus, char __user *ptr,
628 int snd_gus_dram_read(struct snd_gus_card *gus, char __user *ptr,