Home
last modified time | relevance | path

Searched refs:i2s_pdata (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c231 struct i2s_platform_data *i2s_pdata = NULL; in acp_hw_init() local
282 i2s_pdata = kcalloc(1, sizeof(struct i2s_platform_data), GFP_KERNEL); in acp_hw_init()
283 if (!i2s_pdata) { in acp_hw_init()
288 i2s_pdata[0].quirks = DW_I2S_QUIRK_COMP_REG_OFFSET | in acp_hw_init()
290 i2s_pdata[0].cap = DWC_I2S_PLAY | DWC_I2S_RECORD; in acp_hw_init()
291 i2s_pdata[0].snd_rates = SNDRV_PCM_RATE_8000_96000; in acp_hw_init()
292 i2s_pdata[0].i2s_reg_comp1 = ACP_I2S_COMP1_CAP_REG_OFFSET; in acp_hw_init()
293 i2s_pdata[0].i2s_reg_comp2 = ACP_I2S_COMP2_CAP_REG_OFFSET; in acp_hw_init()
319 adev->acp.acp_cell[1].platform_data = &i2s_pdata[0]; in acp_hw_init()
345 i2s_pdata = kcalloc(3, sizeof(struct i2s_platform_data), GFP_KERNEL); in acp_hw_init()
[all …]
/Linux-v6.1/sound/soc/samsung/
Di2s.c1386 struct s3c_audio_pdata *i2s_pdata = pdev->dev.platform_data; in samsung_i2s_probe() local
1414 if (!i2s_pdata) { in samsung_i2s_probe()
1418 priv->quirks = i2s_pdata->type.quirks; in samsung_i2s_probe()
1435 pri_dai->dma_playback.filter_data = i2s_pdata->dma_playback; in samsung_i2s_probe()
1436 pri_dai->dma_capture.filter_data = i2s_pdata->dma_capture; in samsung_i2s_probe()
1437 pri_dai->filter = i2s_pdata->dma_filter; in samsung_i2s_probe()
1439 idma_addr = i2s_pdata->type.idma_addr; in samsung_i2s_probe()
1490 sec_dai->dma_playback.filter_data = i2s_pdata->dma_play_sec; in samsung_i2s_probe()
1491 sec_dai->filter = i2s_pdata->dma_filter; in samsung_i2s_probe()
1512 if (i2s_pdata && i2s_pdata->cfg_gpio && i2s_pdata->cfg_gpio(pdev)) { in samsung_i2s_probe()