Searched refs:pcm_idx (Results 1 – 7 of 7) sorted by relevance
| /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 147 pcm_idx = kcontrol->private_value; in hdmi_eld_ctl_info() 149 per_pin = pcm_idx_to_pin(spec, pcm_idx); in hdmi_eld_ctl_info() 167 int pcm_idx; in hdmi_eld_ctl_get() 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 | 669 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_tlv() local 683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv() 743 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_get() local 748 chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); in hdmi_chmap_ctl_get() 775 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_put() local 788 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put() 809 hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap); in hdmi_chmap_ctl_put() 822 hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared); in hdmi_chmap_ctl_put() 844 int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx, in snd_hdac_add_chmap_ctls() argument 853 NULL, 0, pcm_idx, &chmap); in snd_hdac_add_chmap_ctls()
|
| /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() 1774 static void hdac_hdmi_get_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_get_chmap() 1778 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_set_chmap() argument 1783 static void hdac_hdmi_set_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_set_chmap() 1787 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_set_chmap() 1805 static bool is_hdac_hdmi_pcm_attached(struct hdac_device *hdev, int pcm_idx) in is_hdac_hdmi_pcm_attached() 1808 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in is_hdac_hdmi_pcm_attached() 1819 static int hdac_hdmi_get_spk_alloc(struct hdac_device *hdev, int pcm_idx) in hdac_hdmi_get_spk_alloc() 1822 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 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()
|