Lines Matching refs:platform_ops
67 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_open() local
82 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_open()
83 if (platform_ops && platform_ops->startup) { in pxa2xx_ac97_pcm_open()
84 ret = platform_ops->startup(substream, platform_ops->priv); in pxa2xx_ac97_pcm_open()
94 pxa2xx_audio_ops_t *platform_ops; in pxa2xx_ac97_pcm_close() local
96 platform_ops = substream->pcm->card->dev->platform_data; in pxa2xx_ac97_pcm_close()
97 if (platform_ops && platform_ops->shutdown) in pxa2xx_ac97_pcm_close()
98 platform_ops->shutdown(substream, platform_ops->priv); in pxa2xx_ac97_pcm_close()
121 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_suspend() local
125 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
126 platform_ops->suspend(platform_ops->priv); in pxa2xx_ac97_do_suspend()
133 pxa2xx_audio_ops_t *platform_ops = card->dev->platform_data; in pxa2xx_ac97_do_resume() local
140 if (platform_ops && platform_ops->resume) in pxa2xx_ac97_do_resume()
141 platform_ops->resume(platform_ops->priv); in pxa2xx_ac97_do_resume()