Lines Matching +full:spdif +full:- +full:connection
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
21 #define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98)
22 #define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348)
161 #define SNDRV_PCM_INVALID_DEVICE (-1)
209 struct list_head conn_list; /* linked-list of connection-list */
214 unsigned int spdif_in_enable; /* SPDIF input enable? */
235 unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each
239 unsigned int pin_amp_workaround:1; /* pin out-amp takes index
242 unsigned int single_adc_amp:1; /* adc in-amp takes no index
245 unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
247 unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
248 unsigned int no_jack_detect:1; /* Machine has no jack-detection */
253 unsigned int dp_mst:1; /* support DP1.2 Multi-stream transport */
272 /* codec-specific additional proc output */
281 int depop_delay; /* depop delay in ms, -1 for default delay time */
283 /* fix-up list */
293 #define hda_codec_dev(_dev) (&(_dev)->core.dev)
298 list_for_each_entry(c, &(bus)->core.codec_list, core.list)
300 list_for_each_entry_safe(c, n, &(bus)->core.codec_list, core.list)
330 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
337 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
341 snd_hdac_read_parm(&(codec)->core, nid, param)
343 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
353 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
355 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0)
383 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
386 /* the struct for codec->pin_configs */
401 /* SPDIF controls */
405 unsigned short ctls; /* SPDIF control bits */
431 refcount_inc(&pcm->codec->pcm_ref); in snd_hda_codec_pcm_get()
453 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, bpsp)
455 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
485 if (codec->patch_ops.check_power_status) in hda_call_check_power_status()
486 return codec->patch_ops.check_power_status(codec, nid); in hda_call_check_power_status()
494 #define snd_hda_power_up(codec) snd_hdac_power_up(&(codec)->core)
495 #define snd_hda_power_up_pm(codec) snd_hdac_power_up_pm(&(codec)->core)
496 #define snd_hda_power_down(codec) snd_hdac_power_down(&(codec)->core)
497 #define snd_hda_power_down_pm(codec) snd_hdac_power_down_pm(&(codec)->core)
509 return !codec->relaxed_resume && codec->jacktbl.used; in hda_codec_need_resume()
532 return -ENOSYS; in snd_hda_codec_load_dsp_prepare()