Lines Matching defs:hdac
989 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid,
992 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
995 if (snd_hdac_exec_verb(hdac, cmd, flags, &res))
1001 static int codec_write(struct hdac_device *hdac, hda_nid_t nid,
1004 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
1006 return snd_hdac_exec_verb(hdac, cmd, flags, NULL);
1011 * @hdac: the HDAC device
1021 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
1024 return codec_read(hdac, nid, flags, verb, parm);
1030 * @hdac: the HDAC device
1040 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
1043 return codec_write(hdac, nid, flags, verb, parm);
1051 * @hdac: the HDAC device
1057 bool snd_hdac_check_power_state(struct hdac_device *hdac,
1060 unsigned int state = codec_read(hdac, nid, 0,