Lines Matching defs:hda_codec
178 struct hda_codec { struct
189 /* PCM to create, set by hda_codec_ops.build_pcms callback */ argument
190 struct list_head pcm_list_head;
191 refcount_t pcm_ref;
192 wait_queue_head_t remove_sleep;
195 void *spec;
198 struct hda_beep *beep;
199 unsigned int beep_mode;
200 bool beep_just_power_on;
203 u32 *wcaps;
205 struct snd_array mixers; /* list of assigned mixer elements */
206 struct snd_array nids; /* list of mapped mixer elements */
208 struct list_head conn_list; /* linked-list of connection-list */
210 struct mutex spdif_mutex;
211 struct mutex control_mutex;
212 struct snd_array spdif_out;
213 unsigned int spdif_in_enable; /* SPDIF input enable? */
214 const hda_nid_t *follower_dig_outs; /* optional digital out follower widgets */
215 struct snd_array init_pins; /* initial (BIOS) pin configurations */
216 struct snd_array driver_pins; /* pin configs set by codec parser */
217 struct snd_array cvt_setups; /* audio convert setups */
219 struct mutex user_mutex;
221 struct snd_array init_verbs; /* additional init verbs */
222 struct snd_array hints; /* additional hints */
223 struct snd_array user_pins; /* default pin configs to override */
227 struct snd_hwdep *hwdep; /* assigned hwdep device */
231 unsigned int configured:1; /* codec was configured */
232 unsigned int in_freeing:1; /* being released */
233 unsigned int display_power_control:1; /* needs display power */
234 unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each
238 unsigned int pin_amp_workaround:1; /* pin out-amp takes index
241 unsigned int single_adc_amp:1; /* adc in-amp takes no index
244 unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
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