Home
last modified time | relevance | path

Searched refs:sof_priv (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c18 struct mtk_sof_priv *sof_priv = soc_card_data->sof_priv; in mtk_sof_dai_link_fixup() local
21 for (i = 0; i < sof_priv->num_streams; i++) { in mtk_sof_dai_link_fixup()
25 const struct sof_conn_stream *conn = &sof_priv->conn_streams[i]; in mtk_sof_dai_link_fixup()
74 struct mtk_sof_priv *sof_priv = soc_card_data->sof_priv; in mtk_sof_card_late_probe() local
90 for (i = 0; i < sof_priv->num_streams; i++) { in mtk_sof_card_late_probe()
91 const struct sof_conn_stream *conn = &sof_priv->conn_streams[i]; in mtk_sof_card_late_probe()
136 if (sof_priv->sof_dai_link_fixup) in mtk_sof_card_late_probe()
138 sof_priv->sof_dai_link_fixup; in mtk_sof_card_late_probe()
H A Dmtk-soc-card.h14 void *sof_priv; member
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-mt6366-da7219-max98357.c1049 struct mtk_sof_priv *sof_priv; in mt8186_mt6366_da7219_max98357_dev_probe() local
1051 sof_priv = devm_kzalloc(&pdev->dev, sizeof(*sof_priv), GFP_KERNEL); in mt8186_mt6366_da7219_max98357_dev_probe()
1052 if (!sof_priv) { in mt8186_mt6366_da7219_max98357_dev_probe()
1056 sof_priv->conn_streams = g_sof_conn_streams; in mt8186_mt6366_da7219_max98357_dev_probe()
1057 sof_priv->num_streams = ARRAY_SIZE(g_sof_conn_streams); in mt8186_mt6366_da7219_max98357_dev_probe()
1058 sof_priv->sof_dai_link_fixup = mt8186_sof_dai_link_fixup; in mt8186_mt6366_da7219_max98357_dev_probe()
1059 soc_card_data->sof_priv = sof_priv; in mt8186_mt6366_da7219_max98357_dev_probe()
H A Dmt8186-mt6366-rt1019-rt5682s.c1134 struct mtk_sof_priv *sof_priv; in mt8186_mt6366_rt1019_rt5682s_dev_probe() local
1136 sof_priv = devm_kzalloc(&pdev->dev, sizeof(*sof_priv), GFP_KERNEL); in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1137 if (!sof_priv) { in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1141 sof_priv->conn_streams = g_sof_conn_streams; in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1142 sof_priv->num_streams = ARRAY_SIZE(g_sof_conn_streams); in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1143 sof_priv->sof_dai_link_fixup = mt8186_sof_dai_link_fixup; in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1144 soc_card_data->sof_priv = sof_priv; in mt8186_mt6366_rt1019_rt5682s_dev_probe()
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-mt6359.c1418 struct mtk_sof_priv *sof_priv; in mt8195_mt6359_dev_probe() local
1420 sof_priv = devm_kzalloc(&pdev->dev, sizeof(*sof_priv), GFP_KERNEL); in mt8195_mt6359_dev_probe()
1421 if (!sof_priv) { in mt8195_mt6359_dev_probe()
1425 sof_priv->conn_streams = g_sof_conn_streams; in mt8195_mt6359_dev_probe()
1426 sof_priv->num_streams = ARRAY_SIZE(g_sof_conn_streams); in mt8195_mt6359_dev_probe()
1427 sof_priv->sof_dai_link_fixup = mt8195_dai_link_fixup; in mt8195_mt6359_dev_probe()
1428 soc_card_data->sof_priv = sof_priv; in mt8195_mt6359_dev_probe()