Searched refs:ch_num (Results 1 – 8 of 8) sorted by relevance
/sound/soc/amd/ |
D | acp-pcm-dma.c | 132 static void config_acp_dma_channel(void __iomem *acp_mmio, u8 ch_num, in config_acp_dma_channel() argument 139 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 141 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 146 acp_mmio, mmACP_DMA_DSCR_STRT_IDX_0 + ch_num); in config_acp_dma_channel() 153 acp_mmio, mmACP_DMA_DSCR_CNT_0 + ch_num); in config_acp_dma_channel() 156 acp_reg_write(priority_level, acp_mmio, mmACP_DMA_PRIO_0 + ch_num); in config_acp_dma_channel() 180 static void pre_config_reset(void __iomem *acp_mmio, u16 ch_num) in pre_config_reset() argument 186 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in pre_config_reset() 188 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in pre_config_reset() 190 ret = readl_poll_timeout(acp_mmio + ((mmACP_DMA_CNTL_0 + ch_num) * 4), in pre_config_reset() [all …]
|
/sound/soc/zte/ |
D | zx-i2s.c | 226 unsigned int lane, ch_num, len, ret = 0; in zx_i2s_hw_params() local 255 ch_num = params_channels(params); in zx_i2s_hw_params() 256 switch (ch_num) { in zx_i2s_hw_params() 265 lane = ch_num / 2; in zx_i2s_hw_params() 269 dev_err(socdai->dev, "Not support channel num %d\n", ch_num); in zx_i2s_hw_params() 274 val |= ZX_I2S_TIMING_CHN(ch_num); in zx_i2s_hw_params() 279 params_rate(params) * ch_num * CLK_RAT); in zx_i2s_hw_params()
|
D | zx-spdif.c | 143 u32 val, ch_num, rate; in zx_spdif_hw_params() local 171 ch_num = params_channels(params); in zx_spdif_hw_params() 172 if (ch_num == 2) in zx_spdif_hw_params() 180 if (ch_num == 2) in zx_spdif_hw_params() 190 return clk_set_rate(spdif->dai_clk, rate * ch_num * ZX_SPDIF_CLK_RAT); in zx_spdif_hw_params()
|
D | zx-tdm.c | 199 unsigned int ch_num = 32; in zx_tdm_hw_params() local 205 dma_data->addr_width = ch_num >> 3; in zx_tdm_hw_params() 225 params_rate(params) * TIMING_WIDTH_FACTOR * ch_num); in zx_tdm_hw_params()
|
/sound/x86/ |
D | intel_hdmi_lpe_audio.h | 143 u32 ch_num:4; member
|
/sound/soc/intel/haswell/ |
D | sst-haswell-ipc.h | 338 u8 ch_num; member
|
D | sst-haswell-ipc.c | 1051 stream->request.format.ch_num = channels; in sst_hsw_stream_set_channels()
|
/sound/soc/codecs/ |
D | wcd9335.c | 292 u32 ch_num; member 1735 cfg->chs[i++] = ch->ch_num; in wcd9335_slim_set_hw_params() 2001 wcd->rx_chs[i].ch_num = rx_slot[i]; in wcd9335_set_channel_map() 2007 wcd->tx_chs[i].ch_num = tx_slot[i]; in wcd9335_set_channel_map() 2036 rx_slot[i++] = ch->ch_num; in wcd9335_get_channel_map() 2049 tx_slot[i++] = ch->ch_num; in wcd9335_get_channel_map()
|