Lines Matching refs:hdac
1057 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid,
1060 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
1063 if (snd_hdac_exec_verb(hdac, cmd, flags, &res))
1069 static int codec_write(struct hdac_device *hdac, hda_nid_t nid,
1072 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
1074 return snd_hdac_exec_verb(hdac, cmd, flags, NULL);
1079 * @hdac: the HDAC device
1089 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
1092 return codec_read(hdac, nid, flags, verb, parm);
1098 * @hdac: the HDAC device
1108 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
1111 return codec_write(hdac, nid, flags, verb, parm);
1119 * @hdac: the HDAC device
1125 bool snd_hdac_check_power_state(struct hdac_device *hdac,
1128 unsigned int state = codec_read(hdac, nid, 0,