Lines Matching refs:lpe

80 #define HAS_LPE_AUDIO(dev_priv) ((dev_priv)->display.audio.lpe.platdev != NULL)
101 rsc[0].start = rsc[0].end = dev_priv->display.audio.lpe.irq; in lpe_audio_platdev_create()
153 platform_device_unregister(dev_priv->display.audio.lpe.platdev); in lpe_audio_platdev_destroy()
172 int irq = dev_priv->display.audio.lpe.irq; in lpe_audio_irq_init()
209 dev_priv->display.audio.lpe.irq = irq_alloc_desc(0); in lpe_audio_setup()
210 if (dev_priv->display.audio.lpe.irq < 0) { in lpe_audio_setup()
212 dev_priv->display.audio.lpe.irq); in lpe_audio_setup()
213 ret = dev_priv->display.audio.lpe.irq; in lpe_audio_setup()
217 drm_dbg(&dev_priv->drm, "irq = %d\n", dev_priv->display.audio.lpe.irq); in lpe_audio_setup()
228 dev_priv->display.audio.lpe.platdev = lpe_audio_platdev_create(dev_priv); in lpe_audio_setup()
230 if (IS_ERR(dev_priv->display.audio.lpe.platdev)) { in lpe_audio_setup()
231 ret = PTR_ERR(dev_priv->display.audio.lpe.platdev); in lpe_audio_setup()
246 irq_free_desc(dev_priv->display.audio.lpe.irq); in lpe_audio_setup()
248 dev_priv->display.audio.lpe.irq = -1; in lpe_audio_setup()
249 dev_priv->display.audio.lpe.platdev = NULL; in lpe_audio_setup()
267 ret = generic_handle_irq(dev_priv->display.audio.lpe.irq); in intel_lpe_audio_irq_handler()
308 irq_free_desc(dev_priv->display.audio.lpe.irq); in intel_lpe_audio_teardown()
310 dev_priv->display.audio.lpe.irq = -1; in intel_lpe_audio_teardown()
311 dev_priv->display.audio.lpe.platdev = NULL; in intel_lpe_audio_teardown()
338 pdata = dev_get_platdata(&dev_priv->display.audio.lpe.platdev->dev); in intel_lpe_audio_notify()
366 pdata->notify_audio_lpe(dev_priv->display.audio.lpe.platdev, port - PORT_B); in intel_lpe_audio_notify()