chmap 30 include/sound/hda_chmap.h int (*chmap_cea_alloc_validate_get_type)(struct hdac_chmap *chmap, chmap 34 include/sound/hda_chmap.h unsigned int *chmap, int channels); chmap 38 include/sound/hda_chmap.h int channels, unsigned char *chmap); chmap 43 include/sound/hda_chmap.h unsigned char *chmap); chmap 45 include/sound/hda_chmap.h unsigned char *chmap, int prepared); chmap 64 include/sound/hda_chmap.h struct hdac_chmap *chmap); chmap 69 include/sound/hda_chmap.h void snd_hdac_setup_channel_mapping(struct hdac_chmap *chmap, chmap 78 include/sound/hda_chmap.h struct hdac_chmap *chmap); chmap 147 include/sound/hda_codec.h const struct snd_pcm_chmap_elem *chmap; /* chmap to override */ chmap 1371 include/sound/pcm.h const struct snd_pcm_chmap_elem *chmap; chmap 1403 include/sound/pcm.h const struct snd_pcm_chmap_elem *chmap, chmap 90 include/sound/sof/stream.h uint16_t chmap[SOF_IPC_MAX_CHANNELS]; /**< channel map - SOF_CHMAP_ */ chmap 2330 sound/core/pcm_lib.c if (!info->chmap) chmap 2339 sound/core/pcm_lib.c for (map = info->chmap; map->channels; map++) { chmap 2362 sound/core/pcm_lib.c if (!info->chmap) chmap 2370 sound/core/pcm_lib.c for (map = info->chmap; map->channels; map++) { chmap 2417 sound/core/pcm_lib.c const struct snd_pcm_chmap_elem *chmap, chmap 2441 sound/core/pcm_lib.c info->chmap = chmap; chmap 323 sound/hda/hdmi_chmap.c static void hdmi_debug_channel_mapping(struct hdac_chmap *chmap, chmap 331 sound/hda/hdmi_chmap.c channel = chmap->ops.pin_get_slot_channel( chmap 332 sound/hda/hdmi_chmap.c chmap->hdac, pin_nid, i); chmap 333 sound/hda/hdmi_chmap.c dev_dbg(&chmap->hdac->dev, "HDMI: ASP channel %d => slot %d\n", chmap 339 sound/hda/hdmi_chmap.c static void hdmi_std_setup_channel_mapping(struct hdac_chmap *chmap, chmap 381 sound/hda/hdmi_chmap.c err = chmap->ops.pin_set_slot_channel(chmap->hdac, chmap 384 sound/hda/hdmi_chmap.c dev_dbg(&chmap->hdac->dev, "HDMI: channel mapping failed\n"); chmap 505 sound/hda/hdmi_chmap.c static int hdmi_manual_setup_channel_mapping(struct hdac_chmap *chmap, chmap 527 sound/hda/hdmi_chmap.c err = chmap->ops.pin_set_slot_channel(chmap->hdac, chmap 550 sound/hda/hdmi_chmap.c void snd_hdac_setup_channel_mapping(struct hdac_chmap *chmap, chmap 556 sound/hda/hdmi_chmap.c hdmi_manual_setup_channel_mapping(chmap, pin_nid, chmap 559 sound/hda/hdmi_chmap.c hdmi_std_setup_channel_mapping(chmap, pin_nid, non_pcm, ca); chmap 563 sound/hda/hdmi_chmap.c hdmi_debug_channel_mapping(chmap, pin_nid); chmap 612 sound/hda/hdmi_chmap.c struct hdac_chmap *chmap = info->private_data; chmap 615 sound/hda/hdmi_chmap.c uinfo->count = chmap->channels_max; chmap 621 sound/hda/hdmi_chmap.c static int hdmi_chmap_cea_alloc_validate_get_type(struct hdac_chmap *chmap, chmap 634 sound/hda/hdmi_chmap.c unsigned int *chmap, int channels) chmap 645 sound/hda/hdmi_chmap.c chmap[count++] = snd_hdac_spk_to_chmap(spk); chmap 668 sound/hda/hdmi_chmap.c struct hdac_chmap *chmap = info->private_data; chmap 683 sound/hda/hdmi_chmap.c spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); chmap 703 sound/hda/hdmi_chmap.c type = chmap->ops.chmap_cea_alloc_validate_get_type( chmap 704 sound/hda/hdmi_chmap.c chmap, cap, chs); chmap 723 sound/hda/hdmi_chmap.c chmap->ops.cea_alloc_to_tlv_chmap(chmap, cap, chmap 742 sound/hda/hdmi_chmap.c struct hdac_chmap *chmap = info->private_data; chmap 748 sound/hda/hdmi_chmap.c chmap->ops.get_chmap(chmap->hdac, pcm_idx, pcm_chmap); chmap 764 sound/hda/hdmi_chmap.c unsigned char chmap[8], per_pin_chmap[8]; chmap 787 sound/hda/hdmi_chmap.c memset(chmap, 0, sizeof(chmap)); chmap 788 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(chmap); i++) chmap 789 sound/hda/hdmi_chmap.c chmap[i] = ucontrol->value.integer.value[i]; chmap 792 sound/hda/hdmi_chmap.c if (!memcmp(chmap, per_pin_chmap, sizeof(chmap))) chmap 794 sound/hda/hdmi_chmap.c ca = hdmi_manual_channel_allocation(ARRAY_SIZE(chmap), chmap); chmap 799 sound/hda/hdmi_chmap.c ARRAY_SIZE(chmap), chmap); chmap 804 sound/hda/hdmi_chmap.c hchmap->ops.set_chmap(hchmap->hdac, pcm_idx, chmap, prepared); chmap 818 sound/hda/hdmi_chmap.c struct hdac_chmap *chmap) chmap 820 sound/hda/hdmi_chmap.c chmap->ops = chmap_ops; chmap 821 sound/hda/hdmi_chmap.c chmap->hdac = hdac; chmap 829 sound/hda/hdmi_chmap.c struct snd_pcm_chmap *chmap; chmap 835 sound/hda/hdmi_chmap.c NULL, 0, pcm_idx, &chmap); chmap 839 sound/hda/hdmi_chmap.c chmap->private_data = hchmap; chmap 840 sound/hda/hdmi_chmap.c kctl = chmap->kctl; chmap 2532 sound/pci/ac97/ac97_patch.c map->chmap = snd_pcm_std_chmaps; chmap 2534 sound/pci/ac97/ac97_patch.c map->chmap = snd_pcm_alt_chmaps; chmap 200 sound/pci/ali5451/ali5451.c unsigned int chmap; /* bitmap for opened channels */ chmap 525 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) { chmap 526 sound/pci/ali5451/ali5451.c codec->synth.chmap |= 1 << idx; chmap 592 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) { chmap 598 sound/pci/ali5451/ali5451.c codec->synth.chmap &= ~(1 << idx); chmap 2132 sound/pci/ali5451/ali5451.c codec->synth.chmap = 0; chmap 1246 sound/pci/atiixp.c struct snd_pcm_chmap *chmap; chmap 1292 sound/pci/atiixp.c &chmap); chmap 1295 sound/pci/atiixp.c chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; chmap 1296 sound/pci/atiixp.c chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; chmap 3024 sound/pci/hda/hda_codec.c struct snd_pcm_chmap *chmap; chmap 3029 sound/pci/hda/hda_codec.c elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; chmap 3032 sound/pci/hda/hda_codec.c 0, &chmap); chmap 3035 sound/pci/hda/hda_codec.c chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; chmap 5742 sound/pci/hda/hda_generic.c info->stream[SNDRV_PCM_STREAM_PLAYBACK].chmap = chmap 6281 sound/pci/hda/patch_ca0132.c struct snd_pcm_chmap *chmap; chmap 6288 sound/pci/hda/patch_ca0132.c elem, hinfo->channels_max, 0, &chmap); chmap 6607 sound/pci/hda/patch_ca0132.c info->stream[SNDRV_PCM_STREAM_PLAYBACK].chmap chmap 98 sound/pci/hda/patch_hdmi.c unsigned char chmap[8]; /* ALSA API channel-map */ chmap 182 sound/pci/hda/patch_hdmi.c struct hdac_chmap chmap; chmap 716 sound/pci/hda/patch_hdmi.c struct hdac_chmap *chmap = &spec->chmap; chmap 736 sound/pci/hda/patch_hdmi.c per_pin->chmap_set, non_pcm, per_pin->chmap); chmap 740 sound/pci/hda/patch_hdmi.c chmap->ops.set_channel_count(&codec->core, per_pin->cvt_nid, chmap 747 sound/pci/hda/patch_hdmi.c snd_hdac_setup_channel_mapping(&spec->chmap, chmap 749 sound/pci/hda/patch_hdmi.c per_pin->chmap, per_pin->chmap_set); chmap 1438 sound/pci/hda/patch_hdmi.c memset(per_pin->chmap, 0, sizeof(per_pin->chmap)); chmap 1800 sound/pci/hda/patch_hdmi.c if (chans > spec->chmap.channels_max) chmap 1801 sound/pci/hda/patch_hdmi.c spec->chmap.channels_max = chans; chmap 2017 sound/pci/hda/patch_hdmi.c memset(per_pin->chmap, 0, sizeof(per_pin->chmap)); chmap 2049 sound/pci/hda/patch_hdmi.c unsigned char *chmap) chmap 2059 sound/pci/hda/patch_hdmi.c memcpy(chmap, per_pin->chmap, ARRAY_SIZE(per_pin->chmap)); chmap 2063 sound/pci/hda/patch_hdmi.c unsigned char *chmap, int prepared) chmap 2073 sound/pci/hda/patch_hdmi.c memcpy(per_pin->chmap, chmap, ARRAY_SIZE(per_pin->chmap)); chmap 2250 sound/pci/hda/patch_hdmi.c err = snd_hdac_add_chmap_ctls(pcm->pcm, pcm_idx, &spec->chmap); chmap 2404 sound/pci/hda/patch_hdmi.c snd_hdac_register_chmap_ops(&codec->core, &spec->chmap); chmap 2406 sound/pci/hda/patch_hdmi.c spec->chmap.ops.get_chmap = hdmi_get_chmap; chmap 2407 sound/pci/hda/patch_hdmi.c spec->chmap.ops.set_chmap = hdmi_set_chmap; chmap 2408 sound/pci/hda/patch_hdmi.c spec->chmap.ops.is_pcm_attached = is_hdmi_pcm_attached; chmap 2409 sound/pci/hda/patch_hdmi.c spec->chmap.ops.get_spk_alloc = hdmi_get_spk_alloc, chmap 3405 sound/pci/hda/patch_hdmi.c struct snd_pcm_chmap *chmap; chmap 3416 sound/pci/hda/patch_hdmi.c snd_pcm_alt_chmaps, 8, 0, &chmap); chmap 3424 sound/pci/hda/patch_hdmi.c chmap->channel_mask = (1U << 2) | (1U << 8); chmap 3427 sound/pci/hda/patch_hdmi.c chmap->channel_mask = (1U << 2) | (1U << 6) | (1U << 8); chmap 3457 sound/pci/hda/patch_hdmi.c static int nvhdmi_chmap_cea_alloc_validate_get_type(struct hdac_chmap *chmap, chmap 3471 sound/pci/hda/patch_hdmi.c static int nvhdmi_chmap_validate(struct hdac_chmap *chmap, chmap 3492 sound/pci/hda/patch_hdmi.c spec->chmap.ops.chmap_cea_alloc_validate_get_type = chmap 3494 sound/pci/hda/patch_hdmi.c spec->chmap.ops.chmap_validate = nvhdmi_chmap_validate; chmap 3744 sound/pci/hda/patch_hdmi.c static int atihdmi_paired_chmap_validate(struct hdac_chmap *chmap, chmap 3859 sound/pci/hda/patch_hdmi.c struct hdac_chmap *chmap, chmap 3890 sound/pci/hda/patch_hdmi.c unsigned int *chmap, int channels) chmap 3902 sound/pci/hda/patch_hdmi.c chmap[count++] = SNDRV_CHMAP_NA; chmap 3907 sound/pci/hda/patch_hdmi.c chmap[count++] = snd_hdac_spk_to_chmap(spk); chmap 4025 sound/pci/hda/patch_hdmi.c spec->chmap.ops.pin_get_slot_channel = atihdmi_pin_get_slot_channel; chmap 4026 sound/pci/hda/patch_hdmi.c spec->chmap.ops.pin_set_slot_channel = atihdmi_pin_set_slot_channel; chmap 4030 sound/pci/hda/patch_hdmi.c spec->chmap.ops.chmap_cea_alloc_validate_get_type = chmap 4032 sound/pci/hda/patch_hdmi.c spec->chmap.ops.cea_alloc_to_tlv_chmap = chmap 4034 sound/pci/hda/patch_hdmi.c spec->chmap.ops.chmap_validate = atihdmi_paired_chmap_validate; chmap 4046 sound/pci/hda/patch_hdmi.c spec->chmap.channels_max = max(spec->chmap.channels_max, 8u); chmap 8709 sound/pci/hda/patch_realtek.c spec->gen.pcm_rec[0]->stream[0].chmap = asus_pcm_2_1_chmaps; chmap 1496 sound/pci/intel8x0.c struct snd_pcm_chmap *chmap; chmap 1506 sound/pci/intel8x0.c &chmap); chmap 1509 sound/pci/intel8x0.c chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; chmap 1510 sound/pci/intel8x0.c chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; chmap 1437 sound/pci/via82xx.c struct snd_pcm_chmap *chmap; chmap 1467 sound/pci/via82xx.c &chmap); chmap 1491 sound/pci/via82xx.c &chmap); chmap 1494 sound/pci/via82xx.c chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; chmap 1505 sound/pci/via82xx.c struct snd_pcm_chmap *chmap; chmap 1534 sound/pci/via82xx.c &chmap); chmap 1537 sound/pci/via82xx.c chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; chmap 107 sound/soc/codecs/hdac_hdmi.c unsigned char chmap[8]; /* ALSA API channel-map */ chmap 142 sound/soc/codecs/hdac_hdmi.c struct hdac_chmap chmap; chmap 379 sound/soc/codecs/hdac_hdmi.c pcm->channels, pcm->chmap_set, true, pcm->chmap); chmap 382 sound/soc/codecs/hdac_hdmi.c hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); chmap 384 sound/soc/codecs/hdac_hdmi.c snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, chmap 385 sound/soc/codecs/hdac_hdmi.c pcm->channels, pcm->chmap, pcm->chmap_set); chmap 646 sound/soc/codecs/hdac_hdmi.c memset(pcm->chmap, 0, sizeof(pcm->chmap)); chmap 668 sound/soc/codecs/hdac_hdmi.c if (chans > hdmi->chmap.channels_max) chmap 669 sound/soc/codecs/hdac_hdmi.c hdmi->chmap.channels_max = chans; chmap 1815 sound/soc/codecs/hdac_hdmi.c err = snd_hdac_add_chmap_ctls(snd_pcm, device, &hdmi->chmap); chmap 1964 sound/soc/codecs/hdac_hdmi.c unsigned char *chmap) chmap 1969 sound/soc/codecs/hdac_hdmi.c memcpy(chmap, pcm->chmap, ARRAY_SIZE(pcm->chmap)); chmap 1973 sound/soc/codecs/hdac_hdmi.c unsigned char *chmap, int prepared) chmap 1987 sound/soc/codecs/hdac_hdmi.c memcpy(pcm->chmap, chmap, ARRAY_SIZE(pcm->chmap)); chmap 2065 sound/soc/codecs/hdac_hdmi.c snd_hdac_register_chmap_ops(hdev, &hdmi_priv->chmap); chmap 2066 sound/soc/codecs/hdac_hdmi.c hdmi_priv->chmap.ops.get_chmap = hdac_hdmi_get_chmap; chmap 2067 sound/soc/codecs/hdac_hdmi.c hdmi_priv->chmap.ops.set_chmap = hdac_hdmi_set_chmap; chmap 2068 sound/soc/codecs/hdac_hdmi.c hdmi_priv->chmap.ops.is_pcm_attached = is_hdac_hdmi_pcm_attached; chmap 2069 sound/soc/codecs/hdac_hdmi.c hdmi_priv->chmap.ops.get_spk_alloc = hdac_hdmi_get_spk_alloc; chmap 338 sound/soc/codecs/hdmi-codec.c hcp->chmap_info->chmap = hdmi_codec_8ch_chmaps; chmap 340 sound/soc/codecs/hdmi-codec.c hcp->chmap_info->chmap = hdmi_codec_stereo_chmaps; chmap 375 sound/soc/codecs/hdmi-codec.c map = info->chmap[hcp->chmap_idx].map; chmap 635 sound/soc/codecs/hdmi-codec.c hcp->chmap_info->chmap = hdmi_codec_stereo_chmaps; chmap 33 sound/usb/card.h struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */ chmap 35 sound/usb/stream.c kfree(fp->chmap); chmap 139 sound/usb/stream.c if (prev->chmap && chmap 140 sound/usb/stream.c !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap))) chmap 164 sound/usb/stream.c if (!fp->chmap) chmap 169 sound/usb/stream.c ch_bytes = fp->chmap->channels * 4; chmap 176 sound/usb/stream.c for (i = 0; i < fp->chmap->channels; i++, dst++) { chmap 177 sound/usb/stream.c if (put_user(fp->chmap->map[i], dst)) chmap 194 sound/usb/stream.c struct snd_pcm_chmap_elem *chmap = NULL; chmap 200 sound/usb/stream.c chmap = subs->cur_audiofmt->chmap; chmap 201 sound/usb/stream.c if (chmap) { chmap 202 sound/usb/stream.c for (i = 0; i < chmap->channels; i++) chmap 203 sound/usb/stream.c ucontrol->value.integer.value[i] = chmap->map[i]; chmap 213 sound/usb/stream.c struct snd_pcm_chmap *chmap; chmap 218 sound/usb/stream.c if (fp->chmap) chmap 224 sound/usb/stream.c err = snd_pcm_add_chmap_ctls(pcm, stream, NULL, 0, 0, &chmap); chmap 229 sound/usb/stream.c chmap->private_data = subs; chmap 230 sound/usb/stream.c kctl = chmap->kctl; chmap 287 sound/usb/stream.c struct snd_pcm_chmap_elem *chmap; chmap 291 sound/usb/stream.c if (channels > ARRAY_SIZE(chmap->map)) chmap 294 sound/usb/stream.c chmap = kzalloc(sizeof(*chmap), GFP_KERNEL); chmap 295 sound/usb/stream.c if (!chmap) chmap 299 sound/usb/stream.c chmap->channels = channels; chmap 305 sound/usb/stream.c chmap->map[c++] = *maps; chmap 310 sound/usb/stream.c chmap->map[c++] = SNDRV_CHMAP_MONO; chmap 313 sound/usb/stream.c chmap->map[c++] = *maps; chmap 317 sound/usb/stream.c chmap->map[c] = SNDRV_CHMAP_UNKNOWN; chmap 319 sound/usb/stream.c return chmap; chmap 328 sound/usb/stream.c struct snd_pcm_chmap_elem *chmap; chmap 332 sound/usb/stream.c if (channels > ARRAY_SIZE(chmap->map)) chmap 335 sound/usb/stream.c chmap = kzalloc(sizeof(*chmap), GFP_KERNEL); chmap 336 sound/usb/stream.c if (!chmap) chmap 453 sound/usb/stream.c chmap->map[c++] = map; chmap 461 sound/usb/stream.c chmap->channels = channels; chmap 464 sound/usb/stream.c chmap->map[c] = SNDRV_CHMAP_UNKNOWN; chmap 466 sound/usb/stream.c return chmap; chmap 848 sound/usb/stream.c fp->chmap = convert_chmap(fp->channels, chconfig, protocol); chmap 866 sound/usb/stream.c struct snd_pcm_chmap_elem *chmap; chmap 910 sound/usb/stream.c chmap = kzalloc(sizeof(*chmap), GFP_KERNEL); chmap 911 sound/usb/stream.c if (!chmap) chmap 915 sound/usb/stream.c chmap->map[0] = SNDRV_CHMAP_MONO; chmap 917 sound/usb/stream.c chmap->map[0] = SNDRV_CHMAP_FL; chmap 918 sound/usb/stream.c chmap->map[1] = SNDRV_CHMAP_FR; chmap 921 sound/usb/stream.c chmap->channels = num_channels; chmap 1000 sound/usb/stream.c chmap = convert_chmap_v3(cluster); chmap 1025 sound/usb/stream.c kfree(chmap); chmap 1032 sound/usb/stream.c kfree(chmap); chmap 1036 sound/usb/stream.c fp->chmap = chmap; chmap 472 sound/x86/intel_hdmi_audio.c struct snd_pcm_chmap_elem *chmap; chmap 476 sound/x86/intel_hdmi_audio.c kfree(intelhaddata->chmap->chmap); chmap 477 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->chmap = NULL; chmap 479 sound/x86/intel_hdmi_audio.c chmap = kzalloc(sizeof(*chmap), GFP_KERNEL); chmap 480 sound/x86/intel_hdmi_audio.c if (!chmap) chmap 517 sound/x86/intel_hdmi_audio.c chmap->map[c] = spk_to_chmap( chmap 521 sound/x86/intel_hdmi_audio.c chmap->channels = channel_allocations[i].channels; chmap 522 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->chmap = chmap; chmap 527 sound/x86/intel_hdmi_audio.c kfree(chmap); chmap 549 sound/x86/intel_hdmi_audio.c const struct snd_pcm_chmap_elem *chmap; chmap 554 sound/x86/intel_hdmi_audio.c if (!intelhaddata->chmap->chmap) { chmap 559 sound/x86/intel_hdmi_audio.c chmap = intelhaddata->chmap->chmap; chmap 560 sound/x86/intel_hdmi_audio.c for (i = 0; i < chmap->channels; i++) chmap 561 sound/x86/intel_hdmi_audio.c ucontrol->value.integer.value[i] = chmap->map[i]; chmap 574 sound/x86/intel_hdmi_audio.c &intelhaddata->chmap); chmap 578 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->private_data = intelhaddata; chmap 579 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->kctl->info = had_chmap_ctl_info; chmap 580 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->kctl->get = had_chmap_ctl_get; chmap 581 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->chmap = NULL; chmap 1395 sound/x86/intel_hdmi_audio.c kfree(intelhaddata->chmap->chmap); chmap 1396 sound/x86/intel_hdmi_audio.c intelhaddata->chmap->chmap = NULL; chmap 111 sound/x86/intel_hdmi_audio.h struct snd_pcm_chmap *chmap;