Lines Matching refs:HDSPM_MAX_CHANNELS
626 #define HDSPM_DMA_AREA_BYTES (HDSPM_MAX_CHANNELS * HDSPM_CHANNEL_BUFFER_BYTES)
798 static const char channel_map_unity_ss[HDSPM_MAX_CHANNELS] = {
809 static const char channel_map_raydat_ss[HDSPM_MAX_CHANNELS] = {
822 static const char channel_map_raydat_ds[HDSPM_MAX_CHANNELS] = {
837 static const char channel_map_raydat_qs[HDSPM_MAX_CHANNELS] = {
853 static const char channel_map_aio_in_ss[HDSPM_MAX_CHANNELS] = {
867 static const char channel_map_aio_out_ss[HDSPM_MAX_CHANNELS] = {
882 static const char channel_map_aio_in_ds[HDSPM_MAX_CHANNELS] = {
897 static const char channel_map_aio_out_ds[HDSPM_MAX_CHANNELS] = {
912 static const char channel_map_aio_in_qs[HDSPM_MAX_CHANNELS] = {
927 static const char channel_map_aio_out_qs[HDSPM_MAX_CHANNELS] = {
943 static const char channel_map_aes32[HDSPM_MAX_CHANNELS] = {
1054 struct snd_kcontrol *playback_mixer_ctls[HDSPM_MAX_CHANNELS];
1056 struct snd_kcontrol *input_mixer_ctls[HDSPM_MAX_CHANNELS];
1520 for (i = 0; i < HDSPM_MAX_CHANNELS; i++) { in hdspm_silence_playback()
3653 else if (source >= 2 * HDSPM_MAX_CHANNELS) in snd_hdspm_get_mixer()
3654 source = 2 * HDSPM_MAX_CHANNELS - 1; in snd_hdspm_get_mixer()
3659 else if (destination >= HDSPM_MAX_CHANNELS) in snd_hdspm_get_mixer()
3660 destination = HDSPM_MAX_CHANNELS - 1; in snd_hdspm_get_mixer()
3663 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_get_mixer()
3666 source - HDSPM_MAX_CHANNELS); in snd_hdspm_get_mixer()
3691 if (source < 0 || source >= 2 * HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
3693 if (destination < 0 || destination >= HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
3700 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
3703 HDSPM_MAX_CHANNELS); in snd_hdspm_put_mixer()
3709 if (source >= HDSPM_MAX_CHANNELS) in snd_hdspm_put_mixer()
3711 source - HDSPM_MAX_CHANNELS, in snd_hdspm_put_mixer()
3755 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS)) in snd_hdspm_get_playback_mixer()
3779 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS)) in snd_hdspm_put_playback_mixer()
5664 for (i = 0; i < HDSPM_MAX_CHANNELS; ++i) in snd_hdspm_hw_free()
5669 for (i = 0; i < HDSPM_MAX_CHANNELS; ++i) in snd_hdspm_hw_free()
5833 .channels_max = HDSPM_MAX_CHANNELS,
5835 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
5837 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
5858 .channels_max = HDSPM_MAX_CHANNELS,
5860 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
5862 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
6154 for (i = 0; i < HDSPM_MAX_CHANNELS; i++) { in snd_hdspm_hwdep_ioctl()