Home
last modified time | relevance | path

Searched refs:active_ch (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c458 u32 low, high, active_ch, val, bytes_per_ch, bits_per_sample; in xlnx_formatter_pcm_hw_params() local
465 active_ch = params_channels(params); in xlnx_formatter_pcm_hw_params()
466 if (active_ch > stream_data->ch_limit) in xlnx_formatter_pcm_hw_params()
527 val |= active_ch << AUD_CTRL_ACTIVE_CH_SHIFT; in xlnx_formatter_pcm_hw_params()
533 bytes_per_ch = DIV_ROUND_UP(params_period_bytes(params), active_ch); in xlnx_formatter_pcm_hw_params()