• Home
  • Raw
  • Download

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)
159 #define SNDRV_PCM_INVALID_DEVICE (-1)
205 struct list_head conn_list; /* linked-list of connection-list */
210 unsigned int spdif_in_enable; /* SPDIF input enable? */
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 */
244 unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
245 unsigned int no_jack_detect:1; /* Machine has no jack-detection */
250 unsigned int dp_mst:1; /* support DP1.2 Multi-stream transport */
258 unsigned int mst_no_extra_pcms:1; /* no backup PCMs for DP-MST */
270 /* codec-specific additional proc output */
279 int depop_delay; /* depop delay in ms, -1 for default delay time */
281 /* fix-up list */
291 #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)
323 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
330 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
334 snd_hdac_read_parm(&(codec)->core, nid, param)
336 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
346 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
348 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0);
376 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
379 /* the struct for codec->pin_configs */
394 /* SPDIF controls */
398 unsigned short ctls; /* SPDIF control bits */
424 kref_get(&pcm->kref); in snd_hda_codec_pcm_get()
446 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, bpsp)
448 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
478 if (codec->patch_ops.check_power_status) in hda_call_check_power_status()
479 return codec->patch_ops.check_power_status(codec, nid); in hda_call_check_power_status()
487 #define snd_hda_power_up(codec) snd_hdac_power_up(&(codec)->core)
488 #define snd_hda_power_up_pm(codec) snd_hdac_power_up_pm(&(codec)->core)
489 #define snd_hda_power_down(codec) snd_hdac_power_down(&(codec)->core)
490 #define snd_hda_power_down_pm(codec) snd_hdac_power_down_pm(&(codec)->core)
500 return !codec->relaxed_resume && codec->jacktbl.used; in hda_codec_need_resume()
523 return -ENOSYS; in snd_hda_codec_load_dsp_prepare()