Searched refs:sof_priv (Results 1 – 5 of 5) sorted by relevance
18 struct mtk_sof_priv *sof_priv = soc_card_data->sof_priv; in mtk_sof_dai_link_fixup() local21 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() local90 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()
14 void *sof_priv; member
1049 struct mtk_sof_priv *sof_priv; in mt8186_mt6366_da7219_max98357_dev_probe() local1051 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()
1134 struct mtk_sof_priv *sof_priv; in mt8186_mt6366_rt1019_rt5682s_dev_probe() local1136 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()
1418 struct mtk_sof_priv *sof_priv; in mt8195_mt6359_dev_probe() local1420 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()