Lines Matching refs:pdev_capture
443 struct platform_device *pdev_capture, *pdev_display; in vpif_probe() local
486 pdev_capture = kzalloc(sizeof(*pdev_capture), GFP_KERNEL); in vpif_probe()
487 if (!pdev_capture) { in vpif_probe()
492 pdev_capture->name = "vpif_capture"; in vpif_probe()
493 pdev_capture->id = -1; in vpif_probe()
494 pdev_capture->resource = &res_irq; in vpif_probe()
495 pdev_capture->num_resources = 1; in vpif_probe()
496 pdev_capture->dev.dma_mask = pdev->dev.dma_mask; in vpif_probe()
497 pdev_capture->dev.coherent_dma_mask = pdev->dev.coherent_dma_mask; in vpif_probe()
498 pdev_capture->dev.parent = &pdev->dev; in vpif_probe()
499 pdev_capture->dev.release = vpif_pdev_release; in vpif_probe()
501 ret = platform_device_register(pdev_capture); in vpif_probe()
524 data->capture = pdev_capture; in vpif_probe()
532 platform_device_put(pdev_capture); in vpif_probe()