Home
last modified time | relevance | path

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

/linux/sound/soc/generic/
H A Daudio-graph-card2-custom-sample.c19 struct simple_util_priv simple_priv; member
26 #define simple_to_custom(simple) container_of((simple), struct custom_priv, simple_priv)
30 struct simple_util_priv *simple_priv = snd_soc_card_get_drvdata(card); in custom_card_probe() local
31 struct custom_priv *custom_priv = simple_to_custom(simple_priv); in custom_card_probe()
32 struct device *dev = simple_priv_to_dev(simple_priv); in custom_card_probe()
144 struct simple_util_priv *simple_priv; in custom_probe() local
152 simple_priv = &custom_priv->simple_priv; in custom_probe()
153 simple_priv->ops = &custom_ops; /* customize dai_link ops */ in custom_probe()
156 simple_priv->snd_card.name = "card2-custom"; in custom_probe()
159 ret = audio_graph2_parse_of(simple_priv, dev, &custom_hooks); in custom_probe()