Lines Matching defs:echoaudio

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