Home
last modified time | relevance | path

Searched refs:pv4l2_streamparm (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/staging/media/easycap/
Deasycap_ioctl.c2341 struct v4l2_streamparm *pv4l2_streamparm; in easycap_unlocked_ioctl() local
2344 pv4l2_streamparm = memdup_user((void __user *)arg, in easycap_unlocked_ioctl()
2346 if (IS_ERR(pv4l2_streamparm)) { in easycap_unlocked_ioctl()
2349 return PTR_ERR(pv4l2_streamparm); in easycap_unlocked_ioctl()
2352 if (pv4l2_streamparm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) { in easycap_unlocked_ioctl()
2353 kfree(pv4l2_streamparm); in easycap_unlocked_ioctl()
2357 pv4l2_streamparm->parm.capture.capability = 0; in easycap_unlocked_ioctl()
2358 pv4l2_streamparm->parm.capture.capturemode = 0; in easycap_unlocked_ioctl()
2359 pv4l2_streamparm->parm.capture.timeperframe.numerator = 1; in easycap_unlocked_ioctl()
2362 pv4l2_streamparm->parm.capture.timeperframe. in easycap_unlocked_ioctl()
[all …]