Lines Matching refs:active_serializers
119 u8 active_serializers[2]; member
865 int active_serializers, numevt; in mcasp_common_hw_param() local
883 mcasp->active_serializers[SNDRV_PCM_STREAM_CAPTURE]; in mcasp_common_hw_param()
888 mcasp->active_serializers[SNDRV_PCM_STREAM_PLAYBACK]; in mcasp_common_hw_param()
919 active_serializers = tx_ser; in mcasp_common_hw_param()
923 active_serializers = rx_ser; in mcasp_common_hw_param()
928 if (active_serializers < max_active_serializers) { in mcasp_common_hw_param()
931 active_serializers * slots); in mcasp_common_hw_param()
938 if (active_serializers > 1) { in mcasp_common_hw_param()
945 dma_data->maxburst = active_serializers; in mcasp_common_hw_param()
953 if (period_words % active_serializers) { in mcasp_common_hw_param()
956 active_serializers); in mcasp_common_hw_param()
965 numevt = (numevt / active_serializers) * active_serializers; in mcasp_common_hw_param()
968 numevt -= active_serializers; in mcasp_common_hw_param()
970 numevt = active_serializers; in mcasp_common_hw_param()
972 mcasp_mod_bits(mcasp, reg, active_serializers, NUMDMA_MASK); in mcasp_common_hw_param()
981 mcasp->active_serializers[stream] = active_serializers; in mcasp_common_hw_param()
991 int active_serializers; in mcasp_i2s_hw_param() local
1005 active_serializers = DIV_ROUND_UP(channels, active_slots); in mcasp_i2s_hw_param()
1006 if (active_serializers == 1) in mcasp_i2s_hw_param()
1016 active_serializers = DIV_ROUND_UP(channels, total_slots); in mcasp_i2s_hw_param()
1017 if (active_serializers == 1) in mcasp_i2s_hw_param()
1613 mcasp->active_serializers[substream->stream] = 0; in davinci_mcasp_shutdown()