Lines Matching defs:echoaudio

363 struct echoaudio {  struct
364 spinlock_t lock;
365 struct snd_pcm_substream *substream[DSP_MAXPIPES];
366 int last_period[DSP_MAXPIPES];
367 struct mutex mode_mutex;
368 u16 num_digital_modes, digital_mode_list[6];
369 u16 num_clock_sources, clock_source_list[10];
370 atomic_t opencount;
371 struct snd_kcontrol *clock_src_ctl;
372 struct snd_pcm *analog_pcm, *digital_pcm;
373 struct snd_card *card;
374 const char *card_name;
375 struct pci_dev *pci;
376 unsigned long dsp_registers_phys;
377 struct resource *iores;
378 struct snd_dma_buffer commpage_dma_buf;
379 int irq;
381 struct snd_rawmidi *rmidi;
382 struct snd_rawmidi_substream *midi_in, *midi_out;
384 struct timer_list timer;
385 char tinuse; /* Timer in use */
386 char midi_full; /* MIDI output buffer is full */
387 char can_set_rate;
388 char rate_set;
391 struct comm_page *comm_page; /* Virtual address of the memory
394 u32 pipe_alloc_mask; /* Bitmask of allocated pipes */
395 u32 pipe_cyclic_mask; /* Bitmask of pipes with cyclic
398 u32 sample_rate; /* Card sample rate in Hz */
399 u8 digital_mode; /* Current digital mode
402 u8 spdif_status; /* Gina20, Darla20, Darla24 - only */
403 u8 clock_state; /* Gina20, Darla20, Darla24 - only */
404 u8 input_clock; /* Currently selected sample clock
407 u8 output_clock; /* Layla20 only */
408 char meters_enabled; /* VU-meters status */
409 char asic_loaded; /* Set TRUE when ASIC loaded */
410 char bad_board; /* Set TRUE if DSP won't load */
411 char professional_spdif; /* 0 = consumer; 1 = professional */
412 char non_audio_spdif; /* 3G - only */
413 char digital_in_automute; /* Gina24, Layla24, Mona - only */
414 char has_phantom_power;
415 char hasnt_input_nominal_level; /* Gina3G */
416 char phantom_power; /* Gina3G - only */
417 char has_midi;
418 char midi_input_enabled;
422 char px_digital_out, px_analog_in, px_digital_in, px_num;
423 char bx_digital_out, bx_analog_in, bx_digital_in, bx_num;
426 char nominal_level[ECHO_MAXAUDIOPIPES]; /* True == -10dBV
428 s8 input_gain[ECHO_MAXAUDIOINPUTS]; /* Input level -50..+50
430 s8 output_gain[ECHO_MAXAUDIOOUTPUTS]; /* Output level -128..+6 dB
432 s8 monitor_gain[ECHO_MAXAUDIOOUTPUTS][ECHO_MAXAUDIOINPUTS];
434 s8 vmixer_gain[ECHO_MAXAUDIOOUTPUTS][ECHO_MAXAUDIOOUTPUTS];
437 u16 digital_modes; /* Bitmask of supported modes
439 u16 input_clock_types; /* Suppoted input clock types */
463 static int init_dsp_comm_page(struct echoaudio *chip); argument