Lines Matching refs:platform_ops
64 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_open() local
79 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_open()
80 if (platform_ops && platform_ops->startup) { in pxa2xx_ac97_pcm_open()
81 ret = platform_ops->startup(substream, platform_ops->priv); in pxa2xx_ac97_pcm_open()
91 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_close() local
93 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_close()
94 if (platform_ops && platform_ops->shutdown) in pxa2xx_ac97_pcm_close()
95 platform_ops->shutdown(substream, platform_ops->priv); in pxa2xx_ac97_pcm_close()
118 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_suspend() local
122 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
123 platform_ops->suspend(platform_ops->priv); in pxa2xx_ac97_do_suspend()
130 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_resume() local
137 if (platform_ops && platform_ops->resume) in pxa2xx_ac97_do_resume()
138 platform_ops->resume(platform_ops->priv); in pxa2xx_ac97_do_resume()