Lines Matching refs:codec

15 int snd_hdac_regmap_init(struct hdac_device *codec);
16 void snd_hdac_regmap_exit(struct hdac_device *codec);
17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec,
19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg,
21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec,
23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg,
25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg,
27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg,
29 void snd_hdac_regmap_sync(struct hdac_device *codec);
34 * @verb: codec verb
72 * @nid: codec NID
79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid,
84 return snd_hdac_regmap_write_raw(codec, cmd, val);
89 * @nid: codec NID
97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid,
103 return snd_hdac_regmap_update_raw(codec, cmd, mask, val);
108 * @nid: codec NID
115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid,
120 return snd_hdac_regmap_read_raw(codec, cmd, val);
125 * @codec: HD-audio codec
136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid,
142 err = snd_hdac_regmap_read_raw(codec, cmd, &val);
148 * @codec: HD-audio codec
160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid,
165 return snd_hdac_regmap_update_raw(codec, cmd, mask, val);
170 * @codec: HD-audio codec
181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid,
187 err = snd_hdac_regmap_read_raw(codec, cmd, &val);
193 * @codec: HD-audio codec
205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid,
210 return snd_hdac_regmap_update_raw(codec, cmd, mask, val);
215 * @codec: HD-audio codec
219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid)
221 regcache_mark_dirty(codec->regmap);
222 regcache_sync_region(codec->regmap, nid << 20, ((nid + 1) << 20) - 1);