Lines Matching refs:active_serializers
113 u8 active_serializers[2]; member
822 int active_serializers, numevt; in mcasp_common_hw_param() local
833 mcasp->active_serializers[SNDRV_PCM_STREAM_CAPTURE]; in mcasp_common_hw_param()
838 mcasp->active_serializers[SNDRV_PCM_STREAM_PLAYBACK]; in mcasp_common_hw_param()
869 active_serializers = tx_ser; in mcasp_common_hw_param()
873 active_serializers = rx_ser; in mcasp_common_hw_param()
878 if (active_serializers < max_active_serializers) { in mcasp_common_hw_param()
881 active_serializers * slots); in mcasp_common_hw_param()
888 if (active_serializers > 1) { in mcasp_common_hw_param()
895 dma_data->maxburst = active_serializers; in mcasp_common_hw_param()
903 if (period_words % active_serializers) { in mcasp_common_hw_param()
906 active_serializers); in mcasp_common_hw_param()
915 numevt = (numevt / active_serializers) * active_serializers; in mcasp_common_hw_param()
918 numevt -= active_serializers; in mcasp_common_hw_param()
920 numevt = active_serializers; in mcasp_common_hw_param()
922 mcasp_mod_bits(mcasp, reg, active_serializers, NUMDMA_MASK); in mcasp_common_hw_param()
931 mcasp->active_serializers[stream] = active_serializers; in mcasp_common_hw_param()
941 int active_serializers; in mcasp_i2s_hw_param() local
955 active_serializers = (channels + active_slots - 1) / in mcasp_i2s_hw_param()
957 if (active_serializers == 1) in mcasp_i2s_hw_param()
967 active_serializers = (channels + total_slots - 1) / total_slots; in mcasp_i2s_hw_param()
968 if (active_serializers == 1) in mcasp_i2s_hw_param()
1553 mcasp->active_serializers[substream->stream] = 0; in davinci_mcasp_shutdown()