Lines Matching refs:card
53 struct snd_soc_card *card = rtd->card; in tegra_max98090_asoc_hw_params() local
54 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(card); in tegra_max98090_asoc_hw_params()
82 dev_err(card->dev, "Can't configure clocks\n"); in tegra_max98090_asoc_hw_params()
89 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_max98090_asoc_hw_params()
148 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(rtd->card); in tegra_max98090_asoc_init()
151 snd_soc_card_jack_new(rtd->card, "Headphones", in tegra_max98090_asoc_init()
164 snd_soc_card_jack_new(rtd->card, "Mic Jack", in tegra_max98090_asoc_init()
179 static int tegra_max98090_card_remove(struct snd_soc_card *card) in tegra_max98090_card_remove() argument
181 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(card); in tegra_max98090_card_remove()
222 struct snd_soc_card *card = &snd_soc_tegra_max98090; in tegra_max98090_probe() local
233 card->dev = &pdev->dev; in tegra_max98090_probe()
234 platform_set_drvdata(pdev, card); in tegra_max98090_probe()
235 snd_soc_card_set_drvdata(card, machine); in tegra_max98090_probe()
246 ret = snd_soc_of_parse_card_name(card, "nvidia,model"); in tegra_max98090_probe()
250 ret = snd_soc_of_parse_audio_routing(card, "nvidia,audio-routing"); in tegra_max98090_probe()
278 ret = snd_soc_register_card(card); in tegra_max98090_probe()
295 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_max98090_remove() local
296 struct tegra_max98090 *machine = snd_soc_card_get_drvdata(card); in tegra_max98090_remove()
298 snd_soc_unregister_card(card); in tegra_max98090_remove()