Lines Matching refs:HDSPM_MAX_CHANNELS
410 #define HDSPM_DMA_AREA_BYTES (HDSPM_MAX_CHANNELS * HDSPM_CHANNEL_BUFFER_BYTES)
487 struct snd_kcontrol *playback_mixer_ctls[HDSPM_MAX_CHANNELS];
489 struct snd_kcontrol *input_mixer_ctls[HDSPM_MAX_CHANNELS];
503 static char channel_map_madi_ss[HDSPM_MAX_CHANNELS] = {
802 for (i = 0; i < HDSPM_MAX_CHANNELS; i++) {
2518 else if (source >= 2 * HDSPM_MAX_CHANNELS)
2519 source = 2 * HDSPM_MAX_CHANNELS - 1;
2524 else if (destination >= HDSPM_MAX_CHANNELS)
2525 destination = HDSPM_MAX_CHANNELS - 1;
2528 if (source >= HDSPM_MAX_CHANNELS)
2531 source - HDSPM_MAX_CHANNELS);
2556 if (source < 0 || source >= 2 * HDSPM_MAX_CHANNELS)
2558 if (destination < 0 || destination >= HDSPM_MAX_CHANNELS)
2565 if (source >= HDSPM_MAX_CHANNELS)
2568 HDSPM_MAX_CHANNELS);
2574 if (source >= HDSPM_MAX_CHANNELS)
2576 source - HDSPM_MAX_CHANNELS,
2621 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS))
2656 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS))
2916 limit = HDSPM_MAX_CHANNELS;
3500 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS))
3724 for (i = 0; i < HDSPM_MAX_CHANNELS; ++i)
3729 for (i = 0; i < HDSPM_MAX_CHANNELS; ++i)
3747 if (snd_BUG_ON(info->channel >= HDSPM_MAX_CHANNELS))
3865 .channels_max = HDSPM_MAX_CHANNELS,
3867 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
3869 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
3890 .channels_max = HDSPM_MAX_CHANNELS,
3892 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
3894 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,