Lines Matching defs:device

19 #include <media/v4l2-device.h>
46 * @vpbe_dev: vpbe device ptr
89 * @vpbe_dev: vpbe device ptr
185 * @vpbe_dev: vpbe device ptr
238 * mode in the sub device. For external encoder or LCD pannel output,
281 * @vpbe_dev: vpbe device ptr
530 static int platform_device_get(struct device *dev, void *data)
545 * @dev: Master and slave device ptr
546 * @vpbe_dev: vpbe device ptr
548 * Master frame buffer device drivers calls this to initialize vpbe
549 * display controller. This will then registers v4l2 device and the sub
550 * devices and sets a current encoder sub device for display. v4l2 display
551 * device driver is the master and frame buffer display device driver is
555 static int vpbe_initialize(struct device *dev, struct vpbe_device *vpbe_dev)
569 * from the platform device by iteration of platform drivers and
570 * matching with device name
573 printk(KERN_ERR "Null device pointers.\n");
599 /* First register a v4l2 device */
603 "Unable to register v4l2 device.\n");
606 v4l2_info(&vpbe_dev->v4l2_dev, "vpbe v4l2 device registered\n");
617 /* register venc sub device */
620 "vpbe unable to init venc sub device\n");
624 /* initialize osd device */
630 "unable to initialize the OSD device");
665 "v4l2 sub device %s registered\n",
692 "v4l2 sub device %s registered\n",
746 * @dev: Master and slave device ptr
747 * @vpbe_dev: vpbe device ptr
750 * the display controller. It is called when master and slave device
753 static void vpbe_deinitialize(struct device *dev, struct vpbe_device *vpbe_dev)
816 /* set the driver data in platform device */
823 static int vpbe_remove(struct platform_device *device)
825 struct vpbe_device *vpbe_dev = platform_get_drvdata(device);