Lines Matching +full:spdif +full:- +full:connection
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
157 #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? */
231 unsigned int spdif_status_reset :1; /* needs to toggle SPDIF for each
235 unsigned int pin_amp_workaround:1; /* pin out-amp takes index
238 unsigned int single_adc_amp:1; /* adc in-amp takes no index
241 unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
243 unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
244 unsigned int no_jack_detect:1; /* Machine has no jack-detection */
249 unsigned int dp_mst:1; /* support DP1.2 Multi-stream transport */
268 /* codec-specific additional proc output */
277 int depop_delay; /* depop delay in ms, -1 for default delay time */
279 /* fix-up list */
289 #define hda_codec_dev(_dev) (&(_dev)->core.dev)
294 list_for_each_entry(c, &(bus)->core.codec_list, core.list)
296 list_for_each_entry_safe(c, n, &(bus)->core.codec_list, core.list)
326 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
333 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
337 snd_hdac_read_parm(&(codec)->core, nid, param)
339 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
349 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
351 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0)
379 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
382 /* the struct for codec->pin_configs */
397 /* SPDIF controls */
401 unsigned short ctls; /* SPDIF control bits */
427 refcount_inc(&pcm->codec->pcm_ref); in snd_hda_codec_pcm_get()
449 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, subfmtp, bpsp)
451 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
480 if (codec->patch_ops.check_power_status) in hda_call_check_power_status()
481 return codec->patch_ops.check_power_status(codec, nid); in hda_call_check_power_status()
488 #define snd_hda_power_up(codec) snd_hdac_power_up(&(codec)->core)
489 #define snd_hda_power_up_pm(codec) snd_hdac_power_up_pm(&(codec)->core)
490 #define snd_hda_power_down(codec) snd_hdac_power_down(&(codec)->core)
491 #define snd_hda_power_down_pm(codec) snd_hdac_power_down_pm(&(codec)->core)
498 return !codec->relaxed_resume && codec->jacktbl.used; in hda_codec_need_resume()
521 return -ENOSYS; in snd_hda_codec_load_dsp_prepare()