Searched refs:xctrl (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 1462 struct v4l2_ext_control *xctrl) in uvc_ctrl_get() argument 1467 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_get() 1471 return __uvc_ctrl_get(chain, ctrl, mapping, &xctrl->value); in uvc_ctrl_get() 1475 struct v4l2_ext_control *xctrl) in uvc_ctrl_set() argument 1485 ctrl = uvc_find_control(chain, xctrl->id, &mapping); in uvc_ctrl_set() 1509 xctrl->value = min + ((u32)(xctrl->value - min) + step / 2) in uvc_ctrl_set() 1512 xctrl->value = clamp(xctrl->value, min, max); in uvc_ctrl_set() 1514 xctrl->value = clamp_t(u32, xctrl->value, min, max); in uvc_ctrl_set() 1515 value = xctrl->value; in uvc_ctrl_set() 1519 xctrl->value = clamp(xctrl->value, 0, 1); in uvc_ctrl_set() [all …]
|
D | uvc_v4l2.c | 928 struct v4l2_ext_control xctrl; in uvc_ioctl_g_ctrl() local 931 memset(&xctrl, 0, sizeof(xctrl)); in uvc_ioctl_g_ctrl() 932 xctrl.id = ctrl->id; in uvc_ioctl_g_ctrl() 938 ret = uvc_ctrl_get(chain, &xctrl); in uvc_ioctl_g_ctrl() 943 ctrl->value = xctrl.value; in uvc_ioctl_g_ctrl() 952 struct v4l2_ext_control xctrl; in uvc_ioctl_s_ctrl() local 955 memset(&xctrl, 0, sizeof(xctrl)); in uvc_ioctl_s_ctrl() 956 xctrl.id = ctrl->id; in uvc_ioctl_s_ctrl() 957 xctrl.value = ctrl->value; in uvc_ioctl_s_ctrl() 963 ret = uvc_ctrl_set(chain, &xctrl); in uvc_ioctl_s_ctrl() [all …]
|
D | uvcvideo.h | 716 struct v4l2_ext_control *xctrl); 718 struct v4l2_ext_control *xctrl);
|
/linux-4.4.14/drivers/tty/ |
D | synclink_gt.c | 304 unsigned int xctrl; member 2926 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument 2928 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl() 2929 if (put_user(info->xctrl, xctrl)) in get_xctrl() 2951 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument 2955 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl() 2957 info->xctrl = xctrl; in set_xctrl() 2958 wr_reg32(info, XCR, xctrl); in set_xctrl()
|