Lines Matching defs:hda_codec
174 struct hda_codec { struct
186 struct hda_codec_ops patch_ops; argument
189 struct list_head pcm_list_head;
190 refcount_t pcm_ref;
191 wait_queue_head_t remove_sleep;
194 void *spec;
197 struct hda_beep *beep;
198 unsigned int beep_mode;
201 u32 *wcaps;
203 struct snd_array mixers; /* list of assigned mixer elements */
204 struct snd_array nids; /* list of mapped mixer elements */
206 struct list_head conn_list; /* linked-list of connection-list */
208 struct mutex spdif_mutex;
209 struct mutex control_mutex;
210 struct snd_array spdif_out;
211 unsigned int spdif_in_enable; /* SPDIF input enable? */
212 const hda_nid_t *follower_dig_outs; /* optional digital out follower widgets */
213 struct snd_array init_pins; /* initial (BIOS) pin configurations */
214 struct snd_array driver_pins; /* pin configs set by codec parser */
215 struct snd_array cvt_setups; /* audio convert setups */
217 struct mutex user_mutex;
219 struct snd_array init_verbs; /* additional init verbs */
220 struct snd_array hints; /* additional hints */
221 struct snd_array user_pins; /* default pin configs to override */
225 struct snd_hwdep *hwdep; /* assigned hwdep device */
229 unsigned int configured:1; /* codec was configured */
230 unsigned int in_freeing:1; /* being released */
231 unsigned int display_power_control:1; /* needs display power */
232 unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each
236 unsigned int pin_amp_workaround:1; /* pin out-amp takes index
239 unsigned int single_adc_amp:1; /* adc in-amp takes no index
242 unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
243 unsigned int pins_shutup:1; /* pins are shut up */
244 unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
268 unsigned int (*power_filter)(struct hda_codec *codec, hda_nid_t nid, argument
273 struct hda_codec *codec, hda_nid_t nid); argument
291 #define dev_to_hda_codec(_dev) container_of(_dev, struct hda_codec, core.dev) argument