Searched refs:pcm_idx (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/include/sound/ |
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,
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | patch_hdmi.c | 78 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */ member 267 int pcm_idx; in hinfo_to_pcm_index() local 269 for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) in hinfo_to_pcm_index() 270 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index() 271 return pcm_idx; in hinfo_to_pcm_index() 297 int pcm_idx) in pcm_idx_to_pin() argument 304 if (per_pin->pcm_idx == pcm_idx) in pcm_idx_to_pin() 330 int pcm_idx; in hdmi_eld_ctl_info() local 334 pcm_idx = kcontrol->private_value; in hdmi_eld_ctl_info() 336 per_pin = pcm_idx_to_pin(spec, pcm_idx); in hdmi_eld_ctl_info() [all …]
|
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
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.
|
/kernel/linux/linux-5.10/sound/hda/ |
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() 761 int pcm_idx = kcontrol->private_value; in hdmi_chmap_ctl_put() local 770 if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx)) in hdmi_chmap_ctl_put() 791 hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap); in hdmi_chmap_ctl_put() 804 hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared); in hdmi_chmap_ctl_put() 826 int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx, in snd_hdac_add_chmap_ctls() argument 835 NULL, 0, pcm_idx, &chmap); in snd_hdac_add_chmap_ctls()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | hdac_hdmi.c | 283 int pcm_idx) in get_hdmi_pcm_from_id() argument 288 if (pcm->pcm_id == pcm_idx) in get_hdmi_pcm_from_id() 2064 static void hdac_hdmi_get_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_get_chmap() argument 2068 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_get_chmap() 2073 static void hdac_hdmi_set_chmap(struct hdac_device *hdev, int pcm_idx, in hdac_hdmi_set_chmap() argument 2077 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_set_chmap() 2095 static bool is_hdac_hdmi_pcm_attached(struct hdac_device *hdev, int pcm_idx) in is_hdac_hdmi_pcm_attached() argument 2098 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in is_hdac_hdmi_pcm_attached() 2109 static int hdac_hdmi_get_spk_alloc(struct hdac_device *hdev, int pcm_idx) in hdac_hdmi_get_spk_alloc() argument 2112 struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx); in hdac_hdmi_get_spk_alloc()
|