Lines Matching refs:def_num
1263 __u32 def_num, def_dem; in vidioc_g_parm() local
1271 def_num = (vc->mode.format == FORMAT_NTSC) ? 1001 : 1000; in vidioc_g_parm()
1277 sp->parm.capture.timeperframe.numerator = def_num; in vidioc_g_parm()
1280 sp->parm.capture.timeperframe.numerator = def_num * 2; in vidioc_g_parm()
1283 sp->parm.capture.timeperframe.numerator = def_num * 3; in vidioc_g_parm()
1286 sp->parm.capture.timeperframe.numerator = def_num * 5; in vidioc_g_parm()
1303 __u32 def_num, def_dem; in vidioc_s_parm() local
1311 def_num = (mode.format == FORMAT_NTSC) ? 1001 : 1000; in vidioc_s_parm()
1314 sp->parm.capture.timeperframe.numerator = def_num; in vidioc_s_parm()
1315 else if (sp->parm.capture.timeperframe.numerator <= def_num) in vidioc_s_parm()
1316 sp->parm.capture.timeperframe.numerator = def_num; in vidioc_s_parm()
1317 else if (sp->parm.capture.timeperframe.numerator <= (def_num * 2)) { in vidioc_s_parm()
1318 sp->parm.capture.timeperframe.numerator = def_num * 2; in vidioc_s_parm()
1320 } else if (sp->parm.capture.timeperframe.numerator <= (def_num * 3)) { in vidioc_s_parm()
1321 sp->parm.capture.timeperframe.numerator = def_num * 3; in vidioc_s_parm()
1324 sp->parm.capture.timeperframe.numerator = def_num * 5; in vidioc_s_parm()