Lines Matching +full:audio +full:- +full:amp

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio regmap helpers
13 #define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */
32 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register
42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register
57 * snd_hdac_regmap_encode_amp_stereo - encode a pseudo register for stereo AMPs
71 * snd_hdac_regmap_write - Write a verb with caching
76 * For writing an amp value, use snd_hdac_regmap_update_amp().
88 * snd_hda_regmap_update - Update a verb value with caching
94 * For updating an amp value, use snd_hdac_regmap_update_amp().
107 * snd_hda_regmap_read - Read a verb with caching
112 * For reading an amp value, use snd_hda_regmap_get_amp().
124 * snd_hdac_regmap_get_amp - Read AMP value
125 * @codec: HD-audio codec
126 * @nid: NID to read the AMP value
132 * Read AMP value. The volume is between 0 to 0x7f, 0x80 = mute bit.
147 * snd_hdac_regmap_update_amp - update the AMP value
148 * @codec: HD-audio codec
149 * @nid: NID to read the AMP value
156 * Update the AMP value with a bit mask.
169 * snd_hdac_regmap_get_amp_stereo - Read stereo AMP values
170 * @codec: HD-audio codec
171 * @nid: NID to read the AMP value
177 * Read stereo AMP values. The lower byte is left, the upper byte is right.
192 * snd_hdac_regmap_update_amp_stereo - update the stereo AMP value
193 * @codec: HD-audio codec
194 * @nid: NID to read the AMP value
200 * Update the stereo AMP value with a bit mask.
214 * snd_hdac_regmap_sync_node - sync the widget node attributes
215 * @codec: HD-audio codec
221 regcache_mark_dirty(codec->regmap); in snd_hdac_regmap_sync_node()
222 regcache_sync_region(codec->regmap, nid << 20, ((nid + 1) << 20) - 1); in snd_hdac_regmap_sync_node()