Home
last modified time | relevance | path

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

/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-i2s.c280 struct mtk_afe_i2s_priv *i2s_data, in mt8365_dai_set_config() argument
286 &afe_priv->be_data[i2s_data->id - MT8365_AFE_BACKEND_BASE]; in mt8365_dai_set_config()
297 reg_off = i2s_data->reg_off_in; in mt8365_dai_set_config()
298 if (i2s_data->adda_link) in mt8365_dai_set_config()
299 val |= i2s_data->config_val_in; in mt8365_dai_set_config()
301 reg_off = i2s_data->reg_off_out; in mt8365_dai_set_config()
302 val |= i2s_data->config_val_in; in mt8365_dai_set_config()
306 if (i2s_data->dynamic_bck) { in mt8365_dai_set_config()
323 if (i2s_data->adda_link && is_input) in mt8365_dai_set_config()
333 struct mtk_afe_i2s_priv *i2s_data = in mt8365_afe_set_i2s_out() local
[all …]
/linux/sound/soc/amd/raven/
H A Dacp3x-pcm-dma.c214 struct i2s_stream_instance *i2s_data; in acp3x_dma_open() local
221 i2s_data = kzalloc(sizeof(*i2s_data), GFP_KERNEL); in acp3x_dma_open()
222 if (!i2s_data) in acp3x_dma_open()
234 kfree(i2s_data); in acp3x_dma_open()
238 i2s_data->acp3x_base = adata->acp3x_base; in acp3x_dma_open()
239 runtime->private_data = i2s_data; in acp3x_dma_open()
/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-afe-pcm.c124 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_afe_i2s_path_disable() local
133 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_afe_i2s_path_disable()
175 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_i2s_path_enable() local
207 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, mask, val); in mt2701_i2s_path_enable()
210 i2s_data->i2s_asrc_fs_mask in mt2701_i2s_path_enable()
211 << i2s_data->i2s_asrc_fs_shift, in mt2701_i2s_path_enable()
212 fs << i2s_data->i2s_asrc_fs_shift); in mt2701_i2s_path_enable()
218 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
221 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
224 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
[all …]
H A Dmt2701-afe-common.h76 const struct mt2701_i2s_data *i2s_data[MTK_STREAM_NUM]; member
/linux/sound/soc/rockchip/
H A Drockchip_i2s_tdm.c1089 unsigned int *i2s_data; in rockchip_i2s_tdm_path_check() local
1093 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_check()
1095 i2s_data = i2s_tdm->i2s_sdos; in rockchip_i2s_tdm_path_check()
1098 if (i2s_data[i] > CH_GRP_MAX - 1) { in rockchip_i2s_tdm_path_check()
1102 i, i2s_data[i], CH_GRP_MAX); in rockchip_i2s_tdm_path_check()
1110 if (i2s_data[i] == i2s_data[j]) { in rockchip_i2s_tdm_path_check()
1114 i, i2s_data[i], in rockchip_i2s_tdm_path_check()
1115 j, i2s_data[j]); in rockchip_i2s_tdm_path_check()
1164 unsigned int *i2s_data; in rockchip_i2s_tdm_path_prepare() local
1169 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_prepare()
[all …]
/linux/sound/soc/amd/vangogh/
H A Dacp5x-pcm-dma.c208 struct i2s_stream_instance *i2s_data; in acp5x_dma_open() local
216 i2s_data = kzalloc(sizeof(*i2s_data), GFP_KERNEL); in acp5x_dma_open()
217 if (!i2s_data) in acp5x_dma_open()
229 kfree(i2s_data); in acp5x_dma_open()
232 i2s_data->acp5x_base = adata->acp5x_base; in acp5x_dma_open()
233 runtime->private_data = i2s_data; in acp5x_dma_open()
/linux/sound/soc/stm/
H A Dstm32_i2s.c259 struct stm32_i2s_data *i2s_data; member
339 struct stm32_i2s_data *i2s = mclk->i2s_data; in stm32_i2smclk_round_rate()
363 struct stm32_i2s_data *i2s = mclk->i2s_data; in stm32_i2smclk_set_rate()
382 struct stm32_i2s_data *i2s = mclk->i2s_data; in stm32_i2smclk_enable()
393 struct stm32_i2s_data *i2s = mclk->i2s_data; in stm32_i2smclk_disable()
438 mclk->i2s_data = i2s; in stm32_i2s_add_mclk_provider()