Lines Matching defs:pcxhr_mgr

51 struct pcxhr_mgr {  struct
52 unsigned int num_cards;
53 struct snd_pcxhr *chip[PCXHR_MAX_CARDS];
55 struct pci_dev *pci;
57 int irq;
59 int granularity;
62 unsigned long port[3];
65 char name[40]; /* name of this soundcard */
67 struct pcxhr_rmh *prmh;
69 struct mutex lock; /* interrupt lock */
70 struct mutex msg_lock; /* message lock */
72 struct mutex setup_mutex; /* mutex used in hw_params, open and close */
73 struct mutex mixer_mutex; /* mutex for mixer */
76 unsigned int dsp_loaded; /* bit flags of loaded dsp indices */
77 unsigned int dsp_version; /* read from embedded once firmware is loaded */
78 int playback_chips;
79 int capture_chips;
80 int fw_file_set;
81 int firmware_num;
82 unsigned int is_hr_stereo:1;
83 unsigned int board_has_aes1:1; /* if 1 board has AES1 plug and SRC */
84 unsigned int board_has_analog:1; /* if 0 the board is digital only */
85 unsigned int board_has_mic:1; /* if 1 the board has microphone input */
86 unsigned int board_aes_in_192k:1;/* if 1 the aes input plugs do support 192kHz */
87 unsigned int mono_capture:1; /* if 1 the board does mono capture */
88 unsigned int capture_ltc:1; /* if 1 the board captures LTC input */
90 struct snd_dma_buffer hostport;
92 enum pcxhr_clock_type use_clock_type; /* clock type selected by mixer */
93 enum pcxhr_clock_type cur_clock_type; /* current clock type synced */
94 int sample_rate;
95 int ref_count_rate;
96 int timer_toggle; /* timer interrupt toggles between the two values 0x200 and 0x300 */
97 int dsp_time_last; /* the last dsp time (read by interrupt) */
98 int dsp_time_err; /* dsp time errors */
99 unsigned int src_it_dsp; /* dsp interrupt source */
100 unsigned int io_num_reg_cont; /* backup of IO_NUM_REG_CONT */
101 unsigned int codec_speed; /* speed mode of the codecs */
102 unsigned int sample_rate_real; /* current real sample rate */
103 int last_reg_stat;
104 int async_err_stream_xrun;
105 int async_err_pipe_xrun;
106 int async_err_other_last;
108 unsigned char xlx_cfg; /* copy of PCXHR_XLX_CFG register */
109 unsigned char xlx_selmic; /* copy of PCXHR_XLX_SELMIC register */
110 unsigned char dsp_reset; /* copy of PCXHR_DSP_RESET register */