Lines Matching defs:snd_gf1
295 struct snd_gf1 { struct
313 struct snd_gf1_mem mem_alloc; argument
316 unsigned short reg_page;
317 unsigned short reg_regsel;
318 unsigned short reg_data8;
319 unsigned short reg_data16;
320 unsigned short reg_irqstat;
321 unsigned short reg_dram;
322 unsigned short reg_timerctrl;
323 unsigned short reg_timerdata;
324 unsigned char ics_regs[6][2];
327 unsigned char active_voices; /* active voices */
328 unsigned char active_voice; /* selected voice (GF1PAGE register) */
330 struct snd_gus_voice voices[32]; /* GF1 voices */
332 unsigned int default_voice_address;
334 unsigned short playback_freq; /* GF1 playback (mixing) frequency */
335 unsigned short mode; /* see to SNDRV_GF1_MODE_XXXX */
336 unsigned char volume_ramp;
337 unsigned char smooth_pan;
338 unsigned char full_range_pan;
339 unsigned char pad0;
341 unsigned char *lfos;
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);
353 unsigned int interrupt_stat_midi_out;
354 unsigned int interrupt_stat_midi_in;
355 unsigned int interrupt_stat_timer1;
356 unsigned int interrupt_stat_timer2;
357 unsigned int interrupt_stat_dma_write;
358 unsigned int interrupt_stat_dma_read;
359 unsigned int interrupt_stat_voice_lost;
383 struct snd_gf1_dma_block *dma_data_pcm; argument
384 struct snd_gf1_dma_block *dma_data_pcm_last; argument
385 struct snd_gf1_dma_block *dma_data_synth; argument
386 struct snd_gf1_dma_block *dma_data_synth_last; argument
387 void (*dma_ack)(struct snd_gus_card * gus, void *private_data);
388 void *dma_private_data;
391 int pcm_channels;
392 int pcm_alloc_voices;
393 unsigned short pcm_volume_level_left;
394 unsigned short pcm_volume_level_right;
395 unsigned short pcm_volume_level_left1;
396 unsigned short pcm_volume_level_right1;
398 unsigned char pcm_rcntrl_reg;
399 unsigned char pad_end;