Lines Matching defs:map
3 * HDMI Channel map support helpers
391 unsigned char map; /* ALSA API channel map position */
421 for (; t->map; t++) {
422 if (t->map == c)
456 for (; t->map; t++) {
458 return t->map;
480 /* get the CA index corresponding to the given ALSA API channel map */
481 static int hdmi_manual_channel_allocation(int chs, unsigned char *map)
486 int mask = snd_hdac_chmap_to_spk_mask(map[i]);
504 /* set up the channel slots for the given ALSA API channel map */
507 int chs, unsigned char *map,
516 hdmi_slot = to_cea_slot(ordered_ca, map[alsa_pos]);
535 /* store ALSA API channel map from the current default map */
536 static void hdmi_setup_fake_chmap(unsigned char *map, int ca)
544 map[i] = from_cea_slot(ordered_ca, hdmi_channel_mapping[ca][i] & 0x0f);
546 map[i] = 0;
552 int channels, unsigned char *map,
557 channels, map, ca);
560 hdmi_setup_fake_chmap(map, ca);
588 int channels, bool chmap_set, bool non_pcm, unsigned char *map)
593 ca = hdmi_manual_channel_allocation(channels, map);
606 * ALSA API channel-map control callbacks