Lines Matching refs:clips
649 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips,
659 col[cols].position = clip_range(clips[i].c.left);
662 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width);
665 row[rows].position = clip_range(clips[i].c.top / div);
668 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height)
741 setup_clipping(dev, dev->clips, dev->nclips,
1245 struct v4l2_clip __user *clips = f->fmt.win.clips;
1255 f->fmt.win.clips = clips;
1256 if (clips == NULL)
1263 if (copy_to_user(&f->fmt.win.clips[i].c, &dev->clips[i].c,
1331 if (f->fmt.win.clips == NULL)
1364 if (f->fmt.win.clips == NULL)
1373 if (copy_from_user(dev->clips, f->fmt.win.clips,