Lines Matching refs:hdac
988 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid, in codec_read() argument
991 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
994 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read()
1000 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() argument
1003 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write()
1005 return snd_hdac_exec_verb(hdac, cmd, flags, NULL); in codec_write()
1020 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read() argument
1023 return codec_read(hdac, nid, flags, verb, parm); in snd_hdac_codec_read()
1039 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_write() argument
1042 return codec_write(hdac, nid, flags, verb, parm); in snd_hdac_codec_write()
1056 bool snd_hdac_check_power_state(struct hdac_device *hdac, in snd_hdac_check_power_state() argument
1059 unsigned int state = codec_read(hdac, nid, 0, in snd_hdac_check_power_state()