Home
last modified time | relevance | path

Searched refs:hdac (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/sound/
Dhda_chmap.h40 int (*get_spk_alloc)(struct hdac_device *hdac, int pcm_idx);
42 void (*get_chmap)(struct hdac_device *hdac, int pcm_idx,
44 void (*set_chmap)(struct hdac_device *hdac, int pcm_idx,
46 bool (*is_pcm_attached)(struct hdac_device *hdac, int pcm_idx);
60 struct hdac_device *hdac; member
63 void snd_hdac_register_chmap_ops(struct hdac_device *hdac,
65 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
Dhdaudio.h115 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size);
145 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
147 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
149 bool snd_hdac_check_power_state(struct hdac_device *hdac,
151 unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
/Linux-v4.19/sound/hda/
Dhdmi_chmap.c331 chmap->hdac, pin_nid, i); in hdmi_debug_channel_mapping()
332 dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", in hdmi_debug_channel_mapping()
380 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_std_setup_channel_mapping()
383 dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); in hdmi_std_setup_channel_mapping()
526 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_manual_setup_channel_mapping()
586 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
594 ca = hdmi_channel_allocation_spk_alloc_blk(hdac, in snd_hdac_channel_allocation()
682 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
747 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get()
769 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put()
[all …]
Dhdac_device.c988 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()
[all …]
/Linux-v4.19/sound/pci/hda/
Dpatch_hdmi.c2004 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc() argument
2006 struct hda_codec *codec = container_of(hdac, struct hda_codec, core); in hdmi_get_spk_alloc()
2016 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap() argument
2019 struct hda_codec *codec = container_of(hdac, struct hda_codec, core); in hdmi_get_chmap()
2030 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap() argument
2033 struct hda_codec *codec = container_of(hdac, struct hda_codec, core); in hdmi_set_chmap()
2047 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached() argument
2049 struct hda_codec *codec = container_of(hdac, struct hda_codec, core); in is_hdmi_pcm_attached()
3543 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel() argument
3546 struct hda_codec *codec = container_of(hdac, struct hda_codec, core); in atihdmi_pin_set_slot_channel()
[all …]
/Linux-v4.19/sound/soc/codecs/
DMakefile80 snd-soc-hdac-hdmi-objs := hdac_hdmi.o
340 obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o