Lines Matching refs:card
58 struct snd_soc_card *card = rtd->card; in tegra_wm8753_hw_params() local
59 struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8753_hw_params()
78 dev_err(card->dev, "Can't configure clocks\n"); in tegra_wm8753_hw_params()
85 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_wm8753_hw_params()
125 struct snd_soc_card *card = &snd_soc_tegra_wm8753; in tegra_wm8753_driver_probe() local
136 card->dev = &pdev->dev; in tegra_wm8753_driver_probe()
137 platform_set_drvdata(pdev, card); in tegra_wm8753_driver_probe()
138 snd_soc_card_set_drvdata(card, machine); in tegra_wm8753_driver_probe()
140 ret = snd_soc_of_parse_card_name(card, "nvidia,model"); in tegra_wm8753_driver_probe()
144 ret = snd_soc_of_parse_audio_routing(card, "nvidia,audio-routing"); in tegra_wm8753_driver_probe()
172 ret = snd_soc_register_card(card); in tegra_wm8753_driver_probe()
189 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_wm8753_driver_remove() local
190 struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); in tegra_wm8753_driver_remove()
192 snd_soc_unregister_card(card); in tegra_wm8753_driver_remove()