Lines Matching refs:nid
115 int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
117 void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
141 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member
266 unsigned int (*power_filter)(struct hda_codec *codec, hda_nid_t nid,
271 struct hda_codec *codec, hda_nid_t nid);
318 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() argument
322 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
326 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() argument
329 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
332 #define snd_hda_param_read(codec, nid, param) \ argument
333 snd_hdac_read_parm(&(codec)->core, nid, param)
334 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument
335 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
336 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
339 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns() argument
341 return snd_hda_get_connections(codec, nid, NULL, 0); in snd_hda_get_num_conns()
344 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument
345 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
346 #define snd_hda_get_num_raw_conns(codec, nid) \ argument
347 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0)
349 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid,
351 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums,
354 hda_nid_t nid, int recursive);
355 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid);
356 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid,
358 int snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid);
359 int snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id);
362 hda_nid_t nid; member
372 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache() argument
375 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
380 hda_nid_t nid; member
386 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid);
387 int snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid,
390 hda_nid_t nid, unsigned int cfg); /* for hwdep */
395 hda_nid_t nid; /* Converter nid values relate to */ member
400 hda_nid_t nid);
402 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid);
436 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
439 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid,
441 #define snd_hda_codec_cleanup_stream(codec, nid) \ argument
442 __snd_hda_codec_cleanup_stream(codec, nid, 0)
444 #define snd_hda_query_supported_pcm(codec, nid, ratesp, fmtsp, bpsp) \ argument
445 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, bpsp)
446 #define snd_hda_is_supported_format(codec, nid, fmt) \ argument
447 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
474 int hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid) in hda_call_check_power_status() argument
478 return codec->patch_ops.check_power_status(codec, nid); in hda_call_check_power_status()