veu_file          287 drivers/media/platform/sh_veu.c static bool sh_veu_is_streamer(struct sh_veu_dev *veu, struct sh_veu_file *veu_file,
veu_file          291 drivers/media/platform/sh_veu.c 		veu_file == veu->capture) ||
veu_file          293 drivers/media/platform/sh_veu.c 		 veu_file == veu->output);
veu_file          307 drivers/media/platform/sh_veu.c static int sh_veu_stream_init(struct sh_veu_dev *veu, struct sh_veu_file *veu_file,
veu_file          323 drivers/media/platform/sh_veu.c 	if (*stream == veu_file)
veu_file          329 drivers/media/platform/sh_veu.c 	*stream = veu_file;
veu_file          388 drivers/media/platform/sh_veu.c static int sh_veu_g_fmt(struct sh_veu_file *veu_file, struct v4l2_format *f)
veu_file          391 drivers/media/platform/sh_veu.c 	struct sh_veu_dev *veu = veu_file->veu_dev;
veu_file          535 drivers/media/platform/sh_veu.c static int sh_veu_s_fmt(struct sh_veu_file *veu_file, struct v4l2_format *f)
veu_file          538 drivers/media/platform/sh_veu.c 	struct sh_veu_dev *veu = veu_file->veu_dev;
veu_file          550 drivers/media/platform/sh_veu.c 		v4l2_err(&veu_file->veu_dev->v4l2_dev, "%s queue busy\n", __func__);
veu_file          570 drivers/media/platform/sh_veu.c 	veu_file->cfg_needed = true;
veu_file          602 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          603 drivers/media/platform/sh_veu.c 	struct sh_veu_dev *veu = veu_file->veu_dev;
veu_file          608 drivers/media/platform/sh_veu.c 	ret = sh_veu_stream_init(veu, veu_file, reqbufs->type);
veu_file          618 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          620 drivers/media/platform/sh_veu.c 	if (!sh_veu_is_streamer(veu_file->veu_dev, veu_file, buf->type))
veu_file          623 drivers/media/platform/sh_veu.c 	return v4l2_m2m_querybuf(file, veu_file->veu_dev->m2m_ctx, buf);
veu_file          628 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          630 drivers/media/platform/sh_veu.c 	dev_dbg(veu_file->veu_dev->dev, "%s(%d)\n", __func__, buf->type);
veu_file          631 drivers/media/platform/sh_veu.c 	if (!sh_veu_is_streamer(veu_file->veu_dev, veu_file, buf->type))
veu_file          634 drivers/media/platform/sh_veu.c 	return v4l2_m2m_qbuf(file, veu_file->veu_dev->m2m_ctx, buf);
veu_file          639 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          641 drivers/media/platform/sh_veu.c 	dev_dbg(veu_file->veu_dev->dev, "%s(%d)\n", __func__, buf->type);
veu_file          642 drivers/media/platform/sh_veu.c 	if (!sh_veu_is_streamer(veu_file->veu_dev, veu_file, buf->type))
veu_file          645 drivers/media/platform/sh_veu.c 	return v4l2_m2m_dqbuf(file, veu_file->veu_dev->m2m_ctx, buf);
veu_file          801 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          803 drivers/media/platform/sh_veu.c 	if (!sh_veu_is_streamer(veu_file->veu_dev, veu_file, type))
veu_file          806 drivers/media/platform/sh_veu.c 	if (veu_file->cfg_needed) {
veu_file          807 drivers/media/platform/sh_veu.c 		struct sh_veu_dev *veu = veu_file->veu_dev;
veu_file          808 drivers/media/platform/sh_veu.c 		veu_file->cfg_needed = false;
veu_file          809 drivers/media/platform/sh_veu.c 		sh_veu_configure(veu_file->veu_dev);
veu_file          814 drivers/media/platform/sh_veu.c 	return v4l2_m2m_streamon(file, veu_file->veu_dev->m2m_ctx, type);
veu_file          820 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = priv;
veu_file          822 drivers/media/platform/sh_veu.c 	if (!sh_veu_is_streamer(veu_file->veu_dev, veu_file, type))
veu_file          825 drivers/media/platform/sh_veu.c 	return v4l2_m2m_streamoff(file, veu_file->veu_dev->m2m_ctx, type);
veu_file          959 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file;
veu_file          961 drivers/media/platform/sh_veu.c 	veu_file = kzalloc(sizeof(*veu_file), GFP_KERNEL);
veu_file          962 drivers/media/platform/sh_veu.c 	if (!veu_file)
veu_file          965 drivers/media/platform/sh_veu.c 	v4l2_fh_init(&veu_file->fh, video_devdata(file));
veu_file          966 drivers/media/platform/sh_veu.c 	veu_file->veu_dev = veu;
veu_file          967 drivers/media/platform/sh_veu.c 	veu_file->cfg_needed = true;
veu_file          969 drivers/media/platform/sh_veu.c 	file->private_data = veu_file;
veu_file          972 drivers/media/platform/sh_veu.c 	v4l2_fh_add(&veu_file->fh);
veu_file          974 drivers/media/platform/sh_veu.c 	dev_dbg(veu->dev, "Created instance %p\n", veu_file);
veu_file          982 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
veu_file          984 drivers/media/platform/sh_veu.c 	dev_dbg(veu->dev, "Releasing instance %p\n", veu_file);
veu_file          986 drivers/media/platform/sh_veu.c 	if (veu_file == veu->capture) {
veu_file          991 drivers/media/platform/sh_veu.c 	if (veu_file == veu->output) {
veu_file         1002 drivers/media/platform/sh_veu.c 	v4l2_fh_del(&veu_file->fh);
veu_file         1003 drivers/media/platform/sh_veu.c 	v4l2_fh_exit(&veu_file->fh);
veu_file         1005 drivers/media/platform/sh_veu.c 	kfree(veu_file);
veu_file         1013 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
veu_file         1015 drivers/media/platform/sh_veu.c 	return v4l2_m2m_poll(file, veu_file->veu_dev->m2m_ctx, wait);
veu_file         1020 drivers/media/platform/sh_veu.c 	struct sh_veu_file *veu_file = file->private_data;
veu_file         1022 drivers/media/platform/sh_veu.c 	return v4l2_m2m_mmap(file, veu_file->veu_dev->m2m_ctx, vma);