• Home
  • Raw
  • Download

Lines Matching refs:nid

39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs)		\  argument
40 ((nid) | ((chs)<<16) | ((dir)<<18) | ((idx)<<19) | ((ofs)<<23))
42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
43 HDA_COMPOSE_AMP_VAL_OFS(nid, chs, idx, dir, 0)
45 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument
55 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, dir) | flags }
57 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument
58 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
60 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument
61 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, channel, xindex, direction, 0)
63 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument
64 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
66 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument
67 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
70 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
76 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, direction) }
78 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument
79 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, 3, xindex, direction)
81 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument
82 HDA_CODEC_MUTE_MONO_IDX(xname, 0, nid, channel, xindex, direction)
84 #define HDA_CODEC_MUTE(xname, nid, xindex, direction) \ argument
85 HDA_CODEC_MUTE_MONO(xname, nid, 3, xindex, direction)
88 #define HDA_CODEC_MUTE_BEEP_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
94 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, direction) }
97 #define HDA_CODEC_MUTE_BEEP_MONO_IDX(xname, xcidx, nid, ch, xidx, dir) \ argument
98 HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, ch, xidx, dir)
101 #define HDA_CODEC_MUTE_BEEP_MONO(xname, nid, channel, xindex, direction) \ argument
102 HDA_CODEC_MUTE_BEEP_MONO_IDX(xname, 0, nid, channel, xindex, direction)
104 #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \ argument
105 HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
130 int snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch,
132 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch,
134 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
136 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
138 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid,
142 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir,
182 #define HDA_BIND_MUTE_MONO(xname, nid, channel, indices, direction) \ argument
187 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, indices, direction) }
190 #define HDA_BIND_MUTE(xname,nid,indices,dir) \ argument
191 HDA_BIND_MUTE_MONO(xname,nid,3,indices,dir)
250 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid);
269 struct snd_ctl_elem_value *ucontrol, hda_nid_t nid,
393 hda_nid_t nid; member
532 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid);
533 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid,
539 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps() argument
541 if (nid < codec->start_nid || in get_wcaps()
542 nid >= codec->start_nid + codec->num_nodes) in get_wcaps()
544 return codec->wcaps[nid - codec->start_nid]; in get_wcaps()
565 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction);
566 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir,
568 u32 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid);
569 int snd_hda_override_pin_caps(struct hda_codec *codec, hda_nid_t nid,
578 hda_nid_t nid; member
582 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid,
585 unsigned int index, hda_nid_t nid);
646 hda_nid_t nid; member
658 hda_nid_t nid);
662 snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_power_state() argument
665 unsigned int state = snd_hda_codec_read(codec, nid, 0, in snd_hda_check_power_state()
674 hda_nid_t nid,
752 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid);
753 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid,