Lines Matching refs:ctl
372 struct v4l2_control *ctl) in vidioc_g_ctrl() argument
379 ctl->id, ctl->value); in vidioc_g_ctrl()
381 switch (ctl->id) { in vidioc_g_ctrl()
383 ctl->value = port->ctl_brightness; in vidioc_g_ctrl()
386 ctl->value = port->ctl_contrast; in vidioc_g_ctrl()
389 ctl->value = port->ctl_saturation; in vidioc_g_ctrl()
392 ctl->value = port->ctl_hue; in vidioc_g_ctrl()
395 ctl->value = port->ctl_sharpness; in vidioc_g_ctrl()
398 ctl->value = port->ctl_volume; in vidioc_g_ctrl()
408 struct v4l2_control *ctl) in vidioc_s_ctrl() argument
416 ctl->id, ctl->value); in vidioc_s_ctrl()
418 switch (ctl->id) { in vidioc_s_ctrl()
420 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
421 port->ctl_brightness = ctl->value; in vidioc_s_ctrl()
428 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
429 port->ctl_contrast = ctl->value; in vidioc_s_ctrl()
435 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
436 port->ctl_saturation = ctl->value; in vidioc_s_ctrl()
443 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
444 port->ctl_hue = ctl->value; in vidioc_s_ctrl()
450 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
451 port->ctl_sharpness = ctl->value; in vidioc_s_ctrl()
457 if ((ctl->value >= -83) && (ctl->value <= 24)) { in vidioc_s_ctrl()
458 port->ctl_volume = ctl->value; in vidioc_s_ctrl()