Lines Matching +full:no +full:- +full:reset +full:- +full:during +full:- +full:suspend
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
51 unsigned int allow_bus_reset:1; /* allow bus reset at fatal error */
54 unsigned int response_reset:1; /* controller was reset */
55 unsigned int in_reset:1; /* during reset operation */
57 unsigned int bus_probing :1; /* during probing process */
59 unsigned int jackpoll_in_suspend:1; /* keep jack polling during
60 * runtime suspend
112 int (*suspend)(struct hda_codec *codec); member
157 #define SNDRV_PCM_INVALID_DEVICE (-1)
205 struct list_head conn_list; /* linked-list of connection-list */
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 */
254 unsigned int link_down_at_suspend:1; /* link down at runtime suspend */
257 unsigned int no_stream_clean_at_suspend:1; /* do not clean streams at suspend */
268 /* codec-specific additional proc output */
274 unsigned long jackpoll_interval; /* In jiffies. Zero means no poll, rely on unsol events */
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 */
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()