Lines Matching defs:echoaudio

335 struct echoaudio {  struct
336 spinlock_t lock;
337 struct snd_pcm_substream *substream[DSP_MAXPIPES];
338 int last_period[DSP_MAXPIPES];
339 struct mutex mode_mutex;
340 u16 num_digital_modes, digital_mode_list[6];
341 u16 num_clock_sources, clock_source_list[10];
342 atomic_t opencount;
343 struct snd_kcontrol *clock_src_ctl;
344 struct snd_pcm *analog_pcm, *digital_pcm;
345 struct snd_card *card;
346 const char *card_name;
347 struct pci_dev *pci;
348 unsigned long dsp_registers_phys;
349 struct resource *iores;
350 struct snd_dma_buffer commpage_dma_buf;
351 int irq;
353 struct snd_rawmidi *rmidi;
354 struct snd_rawmidi_substream *midi_in, *midi_out;
356 struct timer_list timer;
357 char tinuse; /* Timer in use */
358 char midi_full; /* MIDI output buffer is full */
359 char can_set_rate;
360 char rate_set;
363 struct comm_page *comm_page; /* Virtual address of the memory
366 u32 pipe_alloc_mask; /* Bitmask of allocated pipes */
367 u32 pipe_cyclic_mask; /* Bitmask of pipes with cyclic
370 u32 sample_rate; /* Card sample rate in Hz */
371 u8 digital_mode; /* Current digital mode
374 u8 spdif_status; /* Gina20, Darla20, Darla24 - only */
375 u8 clock_state; /* Gina20, Darla20, Darla24 - only */
376 u8 input_clock; /* Currently selected sample clock
379 u8 output_clock; /* Layla20 only */
380 char meters_enabled; /* VU-meters status */
381 char asic_loaded; /* Set TRUE when ASIC loaded */
382 char bad_board; /* Set TRUE if DSP won't load */
383 char professional_spdif; /* 0 = consumer; 1 = professional */
384 char non_audio_spdif; /* 3G - only */
385 char digital_in_automute; /* Gina24, Layla24, Mona - only */
386 char has_phantom_power;
387 char hasnt_input_nominal_level; /* Gina3G */
388 char phantom_power; /* Gina3G - only */
389 char has_midi;
390 char midi_input_enabled;
394 char px_digital_out, px_analog_in, px_digital_in, px_num;
395 char bx_digital_out, bx_analog_in, bx_digital_in, bx_num;
398 char nominal_level[ECHO_MAXAUDIOPIPES]; /* True == -10dBV
400 s8 input_gain[ECHO_MAXAUDIOINPUTS]; /* Input level -50..+50
402 s8 output_gain[ECHO_MAXAUDIOOUTPUTS]; /* Output level -128..+6 dB
404 s8 monitor_gain[ECHO_MAXAUDIOOUTPUTS][ECHO_MAXAUDIOINPUTS];
406 s8 vmixer_gain[ECHO_MAXAUDIOOUTPUTS][ECHO_MAXAUDIOOUTPUTS];
409 u16 digital_modes; /* Bitmask of supported modes
411 u16 input_clock_types; /* Suppoted input clock types */
435 static int init_dsp_comm_page(struct echoaudio *chip); argument