Lines Matching refs:nid

33  * @nid: widget NID
38 #define snd_hdac_regmap_encode_verb(nid, verb) \
39 (((verb) << 8) | 0x80000 | ((unsigned int)(nid) << 20))
43 * @nid: widget NID
50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \
51 (snd_hdac_regmap_encode_verb(nid, AC_VERB_GET_AMP_GAIN_MUTE) | \
58 * @nid: widget NID
64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \
65 (snd_hdac_regmap_encode_verb(nid, AC_VERB_GET_AMP_GAIN_MUTE) | \
72 * @nid: codec NID
79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid,
82 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb);
89 * @nid: codec NID
97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid,
101 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb);
108 * @nid: codec NID
115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid,
118 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb);
126 * @nid: NID to read the AMP value
136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid,
139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx);
149 * @nid: NID to read the AMP value
160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid,
163 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx);
171 * @nid: NID to read the AMP value
181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid,
184 unsigned int cmd = snd_hdac_regmap_encode_amp_stereo(nid, dir, idx);
194 * @nid: NID to read the AMP value
205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid,
208 unsigned int cmd = snd_hdac_regmap_encode_amp_stereo(nid, dir, idx);
216 * @nid: NID to sync
219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid)
222 regcache_sync_region(codec->regmap, nid << 20, ((nid + 1) << 20) - 1);