Lines Matching refs:ctl
400 struct v4l2_control *ctl) in vidioc_g_ctrl() argument
407 ctl->id, ctl->value); in vidioc_g_ctrl()
409 switch (ctl->id) { in vidioc_g_ctrl()
411 ctl->value = port->ctl_brightness; in vidioc_g_ctrl()
414 ctl->value = port->ctl_contrast; in vidioc_g_ctrl()
417 ctl->value = port->ctl_saturation; in vidioc_g_ctrl()
420 ctl->value = port->ctl_hue; in vidioc_g_ctrl()
423 ctl->value = port->ctl_sharpness; in vidioc_g_ctrl()
426 ctl->value = port->ctl_volume; in vidioc_g_ctrl()
436 struct v4l2_control *ctl) in vidioc_s_ctrl() argument
444 ctl->id, ctl->value); in vidioc_s_ctrl()
446 switch (ctl->id) { in vidioc_s_ctrl()
448 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
449 port->ctl_brightness = ctl->value; in vidioc_s_ctrl()
456 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
457 port->ctl_contrast = ctl->value; in vidioc_s_ctrl()
463 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
464 port->ctl_saturation = ctl->value; in vidioc_s_ctrl()
471 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
472 port->ctl_hue = ctl->value; in vidioc_s_ctrl()
478 if ((ctl->value >= 0) && (ctl->value <= 255)) { in vidioc_s_ctrl()
479 port->ctl_sharpness = ctl->value; in vidioc_s_ctrl()
485 if ((ctl->value >= -83) && (ctl->value <= 24)) { in vidioc_s_ctrl()
486 port->ctl_volume = ctl->value; in vidioc_s_ctrl()