Searched refs:hdac (Results 1 – 6 of 6) sorted by relevance
| /linux/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 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/sound/hda/core/ |
| H A D | hdmi_chmap.c | 332 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() 788 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put() [all …]
|
| H A D | i915.c | 76 static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac) in connectivity_check() argument 78 struct pci_bus *bus_a = i915->bus, *bus_b = hdac->bus; in connectivity_check()
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | atihdmi.c | 311 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel() argument 314 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_set_slot_channel() 348 static int atihdmi_pin_get_slot_channel(struct hdac_device *hdac, in atihdmi_pin_get_slot_channel() argument 351 struct hda_codec *codec = hdac_to_hda_codec(hdac); in atihdmi_pin_get_slot_channel()
|
| H A D | hdmi.c | 1789 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc() argument 1791 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_spk_alloc() 1801 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap() argument 1804 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_get_chmap() 1815 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap() argument 1818 struct hda_codec *codec = hdac_to_hda_codec(hdac); in hdmi_set_chmap() 1831 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached() argument 1833 struct hda_codec *codec = hdac_to_hda_codec(hdac); in is_hdmi_pcm_attached()
|