hdac               40 include/sound/hda_chmap.h 	int (*get_spk_alloc)(struct hdac_device *hdac, int pcm_idx);
hdac               42 include/sound/hda_chmap.h 	void (*get_chmap)(struct hdac_device *hdac, int pcm_idx,
hdac               44 include/sound/hda_chmap.h 	void (*set_chmap)(struct hdac_device *hdac, int pcm_idx,
hdac               46 include/sound/hda_chmap.h 	bool (*is_pcm_attached)(struct hdac_device *hdac, int pcm_idx);
hdac               60 include/sound/hda_chmap.h 	struct hdac_device *hdac;
hdac               63 include/sound/hda_chmap.h void snd_hdac_register_chmap_ops(struct hdac_device *hdac,
hdac               65 include/sound/hda_chmap.h int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
hdac              123 include/sound/hdaudio.h int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size);
hdac              149 include/sound/hdaudio.h int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
hdac              151 include/sound/hdaudio.h int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
hdac              153 include/sound/hdaudio.h bool snd_hdac_check_power_state(struct hdac_device *hdac,
hdac              155 include/sound/hdaudio.h unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
hdac              981 sound/hda/hdac_device.c static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid,
hdac              984 sound/hda/hdac_device.c 	unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
hdac              987 sound/hda/hdac_device.c 	if (snd_hdac_exec_verb(hdac, cmd, flags, &res))
hdac              993 sound/hda/hdac_device.c static int codec_write(struct hdac_device *hdac, hda_nid_t nid,
hdac              996 sound/hda/hdac_device.c 	unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm);
hdac              998 sound/hda/hdac_device.c 	return snd_hdac_exec_verb(hdac, cmd, flags, NULL);
hdac             1013 sound/hda/hdac_device.c int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
hdac             1016 sound/hda/hdac_device.c 	return codec_read(hdac, nid, flags, verb, parm);
hdac             1032 sound/hda/hdac_device.c int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
hdac             1035 sound/hda/hdac_device.c 	return codec_write(hdac, nid, flags, verb, parm);
hdac             1049 sound/hda/hdac_device.c bool snd_hdac_check_power_state(struct hdac_device *hdac,
hdac             1052 sound/hda/hdac_device.c 	unsigned int state = codec_read(hdac, nid, 0,
hdac              332 sound/hda/hdmi_chmap.c 				chmap->hdac, pin_nid, i);
hdac              333 sound/hda/hdmi_chmap.c 		dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n",
hdac              381 sound/hda/hdmi_chmap.c 		err = chmap->ops.pin_set_slot_channel(chmap->hdac,
hdac              384 sound/hda/hdmi_chmap.c 			dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n");
hdac              527 sound/hda/hdmi_chmap.c 		err = chmap->ops.pin_set_slot_channel(chmap->hdac,
hdac              587 sound/hda/hdmi_chmap.c int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
hdac              595 sound/hda/hdmi_chmap.c 		ca = hdmi_channel_allocation_spk_alloc_blk(hdac,
hdac              683 sound/hda/hdmi_chmap.c 	spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx);
hdac              748 sound/hda/hdmi_chmap.c 	chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap);
hdac              770 sound/hda/hdmi_chmap.c 	if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx))
hdac              791 sound/hda/hdmi_chmap.c 	hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap);
hdac              804 sound/hda/hdmi_chmap.c 	hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared);
hdac              817 sound/hda/hdmi_chmap.c void snd_hdac_register_chmap_ops(struct hdac_device *hdac,
hdac              821 sound/hda/hdmi_chmap.c 	chmap->hdac = hdac;
hdac             2036 sound/pci/hda/patch_hdmi.c static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx)
hdac             2038 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);
hdac             2048 sound/pci/hda/patch_hdmi.c static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx,
hdac             2051 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);
hdac             2062 sound/pci/hda/patch_hdmi.c static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx,
hdac             2065 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);
hdac             2079 sound/pci/hda/patch_hdmi.c static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx)
hdac             2081 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);
hdac             3792 sound/pci/hda/patch_hdmi.c static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac,
hdac             3795 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);
hdac             3828 sound/pci/hda/patch_hdmi.c static int atihdmi_pin_get_slot_channel(struct hdac_device *hdac,
hdac             3831 sound/pci/hda/patch_hdmi.c 	struct hda_codec *codec = container_of(hdac, struct hda_codec, core);