Lines Matching defs:codec
182 static int hdmi_pin_set_slot_channel(struct hdac_device *codec,
185 return snd_hdac_codec_write(codec, pin_nid, 0,
190 static int hdmi_pin_get_slot_channel(struct hdac_device *codec,
193 return (snd_hdac_codec_read(codec, pin_nid, 0,
198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid)
200 return 1 + snd_hdac_codec_read(codec, cvt_nid, 0,
204 static void hdmi_set_channel_count(struct hdac_device *codec,
207 if (chs != hdmi_get_channel_count(codec, cvt_nid))
208 snd_hdac_codec_write(codec, cvt_nid, 0,
268 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec,
317 dev_dbg(&codec->dev, "HDMI: select CA 0x%x for %d-channel allocation: %s\n",