pcm_idx            40 include/sound/hda_chmap.h 	int (*get_spk_alloc)(struct hdac_device *hdac, int pcm_idx);
pcm_idx            42 include/sound/hda_chmap.h 	void (*get_chmap)(struct hdac_device *hdac, int pcm_idx,
pcm_idx            44 include/sound/hda_chmap.h 	void (*set_chmap)(struct hdac_device *hdac, int pcm_idx,
pcm_idx            46 include/sound/hda_chmap.h 	bool (*is_pcm_attached)(struct hdac_device *hdac, int pcm_idx);
pcm_idx            77 include/sound/hda_chmap.h int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx,
pcm_idx           669 sound/hda/hdmi_chmap.c 	int pcm_idx = kcontrol->private_value;
pcm_idx           683 sound/hda/hdmi_chmap.c 	spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx);
pcm_idx           743 sound/hda/hdmi_chmap.c 	int pcm_idx = kcontrol->private_value;
pcm_idx           748 sound/hda/hdmi_chmap.c 	chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap);
pcm_idx           761 sound/hda/hdmi_chmap.c 	int pcm_idx = kcontrol->private_value;
pcm_idx           770 sound/hda/hdmi_chmap.c 	if (!hchmap->ops.is_pcm_attached(hchmap->hdac, pcm_idx))
pcm_idx           791 sound/hda/hdmi_chmap.c 	hchmap->ops.get_chmap(hchmap->hdac, pcm_idx, per_pin_chmap);
pcm_idx           804 sound/hda/hdmi_chmap.c 	hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared);
pcm_idx           826 sound/hda/hdmi_chmap.c int snd_hdac_add_chmap_ctls(struct snd_pcm *pcm, int pcm_idx,
pcm_idx           835 sound/hda/hdmi_chmap.c 				     NULL, 0, pcm_idx, &chmap);
pcm_idx            92 sound/pci/hda/patch_hdmi.c 	int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */
pcm_idx           272 sound/pci/hda/patch_hdmi.c 	int pcm_idx;
pcm_idx           274 sound/pci/hda/patch_hdmi.c 	for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++)
pcm_idx           275 sound/pci/hda/patch_hdmi.c 		if (get_pcm_rec(spec, pcm_idx)->stream == hinfo)
pcm_idx           276 sound/pci/hda/patch_hdmi.c 			return pcm_idx;
pcm_idx           301 sound/pci/hda/patch_hdmi.c 						int pcm_idx)
pcm_idx           308 sound/pci/hda/patch_hdmi.c 		if (per_pin->pcm_idx == pcm_idx)
pcm_idx           334 sound/pci/hda/patch_hdmi.c 	int pcm_idx;
pcm_idx           338 sound/pci/hda/patch_hdmi.c 	pcm_idx = kcontrol->private_value;
pcm_idx           340 sound/pci/hda/patch_hdmi.c 	per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx           361 sound/pci/hda/patch_hdmi.c 	int pcm_idx;
pcm_idx           364 sound/pci/hda/patch_hdmi.c 	pcm_idx = kcontrol->private_value;
pcm_idx           366 sound/pci/hda/patch_hdmi.c 	per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx           401 sound/pci/hda/patch_hdmi.c static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx,
pcm_idx           411 sound/pci/hda/patch_hdmi.c 	kctl->private_value = pcm_idx;
pcm_idx           421 sound/pci/hda/patch_hdmi.c 	get_hdmi_pcm(spec, pcm_idx)->eld_ctl = kctl;
pcm_idx          1159 sound/pci/hda/patch_hdmi.c 	int cvt_idx, pcm_idx;
pcm_idx          1163 sound/pci/hda/patch_hdmi.c 	pcm_idx = hinfo_to_pcm_index(codec, hinfo);
pcm_idx          1164 sound/pci/hda/patch_hdmi.c 	if (pcm_idx < 0)
pcm_idx          1177 sound/pci/hda/patch_hdmi.c 	set_bit(pcm_idx, &spec->pcm_in_use);
pcm_idx          1207 sound/pci/hda/patch_hdmi.c 	int pin_idx, cvt_idx, pcm_idx;
pcm_idx          1214 sound/pci/hda/patch_hdmi.c 	pcm_idx = hinfo_to_pcm_index(codec, hinfo);
pcm_idx          1215 sound/pci/hda/patch_hdmi.c 	if (pcm_idx < 0)
pcm_idx          1243 sound/pci/hda/patch_hdmi.c 	set_bit(pcm_idx, &spec->pcm_in_use);
pcm_idx          1260 sound/pci/hda/patch_hdmi.c 	snd_hda_spdif_ctls_assign(codec, pcm_idx, per_cvt->cvt_nid);
pcm_idx          1277 sound/pci/hda/patch_hdmi.c 			snd_hda_spdif_ctls_unassign(codec, pcm_idx);
pcm_idx          1354 sound/pci/hda/patch_hdmi.c 	per_pin->pcm_idx = idx;
pcm_idx          1367 sound/pci/hda/patch_hdmi.c 	idx = per_pin->pcm_idx;
pcm_idx          1368 sound/pci/hda/patch_hdmi.c 	per_pin->pcm_idx = -1;
pcm_idx          1397 sound/pci/hda/patch_hdmi.c 	if (per_pin->pcm_idx >= 0 && per_pin->pcm_idx < spec->pcm_used)
pcm_idx          1398 sound/pci/hda/patch_hdmi.c 		pcm = get_pcm_rec(spec, per_pin->pcm_idx);
pcm_idx          1403 sound/pci/hda/patch_hdmi.c 	if (!test_bit(per_pin->pcm_idx, &spec->pcm_in_use))
pcm_idx          1420 sound/pci/hda/patch_hdmi.c 	snd_hda_spdif_ctls_assign(codec, per_pin->pcm_idx, hinfo->nid);
pcm_idx          1434 sound/pci/hda/patch_hdmi.c 	if (per_pin->pcm_idx >= 0 && per_pin->pcm_idx < spec->pcm_used)
pcm_idx          1435 sound/pci/hda/patch_hdmi.c 		snd_hda_spdif_ctls_unassign(per_pin->codec, per_pin->pcm_idx);
pcm_idx          1455 sound/pci/hda/patch_hdmi.c 	int pcm_idx;
pcm_idx          1458 sound/pci/hda/patch_hdmi.c 	pcm_idx = per_pin->pcm_idx;
pcm_idx          1471 sound/pci/hda/patch_hdmi.c 	if (pcm_idx == -1)
pcm_idx          1472 sound/pci/hda/patch_hdmi.c 		pcm_idx = per_pin->pcm_idx;
pcm_idx          1506 sound/pci/hda/patch_hdmi.c 	if (eld_changed && pcm_idx >= 0)
pcm_idx          1510 sound/pci/hda/patch_hdmi.c 			       &get_hdmi_pcm(spec, pcm_idx)->eld_ctl->id);
pcm_idx          1591 sound/pci/hda/patch_hdmi.c 	if (per_pin->pcm_idx >= 0 && spec->dyn_pcm_assign)
pcm_idx          1592 sound/pci/hda/patch_hdmi.c 		jack = spec->pcm_rec[per_pin->pcm_idx].jack;
pcm_idx          1760 sound/pci/hda/patch_hdmi.c 			per_pin->pcm_idx = -1;
pcm_idx          1763 sound/pci/hda/patch_hdmi.c 			per_pin->pcm_idx = pin_idx;
pcm_idx          1973 sound/pci/hda/patch_hdmi.c 	int cvt_idx, pin_idx, pcm_idx;
pcm_idx          1980 sound/pci/hda/patch_hdmi.c 		pcm_idx = hinfo_to_pcm_index(codec, hinfo);
pcm_idx          1981 sound/pci/hda/patch_hdmi.c 		if (snd_BUG_ON(pcm_idx < 0))
pcm_idx          1995 sound/pci/hda/patch_hdmi.c 		snd_hda_spdif_ctls_unassign(codec, pcm_idx);
pcm_idx          1996 sound/pci/hda/patch_hdmi.c 		clear_bit(pcm_idx, &spec->pcm_in_use);
pcm_idx          2036 sound/pci/hda/patch_hdmi.c static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx)
pcm_idx          2040 sound/pci/hda/patch_hdmi.c 	struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx          2048 sound/pci/hda/patch_hdmi.c static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx,
pcm_idx          2053 sound/pci/hda/patch_hdmi.c 	struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx          2062 sound/pci/hda/patch_hdmi.c static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx,
pcm_idx          2067 sound/pci/hda/patch_hdmi.c 	struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx          2079 sound/pci/hda/patch_hdmi.c static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx)
pcm_idx          2083 sound/pci/hda/patch_hdmi.c 	struct hdmi_spec_per_pin *per_pin = pcm_idx_to_pin(spec, pcm_idx);
pcm_idx          2133 sound/pci/hda/patch_hdmi.c 			       int pcm_idx,
pcm_idx          2144 sound/pci/hda/patch_hdmi.c 	spec->pcm_rec[pcm_idx].jack = jack;
pcm_idx          2145 sound/pci/hda/patch_hdmi.c 	jack->private_data = &spec->pcm_rec[pcm_idx];
pcm_idx          2150 sound/pci/hda/patch_hdmi.c static int generic_hdmi_build_jack(struct hda_codec *codec, int pcm_idx)
pcm_idx          2156 sound/pci/hda/patch_hdmi.c 	int pcmdev = get_pcm_rec(spec, pcm_idx)->device;
pcm_idx          2164 sound/pci/hda/patch_hdmi.c 		return add_hdmi_jack_kctl(codec, spec, pcm_idx, hdmi_str);
pcm_idx          2171 sound/pci/hda/patch_hdmi.c 	per_pin = get_pin(spec, pcm_idx);
pcm_idx          2186 sound/pci/hda/patch_hdmi.c 	spec->pcm_rec[pcm_idx].jack = jack->jack;
pcm_idx          2194 sound/pci/hda/patch_hdmi.c 	int pin_idx, pcm_idx;
pcm_idx          2196 sound/pci/hda/patch_hdmi.c 	for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) {
pcm_idx          2197 sound/pci/hda/patch_hdmi.c 		if (!get_pcm_rec(spec, pcm_idx)->pcm) {
pcm_idx          2199 sound/pci/hda/patch_hdmi.c 			set_bit(pcm_idx, &spec->pcm_bitmap);
pcm_idx          2203 sound/pci/hda/patch_hdmi.c 		err = generic_hdmi_build_jack(codec, pcm_idx);
pcm_idx          2216 sound/pci/hda/patch_hdmi.c 				get_pin(spec, pcm_idx);
pcm_idx          2224 sound/pci/hda/patch_hdmi.c 		snd_hda_spdif_ctls_unassign(codec, pcm_idx);
pcm_idx          2226 sound/pci/hda/patch_hdmi.c 		dev = get_pcm_rec(spec, pcm_idx)->device;
pcm_idx          2229 sound/pci/hda/patch_hdmi.c 			err = hdmi_create_eld_ctl(codec, pcm_idx, dev);
pcm_idx          2244 sound/pci/hda/patch_hdmi.c 	for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) {
pcm_idx          2247 sound/pci/hda/patch_hdmi.c 		pcm = get_pcm_rec(spec, pcm_idx);
pcm_idx          2250 sound/pci/hda/patch_hdmi.c 		err = snd_hdac_add_chmap_ctls(pcm->pcm, pcm_idx, &spec->chmap);
pcm_idx          2327 sound/pci/hda/patch_hdmi.c 	int pin_idx, pcm_idx;
pcm_idx          2342 sound/pci/hda/patch_hdmi.c 	for (pcm_idx = 0; pcm_idx < spec->pcm_used; pcm_idx++) {
pcm_idx          2343 sound/pci/hda/patch_hdmi.c 		if (spec->pcm_rec[pcm_idx].jack == NULL)
pcm_idx          2347 sound/pci/hda/patch_hdmi.c 					spec->pcm_rec[pcm_idx].jack);
pcm_idx          2349 sound/pci/hda/patch_hdmi.c 			spec->pcm_rec[pcm_idx].jack = NULL;
pcm_idx           289 sound/soc/codecs/hdac_hdmi.c 						int pcm_idx)
pcm_idx           294 sound/soc/codecs/hdac_hdmi.c 		if (pcm->pcm_id == pcm_idx)
pcm_idx          1963 sound/soc/codecs/hdac_hdmi.c static void hdac_hdmi_get_chmap(struct hdac_device *hdev, int pcm_idx,
pcm_idx          1967 sound/soc/codecs/hdac_hdmi.c 	struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx);
pcm_idx          1972 sound/soc/codecs/hdac_hdmi.c static void hdac_hdmi_set_chmap(struct hdac_device *hdev, int pcm_idx,
pcm_idx          1976 sound/soc/codecs/hdac_hdmi.c 	struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx);
pcm_idx          1994 sound/soc/codecs/hdac_hdmi.c static bool is_hdac_hdmi_pcm_attached(struct hdac_device *hdev, int pcm_idx)
pcm_idx          1997 sound/soc/codecs/hdac_hdmi.c 	struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx);
pcm_idx          2008 sound/soc/codecs/hdac_hdmi.c static int hdac_hdmi_get_spk_alloc(struct hdac_device *hdev, int pcm_idx)
pcm_idx          2011 sound/soc/codecs/hdac_hdmi.c 	struct hdac_hdmi_pcm *pcm = get_hdmi_pcm_from_id(hdmi, pcm_idx);