Searched refs:xctrl (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/media/video/uvc/ |
D | uvc_ctrl.c | 1088 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 …]
|
D | uvc_v4l2.c | 577 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 …]
|
D | uvcvideo.h | 636 struct v4l2_ext_control *xctrl); 638 struct v4l2_ext_control *xctrl);
|
/linux-2.6.39/drivers/tty/ |
D | synclink_gt.c | 305 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()
|