/linux-4.4.14/sound/usb/ |
D | stream.c | 51 kfree(fp->chmap); in free_substream() 133 if (prev->chmap && in have_dup_chmap() 134 !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap))) in have_dup_chmap() 158 if (!fp->chmap) in usb_chmap_ctl_tlv() 163 ch_bytes = fp->chmap->channels * 4; in usb_chmap_ctl_tlv() 170 for (i = 0; i < fp->chmap->channels; i++, dst++) { in usb_chmap_ctl_tlv() 171 if (put_user(fp->chmap->map[i], dst)) in usb_chmap_ctl_tlv() 188 struct snd_pcm_chmap_elem *chmap = NULL; in usb_chmap_ctl_get() local 194 chmap = subs->cur_audiofmt->chmap; in usb_chmap_ctl_get() 195 if (chmap) { in usb_chmap_ctl_get() [all …]
|
D | card.h | 31 struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */ member
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_hdmi.c | 91 unsigned char chmap[8]; /* ALSA API channel-map */ member 124 unsigned int *chmap, int channels); 127 int (*chmap_validate)(int ca, int channels, unsigned char *chmap); 1142 ca = hdmi_manual_channel_allocation(channels, per_pin->chmap); in hdmi_setup_audio_infoframe() 1158 channels, per_pin->chmap, in hdmi_setup_audio_infoframe() 1895 memset(per_pin->chmap, 0, sizeof(per_pin->chmap)); in hdmi_pcm_close() 1940 unsigned int *chmap, int channels) in hdmi_cea_alloc_to_tlv_chmap() argument 1950 chmap[count++] = spk_to_chmap(spk); in hdmi_cea_alloc_to_tlv_chmap() 2015 for (i = 0; i < ARRAY_SIZE(per_pin->chmap); i++) in hdmi_chmap_ctl_get() 2016 ucontrol->value.integer.value[i] = per_pin->chmap[i]; in hdmi_chmap_ctl_get() [all …]
|
D | hda_codec.h | 154 const struct snd_pcm_chmap_elem *chmap; /* chmap to override */ member
|
D | hda_codec.c | 3058 struct snd_pcm_chmap *chmap; in add_std_chmaps() local 3063 elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; in add_std_chmaps() 3066 0, &chmap); in add_std_chmaps() 3069 chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; in add_std_chmaps()
|
D | patch_realtek.c | 6419 spec->gen.pcm_rec[0]->stream[0].chmap = asus_pcm_2_1_chmaps; in alc_fixup_bass_chmap()
|
D | hda_generic.c | 5556 info->stream[SNDRV_PCM_STREAM_PLAYBACK].chmap = in snd_hda_gen_build_pcms()
|
/linux-4.4.14/sound/pci/ali5451/ |
D | ali5451.c | 214 unsigned int chmap; /* bitmap for opened channels */ member 539 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_alloc_pcm_channel() 540 codec->synth.chmap |= 1 << idx; in snd_ali_alloc_pcm_channel() 606 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_free_channel_pcm() 612 codec->synth.chmap &= ~(1 << idx); in snd_ali_free_channel_pcm() 2151 codec->synth.chmap = 0; in snd_ali_create()
|
/linux-4.4.14/sound/pci/ |
D | via82xx.c | 1449 struct snd_pcm_chmap *chmap; in snd_via8233_pcm_new() local 1479 &chmap); in snd_via8233_pcm_new() 1503 &chmap); in snd_via8233_pcm_new() 1506 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233_pcm_new() 1517 struct snd_pcm_chmap *chmap; in snd_via8233a_pcm_new() local 1546 &chmap); in snd_via8233a_pcm_new() 1549 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233a_pcm_new()
|
D | atiixp.c | 1253 struct snd_pcm_chmap *chmap; in snd_atiixp_pcm_new() local 1299 &chmap); in snd_atiixp_pcm_new() 1302 chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; in snd_atiixp_pcm_new() 1303 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_atiixp_pcm_new()
|
D | intel8x0.c | 1553 struct snd_pcm_chmap *chmap; in snd_intel8x0_pcm1() local 1563 &chmap); in snd_intel8x0_pcm1() 1566 chmap->channel_mask = SND_PCM_CHMAP_MASK_2468; in snd_intel8x0_pcm1() 1567 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_intel8x0_pcm1()
|
/linux-4.4.14/sound/core/ |
D | pcm_lib.c | 2494 if (snd_BUG_ON(!info->chmap)) in pcm_chmap_ctl_get() 2503 for (map = info->chmap; map->channels; map++) { in pcm_chmap_ctl_get() 2526 if (snd_BUG_ON(!info->chmap)) in pcm_chmap_ctl_tlv() 2534 for (map = info->chmap; map->channels; map++) { in pcm_chmap_ctl_tlv() 2581 const struct snd_pcm_chmap_elem *chmap, in snd_pcm_add_chmap_ctls() argument 2603 info->chmap = chmap; in snd_pcm_add_chmap_ctls()
|
/linux-4.4.14/include/sound/ |
D | pcm.h | 1356 const struct snd_pcm_chmap_elem *chmap; member 1388 const struct snd_pcm_chmap_elem *chmap,
|
/linux-4.4.14/Documentation/DocBook/ |
D | alsa-driver-api.xml.db | 56 API-snd-pcm-add-chmap-ctls 108 API-snd-pcm-chmap-substream
|
D | device-drivers.xml.db | 670 API-snd-pcm-chmap-substream 766 API-snd-pcm-add-chmap-ctls
|
/linux-4.4.14/sound/pci/ac97/ |
D | ac97_patch.c | 2547 map->chmap = snd_pcm_std_chmaps; in alc650_swap_surround_put() 2549 map->chmap = snd_pcm_alt_chmaps; in alc650_swap_surround_put()
|