Lines Matching defs:pcxhr_mgr
64 struct pcxhr_mgr { struct
65 unsigned int num_cards;
66 struct snd_pcxhr *chip[PCXHR_MAX_CARDS];
68 struct pci_dev *pci;
70 int irq;
72 int granularity;
75 unsigned long port[3];
78 char shortname[32]; /* short name of this soundcard */
79 char longname[96]; /* name of this soundcard */
81 struct pcxhr_rmh *prmh;
83 struct mutex lock; /* interrupt lock */
84 struct mutex msg_lock; /* message lock */
86 struct mutex setup_mutex; /* mutex used in hw_params, open and close */
87 struct mutex mixer_mutex; /* mutex for mixer */
90 unsigned int dsp_loaded; /* bit flags of loaded dsp indices */
91 unsigned int dsp_version; /* read from embedded once firmware is loaded */
92 int playback_chips;
93 int capture_chips;
94 int fw_file_set;
95 int firmware_num;
96 unsigned int is_hr_stereo:1;
97 unsigned int board_has_aes1:1; /* if 1 board has AES1 plug and SRC */
98 unsigned int board_has_analog:1; /* if 0 the board is digital only */
99 unsigned int board_has_mic:1; /* if 1 the board has microphone input */
100 unsigned int board_aes_in_192k:1;/* if 1 the aes input plugs do support 192kHz */
101 unsigned int mono_capture:1; /* if 1 the board does mono capture */
102 unsigned int capture_ltc:1; /* if 1 the board captures LTC input */
104 struct snd_dma_buffer hostport;
106 enum pcxhr_clock_type use_clock_type; /* clock type selected by mixer */
107 enum pcxhr_clock_type cur_clock_type; /* current clock type synced */
108 int sample_rate;
109 int ref_count_rate;
110 int timer_toggle; /* timer interrupt toggles between the two values 0x200 and 0x300 */
111 int dsp_time_last; /* the last dsp time (read by interrupt) */
112 int dsp_time_err; /* dsp time errors */
113 unsigned int src_it_dsp; /* dsp interrupt source */
114 unsigned int io_num_reg_cont; /* backup of IO_NUM_REG_CONT */
115 unsigned int codec_speed; /* speed mode of the codecs */
116 unsigned int sample_rate_real; /* current real sample rate */
117 int last_reg_stat;
118 int async_err_stream_xrun;
119 int async_err_pipe_xrun;
120 int async_err_other_last;
122 unsigned char xlx_cfg; /* copy of PCXHR_XLX_CFG register */
123 unsigned char xlx_selmic; /* copy of PCXHR_XLX_SELMIC register */
124 unsigned char dsp_reset; /* copy of PCXHR_DSP_RESET register */