Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwcd938x-sdw.c108 unsigned long ch_mask; in wcd938x_sdw_hw_params() local
114 ch_mask = wcd->port_config[i].ch_mask; in wcd938x_sdw_hw_params()
116 if (!ch_mask) in wcd938x_sdw_hw_params()
119 for_each_set_bit(j, &ch_mask, 4) in wcd938x_sdw_hw_params()
Drt1308-sdw.c531 int retval, port, num_channels, ch_mask; in rt1308_sdw_hw_params() local
553 ch_mask = rt1308->rx_mask; in rt1308_sdw_hw_params()
556 ch_mask = (1 << num_channels) - 1; in rt1308_sdw_hw_params()
564 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
Drt1316-sdw.c526 int retval, port, num_channels, ch_mask; in rt1316_sdw_hw_params() local
548 ch_mask = (1 << num_channels) - 1; in rt1316_sdw_hw_params()
555 port_config.ch_mask = ch_mask; in rt1316_sdw_hw_params()
Dwsa881x.c428 .ch_mask = 0x1,
431 .ch_mask = 0xf,
434 .ch_mask = 0x3,
437 .ch_mask = 0x3,
Dwcd938x.h597 unsigned int ch_mask; member
603 .ch_mask = cmask, \
Dsdw-mockup.c112 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
Dmax98373-sdw.c563 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params()
571 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
Dda7219.c1428 unsigned int ch_mask; in da7219_set_dai_tdm_slot() local
1447 ch_mask = (tx_mask >> slot_offset); in da7219_set_dai_tdm_slot()
1448 if (fls(ch_mask) > DA7219_DAI_TDM_MAX_SLOTS) { in da7219_set_dai_tdm_slot()
1500 (ch_mask << DA7219_DAI_TDM_CH_EN_SHIFT) | in da7219_set_dai_tdm_slot()
Dwcd938x.c1420 u8 ch_mask, port_num; in wcd938x_sdw_connect_port() local
1423 ch_mask = ch_info->ch_mask; in wcd938x_sdw_connect_port()
1428 port_config->ch_mask |= ch_mask; in wcd938x_sdw_connect_port()
1430 port_config->ch_mask &= ~ch_mask; in wcd938x_sdw_connect_port()
Drt5682-sdw.c164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
Drt715-sdca.c849 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt715_sdca_pcm_hw_params()
Drt715.c828 port_config.ch_mask = (1 << (num_channels)) - 1; in rt715_pcm_hw_params()
Drt700.c950 port_config.ch_mask = (1 << (num_channels)) - 1; in rt700_pcm_hw_params()
Drt711.c1026 port_config.ch_mask = (1 << (num_channels)) - 1; in rt711_pcm_hw_params()
Drt711-sdca.c1291 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt711_sdca_pcm_hw_params()
/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c310 unsigned int ch_mask; in acp_pdm_dai_trigger() local
316 ch_mask = 0x00; in acp_pdm_dai_trigger()
325 rn_writel(ch_mask, rtd->acp_base + ACP_WOV_PDM_NO_OF_CHANNELS); in acp_pdm_dai_trigger()
/sound/soc/qcom/qdsp6/
Dq6afe-dai.c360 int ch_mask; in q6dma_set_channel_map() local
386 ch_mask = *tx_ch_mask; in q6dma_set_channel_map()
409 ch_mask = *rx_ch_mask; in q6dma_set_channel_map()
418 cfg->active_channels_mask = ch_mask; in q6dma_set_channel_map()