Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/uvc/
Duvc_ctrl.c1088 struct v4l2_ext_control *xctrl) in uvc_ctrl_get() argument
1096 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_get()
1111 xctrl->value = mapping->get(mapping, UVC_GET_CUR, in uvc_ctrl_get()
1117 if (menu->value == xctrl->value) { in uvc_ctrl_get()
1118 xctrl->value = i; in uvc_ctrl_get()
1128 struct v4l2_ext_control *xctrl) in uvc_ctrl_set() argument
1138 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_set()
1160 xctrl->value = min + (xctrl->value - min + step/2) / step * step; in uvc_ctrl_set()
1161 xctrl->value = clamp(xctrl->value, min, max); in uvc_ctrl_set()
1162 value = xctrl->value; in uvc_ctrl_set()
[all …]
Duvc_v4l2.c577 struct v4l2_ext_control xctrl; in uvc_v4l2_do_ioctl() local
579 memset(&xctrl, 0, sizeof xctrl); in uvc_v4l2_do_ioctl()
580 xctrl.id = ctrl->id; in uvc_v4l2_do_ioctl()
586 ret = uvc_ctrl_get(chain, &xctrl); in uvc_v4l2_do_ioctl()
589 ctrl->value = xctrl.value; in uvc_v4l2_do_ioctl()
596 struct v4l2_ext_control xctrl; in uvc_v4l2_do_ioctl() local
598 memset(&xctrl, 0, sizeof xctrl); in uvc_v4l2_do_ioctl()
599 xctrl.id = ctrl->id; in uvc_v4l2_do_ioctl()
600 xctrl.value = ctrl->value; in uvc_v4l2_do_ioctl()
606 ret = uvc_ctrl_set(chain, &xctrl); in uvc_v4l2_do_ioctl()
[all …]
Duvcvideo.h636 struct v4l2_ext_control *xctrl);
638 struct v4l2_ext_control *xctrl);
/linux-2.6.39/drivers/tty/
Dsynclink_gt.c305 unsigned int xctrl; member
2938 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument
2940 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl()
2941 if (put_user(info->xctrl, xctrl)) in get_xctrl()
2963 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument
2967 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl()
2969 info->xctrl = xctrl; in set_xctrl()
2970 wr_reg32(info, XCR, xctrl); in set_xctrl()