Lines Matching refs:platform_ops
70 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_open() local
85 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_open()
86 if (platform_ops && platform_ops->startup) { in pxa2xx_ac97_pcm_open()
87 ret = platform_ops->startup(substream, platform_ops->priv); in pxa2xx_ac97_pcm_open()
97 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_close() local
99 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_close()
100 if (platform_ops && platform_ops->shutdown) in pxa2xx_ac97_pcm_close()
101 platform_ops->shutdown(substream, platform_ops->priv); in pxa2xx_ac97_pcm_close()
124 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_suspend() local
129 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
130 platform_ops->suspend(platform_ops->priv); in pxa2xx_ac97_do_suspend()
137 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_resume() local
144 if (platform_ops && platform_ops->resume) in pxa2xx_ac97_do_resume()
145 platform_ops->resume(platform_ops->priv); in pxa2xx_ac97_do_resume()