Home
last modified time | relevance | path

Searched refs:hdac (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/include/sound/
H A 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,
H A Dhdaudio.h123 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size);
149 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
151 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
153 bool snd_hdac_check_power_state(struct hdac_device *hdac,
155 unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
/kernel/linux/linux-6.6/include/sound/
H A 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,
H A Dhdaudio.h127 int snd_hdac_codec_modalias(const struct hdac_device *hdac, char *buf, size_t size);
153 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
155 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
157 bool snd_hdac_check_power_state(struct hdac_device *hdac,
159 unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_device.c989 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid, in codec_read() argument
992 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
995 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read()
1001 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() argument
1004 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write()
1006 return snd_hdac_exec_verb(hdac, cmd, flags, NULL); in codec_write()
1011 * @hdac: the HDAC device
1021 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read() argument
1024 return codec_read(hdac, nid, flags, verb, parm); in snd_hdac_codec_read()
1030 * @hdac
1040 snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hdac_codec_write() argument
1057 snd_hdac_check_power_state(struct hdac_device *hdac, hda_nid_t nid, unsigned int target_state) snd_hdac_check_power_state() argument
[all...]
H A Dhdmi_chmap.c332 chmap->hdac, pin_nid, i); in hdmi_debug_channel_mapping()
333 dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", in hdmi_debug_channel_mapping()
381 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_std_setup_channel_mapping()
384 dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); in hdmi_std_setup_channel_mapping()
527 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_manual_setup_channel_mapping()
587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
595 ca = hdmi_channel_allocation_spk_alloc_blk(hdac, in snd_hdac_channel_allocation()
683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
748 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get()
770 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_id in hdmi_chmap_ctl_put()
817 snd_hdac_register_chmap_ops(struct hdac_device *hdac, struct hdac_chmap *chmap) snd_hdac_register_chmap_ops() argument
[all...]
H A Dhdac_i915.c75 static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac) in connectivity_check() argument
77 struct pci_bus *bus_a = i915->bus, *bus_b = hdac->bus; in connectivity_check()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_device.c989 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid, in codec_read() argument
992 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
995 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read()
1001 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() argument
1004 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write()
1006 return snd_hdac_exec_verb(hdac, cmd, flags, NULL); in codec_write()
1011 * @hdac: the HDAC device
1021 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read() argument
1024 return codec_read(hdac, nid, flags, verb, parm); in snd_hdac_codec_read()
1030 * @hdac
1040 snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) snd_hdac_codec_write() argument
1057 snd_hdac_check_power_state(struct hdac_device *hdac, hda_nid_t nid, unsigned int target_state) snd_hdac_check_power_state() argument
[all...]
H A Dhdmi_chmap.c332 chmap->hdac, pin_nid, i); in hdmi_debug_channel_mapping()
333 dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", in hdmi_debug_channel_mapping()
381 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_std_setup_channel_mapping()
384 dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); in hdmi_std_setup_channel_mapping()
527 err = chmap->ops.pin_set_slot_channel(chmap->hdac, in hdmi_manual_setup_channel_mapping()
587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
595 ca = hdmi_channel_allocation_spk_alloc_blk(hdac, in snd_hdac_channel_allocation()
683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
748 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get()
770 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_id in hdmi_chmap_ctl_put()
817 snd_hdac_register_chmap_ops(struct hdac_device *hdac, struct hdac_chmap *chmap) snd_hdac_register_chmap_ops() argument
[all...]
H A Dhdac_i915.c70 static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac) in connectivity_check() argument
72 struct pci_bus *bus_a = i915->bus, *bus_b = hdac->bus; in connectivity_check()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_hdmi.c2218 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc() argument
2220 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_spk_alloc()
2230 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap() argument
2233 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_chmap()
2244 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap() argument
2247 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_set_chmap()
2261 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached() argument
2263 struct hda_codec *codec = hdac_to_hda_codec(hdac); in is_hdmi_pcm_attached()
4015 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel() argument
4018 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_set_slot_channel()
4051 atihdmi_pin_get_slot_channel(struct hdac_device *hdac, hda_nid_t pin_nid, int asp_slot) atihdmi_pin_get_slot_channel() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_hdmi.c2242 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc() argument
2244 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_spk_alloc()
2254 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap() argument
2257 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_chmap()
2268 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap() argument
2271 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_set_chmap()
2285 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached() argument
2287 struct hda_codec *codec = hdac_to_hda_codec(hdac); in is_hdmi_pcm_attached()
4216 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel() argument
4219 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_set_slot_channel()
4252 atihdmi_pin_get_slot_channel(struct hdac_device *hdac, hda_nid_t pin_nid, int asp_slot) atihdmi_pin_get_slot_channel() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Davs.h157 #define hdac_to_avs(hdac) hda_to_avs(to_hda_bus(hdac))
/kernel/linux/linux-5.10/sound/soc/codecs/
H A DMakefile94 snd-soc-hdac-hdmi-objs := hdac_hdmi.o
95 snd-soc-hdac-hda-objs := hdac_hda.o
403 obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o
404 obj-$(CONFIG_SND_SOC_HDAC_HDA) += snd-soc-hdac-hda.o
/kernel/linux/linux-6.6/sound/soc/codecs/
H A DMakefile123 snd-soc-hdac-hdmi-objs := hdac_hdmi.o
124 snd-soc-hdac-hda-objs := hdac_hda.o
509 obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o
510 obj-$(CONFIG_SND_SOC_HDAC_HDA) += snd-soc-hdac-hda.o

Completed in 26 milliseconds