Lines Matching refs:nid

118 	int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
120 void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
144 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member
270 unsigned int (*power_filter)(struct hda_codec *codec, hda_nid_t nid,
275 struct hda_codec *codec, hda_nid_t nid);
327 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() argument
331 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
335 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() argument
338 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
341 #define snd_hda_param_read(codec, nid, param) \ argument
342 snd_hdac_read_parm(&(codec)->core, nid, param)
343 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument
344 snd_hdac_get_sub_nodes(&(codec)->core, nid, start_nid)
345 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid,
348 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns() argument
350 return snd_hda_get_connections(codec, nid, NULL, 0); in snd_hda_get_num_conns()
353 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument
354 snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
355 #define snd_hda_get_num_raw_conns(codec, nid) \ argument
356 snd_hdac_get_connections(&(codec)->core, nid, NULL, 0)
358 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid,
360 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums,
363 hda_nid_t nid, int recursive);
364 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid);
365 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid,
367 int snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid);
368 int snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id);
371 hda_nid_t nid; member
381 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache() argument
384 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
389 hda_nid_t nid; member
395 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid);
396 int snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid,
399 hda_nid_t nid, unsigned int cfg); /* for hwdep */
404 hda_nid_t nid; /* Converter nid values relate to */ member
409 hda_nid_t nid);
411 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid);
445 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
448 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid,
450 #define snd_hda_codec_cleanup_stream(codec, nid) \ argument
451 __snd_hda_codec_cleanup_stream(codec, nid, 0)
453 #define snd_hda_query_supported_pcm(codec, nid, ratesp, fmtsp, bpsp) \ argument
454 snd_hdac_query_supported_pcm(&(codec)->core, nid, ratesp, fmtsp, bpsp)
455 #define snd_hda_is_supported_format(codec, nid, fmt) \ argument
456 snd_hdac_is_supported_format(&(codec)->core, nid, fmt)
483 int hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid) in hda_call_check_power_status() argument
487 return codec->patch_ops.check_power_status(codec, nid); in hda_call_check_power_status()