Home
last modified time | relevance | path

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

/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c2361 struct v4l2_ext_control *xctrl) in uvc_mapping_get_xctrl_compound() argument
2391 if (xctrl->size < size) { in uvc_mapping_get_xctrl_compound()
2392 xctrl->size = size; in uvc_mapping_get_xctrl_compound()
2417 return copy_to_user(xctrl->ptr, data, size) ? -EFAULT : 0; in uvc_mapping_get_xctrl_compound()
2423 u32 which, struct v4l2_ext_control *xctrl) in uvc_mapping_get_xctrl_std() argument
2430 return __uvc_ctrl_get(chain, ctrl, mapping, &xctrl->value); in uvc_mapping_get_xctrl_std()
2445 xctrl->value = qec.default_value; in uvc_mapping_get_xctrl_std()
2448 xctrl->value = qec.minimum; in uvc_mapping_get_xctrl_std()
2451 xctrl->value = qec.maximum; in uvc_mapping_get_xctrl_std()
2461 u32 which, struct v4l2_ext_control *xctrl) in uvc_mapping_get_xctrl() argument
[all …]
/linux/drivers/tty/
H A Dsynclink_gt.c274 unsigned int xctrl; member
2818 static int get_xctrl(struct slgt_info *info, int __user *xctrl) in get_xctrl() argument
2820 DBGINFO(("%s get_xctrl=%x\n", info->device_name, info->xctrl)); in get_xctrl()
2821 if (put_user(info->xctrl, xctrl)) in get_xctrl()
2843 static int set_xctrl(struct slgt_info *info, int xctrl) in set_xctrl() argument
2847 DBGINFO(("%s set_xctrl=%x)\n", info->device_name, xctrl)); in set_xctrl()
2849 info->xctrl = xctrl; in set_xctrl()
2850 wr_reg32(info, XCR, xctrl); in set_xctrl()