Searched refs:i2s_data (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/sound/soc/amd/raven/ |
H A D | acp3x-pcm-dma.c | 214 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()
|
/openbmc/linux/sound/soc/amd/vangogh/ |
H A D | acp5x-pcm-dma.c | 208 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()
|
/openbmc/linux/sound/soc/mediatek/mt2701/ |
H A D | mt2701-afe-pcm.c | 126 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 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() 1385 afe_priv->i2s_path[i].i2s_data[SNDRV_PCM_STREAM_PLAYBACK] = in mt2701_afe_pcm_dev_probe() [all …]
|
H A D | mt2701-afe-common.h | 76 const struct mt2701_i2s_data *i2s_data[MTK_STREAM_NUM]; member
|
/openbmc/linux/sound/soc/rockchip/ |
H A D | rockchip_i2s_tdm.c | 1091 unsigned int *i2s_data; in rockchip_i2s_tdm_path_check() local 1095 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_check() 1097 i2s_data = i2s_tdm->i2s_sdos; in rockchip_i2s_tdm_path_check() 1104 i, i2s_data[i], CH_GRP_MAX); in rockchip_i2s_tdm_path_check() 1112 if (i2s_data[i] == i2s_data[j]) { in rockchip_i2s_tdm_path_check() 1116 i, i2s_data[i], in rockchip_i2s_tdm_path_check() 1117 j, i2s_data[j]); in rockchip_i2s_tdm_path_check() 1166 unsigned int *i2s_data; in rockchip_i2s_tdm_path_prepare() local 1171 i2s_data = i2s_tdm->i2s_sdis; in rockchip_i2s_tdm_path_prepare() 1174 i2s_data = i2s_tdm->i2s_sdos; in rockchip_i2s_tdm_path_prepare() [all …]
|
/openbmc/linux/sound/soc/stm/ |
H A D | stm32_i2s.c | 259 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()
|