Lines Matching defs:vm
4110 struct video_mbuf *vm = arg;
4115 memset(vm, 0, sizeof(struct video_mbuf));
4116 vm->size = OV511_NUMFRAMES
4118 vm->frames = OV511_NUMFRAMES;
4120 vm->offsets[0] = 0;
4122 vm->offsets[i] = vm->offsets[i-1]
4130 struct video_mmap *vm = arg;
4132 unsigned int f = vm->frame;
4134 PDEBUG(4, "VIDIOCMCAPTURE: frame: %d, %dx%d, %s", f, vm->width,
4135 vm->height, symbolic(v4l1_plist, vm->format));
4137 depth = get_depth(vm->format);
4140 symbolic(v4l1_plist, vm->format));
4149 if (vm->width > ov->maxwidth
4150 || vm->height > ov->maxheight) {
4160 if (force_palette && (vm->format != force_palette)) {
4162 symbolic(v4l1_plist, vm->format));
4166 if ((ov->frame[f].width != vm->width) ||
4167 (ov->frame[f].height != vm->height) ||
4168 (ov->frame[f].format != vm->format) ||
4177 rc = mode_init_regs(ov, vm->width, vm->height,
4178 vm->format, ov->sub_flag);
4179 ov->frame[f].width = vm->width;
4180 ov->frame[f].height = vm->height;
4181 ov->frame[f].format = vm->format;