ceudev            317 drivers/media/platform/renesas-ceu.c static int ceu_soft_reset(struct ceu_device *ceudev)
ceudev            321 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CPKIL);
ceudev            324 drivers/media/platform/renesas-ceu.c 		if (!(ceu_read(ceudev, CEU_CSTSR) & CEU_CSTRST_CPTON))
ceudev            330 drivers/media/platform/renesas-ceu.c 		dev_err(ceudev->dev, "soft reset time out\n");
ceudev            335 drivers/media/platform/renesas-ceu.c 		if (!(ceu_read(ceudev, CEU_CAPSR) & CEU_CAPSR_CPKIL))
ceudev            349 drivers/media/platform/renesas-ceu.c static int ceu_hw_config(struct ceu_device *ceudev)
ceudev            352 drivers/media/platform/renesas-ceu.c 	struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix;
ceudev            353 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev            358 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAIFR, 0);
ceudev            359 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CFWCR, 0);
ceudev            360 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CRCNTR, 0);
ceudev            361 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CRCMPR, 0);
ceudev            441 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAMCR, camcr);
ceudev            442 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CDOCR, cdocr);
ceudev            443 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAPCR, CEU_CAPCR_BUS_WIDTH256);
ceudev            450 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAMOR, 0);
ceudev            453 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAPWR, capwr);
ceudev            454 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CFSZR, cfzsr);
ceudev            455 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CDWDR, cdwdr);
ceudev            465 drivers/media/platform/renesas-ceu.c static int ceu_capture(struct ceu_device *ceudev)
ceudev            467 drivers/media/platform/renesas-ceu.c 	struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix;
ceudev            471 drivers/media/platform/renesas-ceu.c 		vb2_dma_contig_plane_dma_addr(&ceudev->active->vb2_buf, 0);
ceudev            472 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CDAYR, phys_addr_top);
ceudev            477 drivers/media/platform/renesas-ceu.c 			vb2_dma_contig_plane_dma_addr(&ceudev->active->vb2_buf,
ceudev            479 drivers/media/platform/renesas-ceu.c 		ceu_write(ceudev, CEU_CDACR, phys_addr_top);
ceudev            486 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CAPSR, CEU_CAPSR_CE);
ceudev            493 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = data;
ceudev            499 drivers/media/platform/renesas-ceu.c 	status = ceu_read(ceudev, CEU_CETCR);
ceudev            500 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CETCR, ~ceudev->irq_mask);
ceudev            506 drivers/media/platform/renesas-ceu.c 	spin_lock(&ceudev->lock);
ceudev            509 drivers/media/platform/renesas-ceu.c 	vbuf = ceudev->active;
ceudev            511 drivers/media/platform/renesas-ceu.c 		spin_unlock(&ceudev->lock);
ceudev            520 drivers/media/platform/renesas-ceu.c 		dev_err(ceudev->dev, "VBP interrupt: abort capture\n");
ceudev            526 drivers/media/platform/renesas-ceu.c 	vbuf->sequence = ceudev->sequence++;
ceudev            527 drivers/media/platform/renesas-ceu.c 	vbuf->field = ceudev->field;
ceudev            530 drivers/media/platform/renesas-ceu.c 	if (!list_empty(&ceudev->capture)) {
ceudev            531 drivers/media/platform/renesas-ceu.c 		buf = list_first_entry(&ceudev->capture, struct ceu_buffer,
ceudev            534 drivers/media/platform/renesas-ceu.c 		ceudev->active = &buf->vb;
ceudev            536 drivers/media/platform/renesas-ceu.c 		ceu_capture(ceudev);
ceudev            542 drivers/media/platform/renesas-ceu.c 	spin_unlock(&ceudev->lock);
ceudev            550 drivers/media/platform/renesas-ceu.c 	list_for_each_entry(buf, &ceudev->capture, queue)
ceudev            553 drivers/media/platform/renesas-ceu.c 	spin_unlock(&ceudev->lock);
ceudev            578 drivers/media/platform/renesas-ceu.c static void ceu_calc_plane_sizes(struct ceu_device *ceudev,
ceudev            625 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = vb2_get_drv_priv(vq);
ceudev            626 drivers/media/platform/renesas-ceu.c 	struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix;
ceudev            648 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = vb2_get_drv_priv(vb->vb2_queue);
ceudev            653 drivers/media/platform/renesas-ceu.c 	spin_lock_irqsave(&ceudev->lock, irqflags);
ceudev            654 drivers/media/platform/renesas-ceu.c 	list_add_tail(&buf->queue, &ceudev->capture);
ceudev            655 drivers/media/platform/renesas-ceu.c 	spin_unlock_irqrestore(&ceudev->lock, irqflags);
ceudev            660 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = vb2_get_drv_priv(vb->vb2_queue);
ceudev            661 drivers/media/platform/renesas-ceu.c 	struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix;
ceudev            666 drivers/media/platform/renesas-ceu.c 			dev_err(ceudev->dev,
ceudev            681 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = vb2_get_drv_priv(vq);
ceudev            682 drivers/media/platform/renesas-ceu.c 	struct v4l2_subdev *v4l2_sd = ceudev->sd->v4l2_sd;
ceudev            688 drivers/media/platform/renesas-ceu.c 	ret = ceu_hw_config(ceudev);
ceudev            694 drivers/media/platform/renesas-ceu.c 		dev_dbg(ceudev->dev,
ceudev            699 drivers/media/platform/renesas-ceu.c 	spin_lock_irqsave(&ceudev->lock, irqflags);
ceudev            700 drivers/media/platform/renesas-ceu.c 	ceudev->sequence = 0;
ceudev            703 drivers/media/platform/renesas-ceu.c 	buf = list_first_entry(&ceudev->capture, struct ceu_buffer,
ceudev            706 drivers/media/platform/renesas-ceu.c 		spin_unlock_irqrestore(&ceudev->lock, irqflags);
ceudev            707 drivers/media/platform/renesas-ceu.c 		dev_dbg(ceudev->dev,
ceudev            713 drivers/media/platform/renesas-ceu.c 	ceudev->active = &buf->vb;
ceudev            716 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CETCR, ~ceudev->irq_mask);
ceudev            717 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CEIER, CEU_CEIER_MASK);
ceudev            719 drivers/media/platform/renesas-ceu.c 	ceu_capture(ceudev);
ceudev            721 drivers/media/platform/renesas-ceu.c 	spin_unlock_irqrestore(&ceudev->lock, irqflags);
ceudev            729 drivers/media/platform/renesas-ceu.c 	spin_lock_irqsave(&ceudev->lock, irqflags);
ceudev            730 drivers/media/platform/renesas-ceu.c 	list_for_each_entry(buf, &ceudev->capture, queue)
ceudev            731 drivers/media/platform/renesas-ceu.c 		vb2_buffer_done(&ceudev->active->vb2_buf,
ceudev            733 drivers/media/platform/renesas-ceu.c 	ceudev->active = NULL;
ceudev            734 drivers/media/platform/renesas-ceu.c 	spin_unlock_irqrestore(&ceudev->lock, irqflags);
ceudev            741 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = vb2_get_drv_priv(vq);
ceudev            742 drivers/media/platform/renesas-ceu.c 	struct v4l2_subdev *v4l2_sd = ceudev->sd->v4l2_sd;
ceudev            747 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CETCR,
ceudev            748 drivers/media/platform/renesas-ceu.c 		  ceu_read(ceudev, CEU_CETCR) & ceudev->irq_mask);
ceudev            749 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CEIER, CEU_CEIER_MASK);
ceudev            753 drivers/media/platform/renesas-ceu.c 	spin_lock_irqsave(&ceudev->lock, irqflags);
ceudev            754 drivers/media/platform/renesas-ceu.c 	if (ceudev->active) {
ceudev            755 drivers/media/platform/renesas-ceu.c 		vb2_buffer_done(&ceudev->active->vb2_buf,
ceudev            757 drivers/media/platform/renesas-ceu.c 		ceudev->active = NULL;
ceudev            761 drivers/media/platform/renesas-ceu.c 	list_for_each_entry(buf, &ceudev->capture, queue)
ceudev            763 drivers/media/platform/renesas-ceu.c 	INIT_LIST_HEAD(&ceudev->capture);
ceudev            765 drivers/media/platform/renesas-ceu.c 	spin_unlock_irqrestore(&ceudev->lock, irqflags);
ceudev            767 drivers/media/platform/renesas-ceu.c 	ceu_soft_reset(ceudev);
ceudev            790 drivers/media/platform/renesas-ceu.c static int __ceu_try_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt,
ceudev            793 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev            870 drivers/media/platform/renesas-ceu.c 	ceu_calc_plane_sizes(ceudev, ceu_fmt, pix);
ceudev            881 drivers/media/platform/renesas-ceu.c static int ceu_try_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt)
ceudev            885 drivers/media/platform/renesas-ceu.c 	return __ceu_try_fmt(ceudev, v4l2_fmt, &mbus_code);
ceudev            891 drivers/media/platform/renesas-ceu.c static int ceu_set_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt)
ceudev            893 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev            906 drivers/media/platform/renesas-ceu.c 	ret = __ceu_try_fmt(ceudev, v4l2_fmt, &mbus_code);
ceudev            916 drivers/media/platform/renesas-ceu.c 	ceudev->v4l2_pix = v4l2_fmt->fmt.pix_mp;
ceudev            917 drivers/media/platform/renesas-ceu.c 	ceudev->field = V4L2_FIELD_NONE;
ceudev            926 drivers/media/platform/renesas-ceu.c static int ceu_set_default_fmt(struct ceu_device *ceudev)
ceudev            951 drivers/media/platform/renesas-ceu.c 	ret = ceu_try_fmt(ceudev, &v4l2_fmt);
ceudev            955 drivers/media/platform/renesas-ceu.c 	ceudev->v4l2_pix = v4l2_fmt.fmt.pix_mp;
ceudev            956 drivers/media/platform/renesas-ceu.c 	ceudev->field = V4L2_FIELD_NONE;
ceudev            974 drivers/media/platform/renesas-ceu.c static int ceu_init_mbus_fmt(struct ceu_device *ceudev)
ceudev            976 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev           1062 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = dev_get_drvdata(dev);
ceudev           1063 drivers/media/platform/renesas-ceu.c 	struct v4l2_subdev *v4l2_sd = ceudev->sd->v4l2_sd;
ceudev           1067 drivers/media/platform/renesas-ceu.c 	ceu_soft_reset(ceudev);
ceudev           1078 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = dev_get_drvdata(dev);
ceudev           1079 drivers/media/platform/renesas-ceu.c 	struct v4l2_subdev *v4l2_sd = ceudev->sd->v4l2_sd;
ceudev           1083 drivers/media/platform/renesas-ceu.c 	ceu_write(ceudev, CEU_CEIER, 0);
ceudev           1084 drivers/media/platform/renesas-ceu.c 	ceu_soft_reset(ceudev);
ceudev           1093 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1100 drivers/media/platform/renesas-ceu.c 	mutex_lock(&ceudev->mlock);
ceudev           1102 drivers/media/platform/renesas-ceu.c 	pm_runtime_get_sync(ceudev->dev);
ceudev           1103 drivers/media/platform/renesas-ceu.c 	mutex_unlock(&ceudev->mlock);
ceudev           1110 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1114 drivers/media/platform/renesas-ceu.c 	mutex_lock(&ceudev->mlock);
ceudev           1116 drivers/media/platform/renesas-ceu.c 	pm_runtime_put(ceudev->dev);
ceudev           1117 drivers/media/platform/renesas-ceu.c 	mutex_unlock(&ceudev->mlock);
ceudev           1136 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1141 drivers/media/platform/renesas-ceu.c 		 "platform:renesas-ceu-%s", dev_name(ceudev->dev));
ceudev           1163 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1165 drivers/media/platform/renesas-ceu.c 	return ceu_try_fmt(ceudev, f);
ceudev           1171 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1173 drivers/media/platform/renesas-ceu.c 	if (vb2_is_streaming(&ceudev->vb2_vq))
ceudev           1176 drivers/media/platform/renesas-ceu.c 	return ceu_set_fmt(ceudev, f);
ceudev           1182 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1184 drivers/media/platform/renesas-ceu.c 	f->fmt.pix_mp = ceudev->v4l2_pix;
ceudev           1192 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1195 drivers/media/platform/renesas-ceu.c 	if (inp->index >= ceudev->num_sd)
ceudev           1198 drivers/media/platform/renesas-ceu.c 	ceusd = &ceudev->subdevs[inp->index];
ceudev           1210 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1212 drivers/media/platform/renesas-ceu.c 	*i = ceudev->sd_index;
ceudev           1219 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1223 drivers/media/platform/renesas-ceu.c 	if (i >= ceudev->num_sd)
ceudev           1226 drivers/media/platform/renesas-ceu.c 	if (vb2_is_streaming(&ceudev->vb2_vq))
ceudev           1229 drivers/media/platform/renesas-ceu.c 	if (i == ceudev->sd_index)
ceudev           1232 drivers/media/platform/renesas-ceu.c 	ceu_sd_old = ceudev->sd;
ceudev           1233 drivers/media/platform/renesas-ceu.c 	ceudev->sd = &ceudev->subdevs[i];
ceudev           1239 drivers/media/platform/renesas-ceu.c 	ret = ceu_init_mbus_fmt(ceudev);
ceudev           1241 drivers/media/platform/renesas-ceu.c 		ceudev->sd = ceu_sd_old;
ceudev           1245 drivers/media/platform/renesas-ceu.c 	ret = ceu_set_default_fmt(ceudev);
ceudev           1247 drivers/media/platform/renesas-ceu.c 		ceudev->sd = ceu_sd_old;
ceudev           1253 drivers/media/platform/renesas-ceu.c 	v4l2_subdev_call(ceudev->sd->v4l2_sd, core, s_power, 1);
ceudev           1255 drivers/media/platform/renesas-ceu.c 	ceudev->sd_index = i;
ceudev           1262 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1264 drivers/media/platform/renesas-ceu.c 	return v4l2_g_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a);
ceudev           1269 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1271 drivers/media/platform/renesas-ceu.c 	return v4l2_s_parm_cap(video_devdata(file), ceudev->sd->v4l2_sd, a);
ceudev           1277 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1278 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev           1309 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_drvdata(file);
ceudev           1310 drivers/media/platform/renesas-ceu.c 	struct ceu_subdev *ceu_sd = ceudev->sd;
ceudev           1377 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = video_get_drvdata(vdev);
ceudev           1379 drivers/media/platform/renesas-ceu.c 	kfree(ceudev);
ceudev           1387 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = v4l2_to_ceu(v4l2_dev);
ceudev           1391 drivers/media/platform/renesas-ceu.c 	ceudev->num_sd++;
ceudev           1399 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = v4l2_to_ceu(v4l2_dev);
ceudev           1400 drivers/media/platform/renesas-ceu.c 	struct video_device *vdev = &ceudev->vdev;
ceudev           1401 drivers/media/platform/renesas-ceu.c 	struct vb2_queue *q = &ceudev->vb2_vq;
ceudev           1408 drivers/media/platform/renesas-ceu.c 	q->drv_priv		= ceudev;
ceudev           1414 drivers/media/platform/renesas-ceu.c 	q->lock			= &ceudev->mlock;
ceudev           1415 drivers/media/platform/renesas-ceu.c 	q->dev			= ceudev->v4l2_dev.dev;
ceudev           1425 drivers/media/platform/renesas-ceu.c 	if (!ceudev->sd) {
ceudev           1426 drivers/media/platform/renesas-ceu.c 		ceudev->sd = &ceudev->subdevs[0];
ceudev           1427 drivers/media/platform/renesas-ceu.c 		ceudev->sd_index = 0;
ceudev           1430 drivers/media/platform/renesas-ceu.c 	v4l2_sd = ceudev->sd->v4l2_sd;
ceudev           1432 drivers/media/platform/renesas-ceu.c 	ret = ceu_init_mbus_fmt(ceudev);
ceudev           1436 drivers/media/platform/renesas-ceu.c 	ret = ceu_set_default_fmt(ceudev);
ceudev           1443 drivers/media/platform/renesas-ceu.c 	vdev->lock		= &ceudev->mlock;
ceudev           1444 drivers/media/platform/renesas-ceu.c 	vdev->queue		= &ceudev->vb2_vq;
ceudev           1451 drivers/media/platform/renesas-ceu.c 	video_set_drvdata(vdev, ceudev);
ceudev           1475 drivers/media/platform/renesas-ceu.c static int ceu_init_async_subdevs(struct ceu_device *ceudev, unsigned int n_sd)
ceudev           1478 drivers/media/platform/renesas-ceu.c 	ceudev->subdevs = devm_kcalloc(ceudev->dev, n_sd,
ceudev           1479 drivers/media/platform/renesas-ceu.c 				       sizeof(*ceudev->subdevs), GFP_KERNEL);
ceudev           1480 drivers/media/platform/renesas-ceu.c 	if (!ceudev->subdevs)
ceudev           1483 drivers/media/platform/renesas-ceu.c 	ceudev->sd = NULL;
ceudev           1484 drivers/media/platform/renesas-ceu.c 	ceudev->sd_index = 0;
ceudev           1485 drivers/media/platform/renesas-ceu.c 	ceudev->num_sd = 0;
ceudev           1494 drivers/media/platform/renesas-ceu.c static int ceu_parse_platform_data(struct ceu_device *ceudev,
ceudev           1505 drivers/media/platform/renesas-ceu.c 	ret = ceu_init_async_subdevs(ceudev, pdata->num_subdevs);
ceudev           1513 drivers/media/platform/renesas-ceu.c 		ceu_sd = &ceudev->subdevs[i];
ceudev           1522 drivers/media/platform/renesas-ceu.c 		ret = v4l2_async_notifier_add_subdev(&ceudev->notifier,
ceudev           1525 drivers/media/platform/renesas-ceu.c 			v4l2_async_notifier_cleanup(&ceudev->notifier);
ceudev           1536 drivers/media/platform/renesas-ceu.c static int ceu_parse_dt(struct ceu_device *ceudev)
ceudev           1538 drivers/media/platform/renesas-ceu.c 	struct device_node *of = ceudev->dev->of_node;
ceudev           1549 drivers/media/platform/renesas-ceu.c 	ret = ceu_init_async_subdevs(ceudev, num_ep);
ceudev           1567 drivers/media/platform/renesas-ceu.c 			dev_err(ceudev->dev,
ceudev           1575 drivers/media/platform/renesas-ceu.c 			dev_err(ceudev->dev,
ceudev           1581 drivers/media/platform/renesas-ceu.c 		ceu_sd = &ceudev->subdevs[i];
ceudev           1589 drivers/media/platform/renesas-ceu.c 		ret = v4l2_async_notifier_add_subdev(&ceudev->notifier,
ceudev           1602 drivers/media/platform/renesas-ceu.c 	v4l2_async_notifier_cleanup(&ceudev->notifier);
ceudev           1637 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev;
ceudev           1643 drivers/media/platform/renesas-ceu.c 	ceudev = kzalloc(sizeof(*ceudev), GFP_KERNEL);
ceudev           1644 drivers/media/platform/renesas-ceu.c 	if (!ceudev)
ceudev           1647 drivers/media/platform/renesas-ceu.c 	platform_set_drvdata(pdev, ceudev);
ceudev           1648 drivers/media/platform/renesas-ceu.c 	ceudev->dev = dev;
ceudev           1650 drivers/media/platform/renesas-ceu.c 	INIT_LIST_HEAD(&ceudev->capture);
ceudev           1651 drivers/media/platform/renesas-ceu.c 	spin_lock_init(&ceudev->lock);
ceudev           1652 drivers/media/platform/renesas-ceu.c 	mutex_init(&ceudev->mlock);
ceudev           1655 drivers/media/platform/renesas-ceu.c 	ceudev->base = devm_ioremap_resource(dev, res);
ceudev           1656 drivers/media/platform/renesas-ceu.c 	if (IS_ERR(ceudev->base)) {
ceudev           1657 drivers/media/platform/renesas-ceu.c 		ret = PTR_ERR(ceudev->base);
ceudev           1667 drivers/media/platform/renesas-ceu.c 			       0, dev_name(dev), ceudev);
ceudev           1675 drivers/media/platform/renesas-ceu.c 	ret = v4l2_device_register(dev, &ceudev->v4l2_dev);
ceudev           1679 drivers/media/platform/renesas-ceu.c 	v4l2_async_notifier_init(&ceudev->notifier);
ceudev           1683 drivers/media/platform/renesas-ceu.c 		num_subdevs = ceu_parse_dt(ceudev);
ceudev           1687 drivers/media/platform/renesas-ceu.c 		num_subdevs = ceu_parse_platform_data(ceudev,
ceudev           1697 drivers/media/platform/renesas-ceu.c 	ceudev->irq_mask = ceu_data->irq_mask;
ceudev           1699 drivers/media/platform/renesas-ceu.c 	ceudev->notifier.v4l2_dev	= &ceudev->v4l2_dev;
ceudev           1700 drivers/media/platform/renesas-ceu.c 	ceudev->notifier.ops		= &ceu_notify_ops;
ceudev           1701 drivers/media/platform/renesas-ceu.c 	ret = v4l2_async_notifier_register(&ceudev->v4l2_dev,
ceudev           1702 drivers/media/platform/renesas-ceu.c 					   &ceudev->notifier);
ceudev           1711 drivers/media/platform/renesas-ceu.c 	v4l2_async_notifier_cleanup(&ceudev->notifier);
ceudev           1713 drivers/media/platform/renesas-ceu.c 	v4l2_device_unregister(&ceudev->v4l2_dev);
ceudev           1717 drivers/media/platform/renesas-ceu.c 	kfree(ceudev);
ceudev           1724 drivers/media/platform/renesas-ceu.c 	struct ceu_device *ceudev = platform_get_drvdata(pdev);
ceudev           1726 drivers/media/platform/renesas-ceu.c 	pm_runtime_disable(ceudev->dev);
ceudev           1728 drivers/media/platform/renesas-ceu.c 	v4l2_async_notifier_unregister(&ceudev->notifier);
ceudev           1730 drivers/media/platform/renesas-ceu.c 	v4l2_async_notifier_cleanup(&ceudev->notifier);
ceudev           1732 drivers/media/platform/renesas-ceu.c 	v4l2_device_unregister(&ceudev->v4l2_dev);
ceudev           1734 drivers/media/platform/renesas-ceu.c 	video_unregister_device(&ceudev->vdev);