Lines Matching refs:mmap

3428 		struct video_mmap mmap;  in w9968cf_v4l_ioctl()  local
3432 if (copy_from_user(&mmap, arg, sizeof(mmap))) in w9968cf_v4l_ioctl()
3436 mmap.frame, symbolic(v4l1_plist, mmap.format), in w9968cf_v4l_ioctl()
3437 mmap.width, mmap.height) in w9968cf_v4l_ioctl()
3439 if (mmap.frame >= cam->nbuffers) { in w9968cf_v4l_ioctl()
3441 "VIDIOCMCAPTURE failed.", mmap.frame) in w9968cf_v4l_ioctl()
3445 if (mmap.format!=cam->picture.palette && in w9968cf_v4l_ioctl()
3448 symbolic(v4l1_plist, mmap.format), in w9968cf_v4l_ioctl()
3453 if (!w9968cf_valid_palette(mmap.format)) { in w9968cf_v4l_ioctl()
3456 symbolic(v4l1_plist, mmap.format)) in w9968cf_v4l_ioctl()
3462 if (w9968cf_need_decompression(mmap.format)) { in w9968cf_v4l_ioctl()
3465 symbolic(v4l1_plist, mmap.format)) in w9968cf_v4l_ioctl()
3469 if (!w9968cf_need_decompression(mmap.format)) { in w9968cf_v4l_ioctl()
3472 symbolic(v4l1_plist, mmap.format)) in w9968cf_v4l_ioctl()
3478 if ((err = w9968cf_adjust_window_size(cam, (u16*)&mmap.width, in w9968cf_v4l_ioctl()
3479 (u16*)&mmap.height))) { in w9968cf_v4l_ioctl()
3482 mmap.width, mmap.height) in w9968cf_v4l_ioctl()
3486 fr = &cam->frame[mmap.frame]; in w9968cf_v4l_ioctl()
3488 if (mmap.width != cam->window.width || in w9968cf_v4l_ioctl()
3489 mmap.height != cam->window.height || in w9968cf_v4l_ioctl()
3490 mmap.format != cam->picture.palette) { in w9968cf_v4l_ioctl()
3499 mmap.frame, mmap.width, mmap.height, in w9968cf_v4l_ioctl()
3500 symbolic(v4l1_plist, mmap.format)) in w9968cf_v4l_ioctl()
3514 win.width = mmap.width; in w9968cf_v4l_ioctl()
3515 win.height = mmap.height; in w9968cf_v4l_ioctl()
3516 pict.palette = mmap.format; in w9968cf_v4l_ioctl()
3533 DBG(6, "Wait until frame #%d is free.", mmap.frame) in w9968cf_v4l_ioctl()
3544 w9968cf_push_frame(cam, mmap.frame); in w9968cf_v4l_ioctl()
3545 DBG(5, "VIDIOCMCAPTURE(%d): successfully called.", mmap.frame) in w9968cf_v4l_ioctl()
3717 .mmap = w9968cf_mmap,