Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwcd938x-sdw.c107 struct sdw_port_config port_config[WCD938X_MAX_SWR_PORTS]; in wcd938x_sdw_hw_params() local
114 ch_mask = wcd->port_config[i].ch_mask; in wcd938x_sdw_hw_params()
122 port_config[wcd->active_ports] = wcd->port_config[i]; in wcd938x_sdw_hw_params()
136 &port_config[0], wcd->active_ports, in wcd938x_sdw_hw_params()
Dsdw-mockup.c83 struct sdw_port_config port_config; in sdw_mockup_pcm_hw_params() local
112 port_config.ch_mask = (1 << num_channels) - 1; in sdw_mockup_pcm_hw_params()
113 port_config.num = port; in sdw_mockup_pcm_hw_params()
116 &port_config, 1, stream->sdw_stream); in sdw_mockup_pcm_hw_params()
Dmax98373-sdw.c536 struct sdw_port_config port_config; in max98373_sdw_dai_hw_params() local
551 port_config.num = 1; in max98373_sdw_dai_hw_params()
554 port_config.num = 3; in max98373_sdw_dai_hw_params()
563 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()
575 &port_config, 1, stream->sdw_stream); in max98373_sdw_dai_hw_params()
Drt1316-sdw.c523 struct sdw_port_config port_config; in rt1316_sdw_hw_params() local
555 port_config.ch_mask = ch_mask; in rt1316_sdw_hw_params()
556 port_config.num = port; in rt1316_sdw_hw_params()
559 &port_config, 1, stream->sdw_stream); in rt1316_sdw_hw_params()
Drt1308-sdw.c528 struct sdw_port_config port_config; in rt1308_sdw_hw_params() local
564 port_config.ch_mask = ch_mask; in rt1308_sdw_hw_params()
565 port_config.num = port; in rt1308_sdw_hw_params()
568 &port_config, 1, stream->sdw_stream); in rt1308_sdw_hw_params()
Drt5682-sdw.c134 struct sdw_port_config port_config; in rt5682_sdw_hw_params() local
164 port_config.ch_mask = (1 << (num_channels)) - 1; in rt5682_sdw_hw_params()
165 port_config.num = port; in rt5682_sdw_hw_params()
168 &port_config, 1, stream->sdw_stream); in rt5682_sdw_hw_params()
Drt715-sdca.c811 struct sdw_port_config port_config; in rt715_sdca_pcm_hw_params() local
849 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt715_sdca_pcm_hw_params()
850 port_config.num = port; in rt715_sdca_pcm_hw_params()
853 &port_config, 1, stream->sdw_stream); in rt715_sdca_pcm_hw_params()
Drt715.c792 struct sdw_port_config port_config; in rt715_pcm_hw_params() local
828 port_config.ch_mask = (1 << (num_channels)) - 1; in rt715_pcm_hw_params()
829 port_config.num = port; in rt715_pcm_hw_params()
832 &port_config, 1, stream->sdw_stream); in rt715_pcm_hw_params()
Drt700.c908 struct sdw_port_config port_config; in rt700_pcm_hw_params() local
950 port_config.ch_mask = (1 << (num_channels)) - 1; in rt700_pcm_hw_params()
951 port_config.num = port; in rt700_pcm_hw_params()
954 &port_config, 1, stream->sdw_stream); in rt700_pcm_hw_params()
Drt711.c991 struct sdw_port_config port_config; in rt711_pcm_hw_params() local
1026 port_config.ch_mask = (1 << (num_channels)) - 1; in rt711_pcm_hw_params()
1027 port_config.num = port; in rt711_pcm_hw_params()
1030 &port_config, 1, stream->sdw_stream); in rt711_pcm_hw_params()
Dwsa881x.c677 struct sdw_port_config port_config[WSA881X_MAX_SWR_PORTS]; member
980 wsa881x->port_config[wsa881x->active_ports] = in wsa881x_hw_params()
986 wsa881x->port_config, wsa881x->active_ports, in wsa881x_hw_params()
Drt711-sdca.c1256 struct sdw_port_config port_config; in rt711_sdca_pcm_hw_params() local
1291 port_config.ch_mask = GENMASK(num_channels - 1, 0); in rt711_sdca_pcm_hw_params()
1292 port_config.num = port; in rt711_sdca_pcm_hw_params()
1295 &port_config, 1, stream->sdw_stream); in rt711_sdca_pcm_hw_params()
Dwcd938x.h658 struct sdw_port_config port_config[WCD938X_MAX_SWR_PORTS]; member
Dwcd938x.c1417 struct sdw_port_config *port_config, in wcd938x_sdw_connect_port() argument
1425 port_config->num = port_num; 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()
1438 &wcd->port_config[port_num - 1], in wcd938x_connect_port()
/sound/soc/qcom/qdsp6/
Dq6afe-dai.c112 struct q6afe_port_config port_config[AFE_PORT_MAX]; member
123 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
153 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params()
201 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params()
214 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt()
228 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot()
281 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map()
341 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params()
359 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_set_channel_map()
428 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_hw_params()
[all …]