/linux-master/include/sound/ |
H A D | hda_chmap.h | 40 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 in struct:hdac_chmap 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 D | hdaudio.h | 127 int snd_hdac_codec_modalias(const struct hdac_device *hdac, char *buf, size_t size); 154 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, 156 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, 158 bool snd_hdac_check_power_state(struct hdac_device *hdac, 160 unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
|
/linux-master/sound/hda/ |
H A D | hdmi_chmap.c | 332 chmap->hdac, pin_nid, i); 333 dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", 381 err = chmap->ops.pin_set_slot_channel(chmap->hdac, 384 dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); 527 err = chmap->ops.pin_set_slot_channel(chmap->hdac, 587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, argument 595 ca = hdmi_channel_allocation_spk_alloc_blk(hdac, 683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); 748 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); 770 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_id 817 snd_hdac_register_chmap_ops(struct hdac_device *hdac, struct hdac_chmap *chmap) argument [all...] |
H A D | hdac_i915.c | 76 static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac) argument 78 struct pci_bus *bus_a = i915->bus, *bus_b = hdac->bus;
|
H A D | hdac_device.c | 1057 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid, argument 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, argument 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, argument 1092 return codec_read(hdac, nid, flags, verb, parm); 1098 * @hdac 1108 snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) argument 1125 snd_hdac_check_power_state(struct hdac_device *hdac, hda_nid_t nid, unsigned int target_state) argument [all...] |
/linux-master/sound/soc/intel/avs/ |
H A D | avs.h | 178 #define hdac_to_avs(hdac) hda_to_avs(to_hda_bus(hdac))
|
/linux-master/sound/pci/hda/ |
H A D | patch_hdmi.c | 2242 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) argument 2244 struct hda_codec *codec = hdac_to_hda_codec(hdac); 2254 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, argument 2257 struct hda_codec *codec = hdac_to_hda_codec(hdac); 2268 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, argument 2271 struct hda_codec *codec = hdac_to_hda_codec(hdac); 2285 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) argument 2287 struct hda_codec *codec = hdac_to_hda_codec(hdac); 4216 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, argument 4219 struct hda_codec *codec = hdac_to_hda_codec(hdac); 4252 atihdmi_pin_get_slot_channel(struct hdac_device *hdac, hda_nid_t pin_nid, int asp_slot) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | Makefile | 129 snd-soc-hdac-hdmi-objs := hdac_hdmi.o 130 snd-soc-hdac-hda-objs := hdac_hda.o 524 obj-$(CONFIG_SND_SOC_HDAC_HDMI) += snd-soc-hdac-hdmi.o 525 obj-$(CONFIG_SND_SOC_HDAC_HDA) += snd-soc-hdac-hda.o
|