| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi.c | 80 int pcm_idx; in hinfo_to_pcm_index() local 82 for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) in hinfo_to_pcm_index() 83 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index() 84 return pcm_idx; in hinfo_to_pcm_index() 110 int pcm_idx) in pcm_idx_to_pin() argument 117 if (per_pin->pcm_idx == pcm_idx) in pcm_idx_to_pin() 143 int pcm_idx; in hdmi_eld_ctl_info() local 167 int pcm_idx; hdmi_eld_ctl_get() local 203 hdmi_create_eld_ctl(struct hda_codec * codec,int pcm_idx,int device) hdmi_create_eld_ctl() argument 840 int cvt_idx, pcm_idx; hdmi_pcm_open_no_pin() local 888 int pin_idx, cvt_idx, pcm_idx; hdmi_pcm_open() local 1147 int pcm_idx; update_eld() local 1730 int cvt_idx, pin_idx, pcm_idx; hdmi_pcm_close() local 1789 hdmi_get_spk_alloc(struct hdac_device * hdac,int pcm_idx) hdmi_get_spk_alloc() argument 1801 hdmi_get_chmap(struct hdac_device * hdac,int pcm_idx,unsigned char * chmap) hdmi_get_chmap() argument 1815 hdmi_set_chmap(struct hdac_device * hdac,int pcm_idx,unsigned char * chmap,int prepared) hdmi_set_chmap() argument 1831 is_hdmi_pcm_attached(struct hdac_device * hdac,int pcm_idx) is_hdmi_pcm_attached() argument 1888 generic_hdmi_build_jack(struct hda_codec * codec,int pcm_idx) generic_hdmi_build_jack() argument 1914 int pin_idx, pcm_idx; snd_hda_hdmi_generic_build_controls() local 2042 int pin_idx, pcm_idx; snd_hda_hdmi_generic_remove() local [all...] |
| H A D | hdmi_local.h | 46 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */ member
|
| /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); 77 int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx,
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | dp-mst.rst | 69 Will not use hda_jack but use snd_jack in spec->pcm_rec[pcm_idx].jack directly. 73 Use hda_jack and assign spec->pcm_rec[pcm_idx].jack = jack->jack statically. 88 Use directly snd_jack_report() on spec->pcm_rec[pcm_idx].jack for 96 Use directly snd_jack_report() on spec->pcm_rec[pcm_idx].jack for dyn_pcm_assign.
|
| /linux/sound/hda/core/ |
| H A D | hdmi_chmap.c | 672 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_tlv() 686 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv() 746 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_get() 751 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get() 778 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_put() 791 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put() 812 hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap); in hdmi_chmap_ctl_put() 825 hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared); in hdmi_chmap_ctl_put() 847 int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx, in snd_hdac_add_chmap_ctls() 856 NULL, 0, pcm_idx, in snd_hdac_add_chmap_ctls() 669 int pcm_idx = kcontrol->private_value; hdmi_chmap_ctl_tlv() local 743 int pcm_idx = kcontrol->private_value; hdmi_chmap_ctl_get() local 775 int pcm_idx = kcontrol->private_value; hdmi_chmap_ctl_put() local 844 snd_hdac_add_chmap_ctls(struct snd_pcm * pcm,int pcm_idx,struct hdac_chmap * hchmap) snd_hdac_add_chmap_ctls() argument [all...] |
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 282 int pcm_idx) in get_hdmi_pcm_from_id() argument 287 if (pcm->pcm_id == pcm_idx) in get_hdmi_pcm_from_id() 1776 static void hdac_hdmi_get_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_get_chmap() 1780 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_set_chmap() 1785 static void hdac_hdmi_set_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_set_chmap() 1789 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_set_chmap() 1807 static bool is_hdac_hdmi_pcm_attached(struct hdac_device *hdev, int pcm_idx) in is_hdac_hdmi_pcm_attached() 1810 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in is_hdac_hdmi_pcm_attached() 1821 static int hdac_hdmi_get_spk_alloc(struct hdac_device *hdev, int pcm_idx) in hdac_hdmi_get_spk_alloc() 1824 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_get_spk_alloc() 1769 hdac_hdmi_get_chmap(struct hdac_device * hdev,int pcm_idx,unsigned char * chmap) hdac_hdmi_get_chmap() argument 1778 hdac_hdmi_set_chmap(struct hdac_device * hdev,int pcm_idx,unsigned char * chmap,int prepared) hdac_hdmi_set_chmap() argument 1800 is_hdac_hdmi_pcm_attached(struct hdac_device * hdev,int pcm_idx) is_hdac_hdmi_pcm_attached() argument 1814 hdac_hdmi_get_spk_alloc(struct hdac_device * hdev,int pcm_idx) hdac_hdmi_get_spk_alloc() argument [all...] |
| /linux/sound/usb/qcom/ |
| H A D | qc_audio_offload.c | 213 unsigned int pcm_idx, in find_substream() argument 224 if (pcm_idx >= chip->pcm_devs) in find_substream() 231 if (as->pcm_index == pcm_idx) { in find_substream()
|