Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/amd/raven/
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-v6.6/sound/soc/amd/vangogh/
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-v6.6/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c126 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_afe_i2s_path_disable() local
135 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_afe_i2s_path_disable()
177 const struct mt2701_i2s_data *i2s_data = i2s_path->i2s_data[stream_dir]; in mt2701_i2s_path_enable() local
209 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, mask, val); in mt2701_i2s_path_enable()
212 i2s_data->i2s_asrc_fs_mask in mt2701_i2s_path_enable()
213 << i2s_data->i2s_asrc_fs_shift, in mt2701_i2s_path_enable()
214 fs << i2s_data->i2s_asrc_fs_shift); in mt2701_i2s_path_enable()
220 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
223 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
226 regmap_update_bits(afe->regmap, i2s_data->i2s_ctrl_reg, in mt2701_i2s_path_enable()
[all …]
Dmt2701-afe-common.h76 const struct mt2701_i2s_data *i2s_data[MTK_STREAM_NUM]; member
/Linux-v6.6/sound/soc/rockchip/
Drockchip_i2s_tdm.c1381 unsigned int *i2s_data; in rockchip_i2s_tdm_path_check() local
1385 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_check()
1387 i2s_data = i2s_tdm->i2s_sdos; in rockchip_i2s_tdm_path_check()
1390 if (i2s_data[i] > CH_GRP_MAX - 1) { in rockchip_i2s_tdm_path_check()
1394 i, i2s_data[i], CH_GRP_MAX); in rockchip_i2s_tdm_path_check()
1402 if (i2s_data[i] == i2s_data[j]) { in rockchip_i2s_tdm_path_check()
1406 i, i2s_data[i], in rockchip_i2s_tdm_path_check()
1407 j, i2s_data[j]); in rockchip_i2s_tdm_path_check()
1485 unsigned int *i2s_data; in rockchip_i2s_tdm_path_prepare() local
1490 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_prepare()
[all …]
/Linux-v6.6/sound/soc/stm/
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()