Lines Matching defs:hdac
1054 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid,
1057 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
1060 if (snd_hdac_exec_verb(hdac, cmd, flags, &res))
1066 static int codec_write(struct hdac_device *hdac, hda_nid_t nid,
1069 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
1071 return snd_hdac_exec_verb(hdac, cmd, flags, NULL);
1076 * @hdac: the HDAC device
1086 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
1089 return codec_read(hdac, nid, flags, verb, parm);
1095 * @hdac: the HDAC device
1105 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
1108 return codec_write(hdac, nid, flags, verb, parm);
1116 * @hdac: the HDAC device
1122 bool snd_hdac_check_power_state(struct hdac_device *hdac,
1125 unsigned int state = codec_read(hdac, nid, 0,