Lines Matching refs:nid
115 int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
118 void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
142 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */
266 /* filter the requested power state per nid */
267 unsigned int (*power_filter)(struct hda_codec *codec, hda_nid_t nid,
272 struct hda_codec *codec, hda_nid_t nid);
319 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid,
323 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm);
327 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags,
330 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm);
333 #define snd_hda_param_read(codec, nid, param) \
334 snd_hdac_read_parm(&(codec)->core, nid, param)
335 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \
336 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
337 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
340 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid)
342 return snd_hda_get_connections(codec, nid, NULL, 0);
345 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \
346 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
347 #define snd_hda_get_num_raw_conns(codec, nid) \
348 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0);
350 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid,
352 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums,
355 hda_nid_t nid, int recursive);
356 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid);
357 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid,
359 int snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid);
360 int snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id);
363 hda_nid_t nid;
373 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid,
376 return snd_hdac_regmap_write(&codec->core, nid, verb, parm);
381 hda_nid_t nid;
387 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid);
388 int snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid,
391 hda_nid_t nid, unsigned int cfg); /* for hwdep */
396 hda_nid_t nid; /* Converter nid values relate to */
401 hda_nid_t nid);
403 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid);
437 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
440 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid,
442 #define snd_hda_codec_cleanup_stream(codec, nid) \
443 __snd_hda_codec_cleanup_stream(codec, nid, 0)
445 #define snd_hda_query_supported_pcm(codec, nid, ratesp, fmtsp, bpsp) \
446 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, bpsp)
447 #define snd_hda_is_supported_format(codec, nid, fmt) \
448 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
475 int hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid)
479 return codec->patch_ops.check_power_status(codec, nid);